1 |
commit: 97e3267240185760244506ad14b13d6f9e3ccc2f |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 3 12:26:11 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 3 13:11:05 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97e32672 |
7 |
|
8 |
net-ftp/lftp: EAPI bump |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
.../{lftp-9999.ebuild => lftp-4.8.4-r1.ebuild} | 36 ++++++++++++++-------- |
14 |
net-ftp/lftp/lftp-9999.ebuild | 12 ++++++-- |
15 |
2 files changed, 33 insertions(+), 15 deletions(-) |
16 |
|
17 |
diff --git a/net-ftp/lftp/lftp-9999.ebuild b/net-ftp/lftp/lftp-4.8.4-r1.ebuild |
18 |
similarity index 77% |
19 |
copy from net-ftp/lftp/lftp-9999.ebuild |
20 |
copy to net-ftp/lftp/lftp-4.8.4-r1.ebuild |
21 |
index 4f73a82a139..5faea52009e 100644 |
22 |
--- a/net-ftp/lftp/lftp-9999.ebuild |
23 |
+++ b/net-ftp/lftp/lftp-4.8.4-r1.ebuild |
24 |
@@ -1,17 +1,20 @@ |
25 |
# Copyright 1999-2019 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
-EAPI=6 |
29 |
-inherit autotools eutils git-r3 libtool |
30 |
+EAPI=7 |
31 |
+inherit autotools libtool xdg-utils |
32 |
|
33 |
DESCRIPTION="A sophisticated ftp/sftp/http/https/torrent client and file transfer program" |
34 |
HOMEPAGE="https://lftp.tech/" |
35 |
-EGIT_REPO_URI="https://github.com/lavv17/lftp" |
36 |
+SRC_URI=" |
37 |
+ ${HOMEPAGE}ftp/${P}.tar.xz |
38 |
+" |
39 |
|
40 |
LICENSE="GPL-3" |
41 |
SLOT="0" |
42 |
-KEYWORDS="" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
44 |
IUSE="convert-mozilla-cookies +gnutls idn ipv6 libressl nls socks5 +ssl verify-file" |
45 |
+RESTRICT="test" |
46 |
|
47 |
RDEPEND=" |
48 |
>=sys-libs/ncurses-5.1:= |
49 |
@@ -36,22 +39,22 @@ RDEPEND=" |
50 |
virtual/perl-Digest-MD5 |
51 |
) |
52 |
" |
53 |
- |
54 |
DEPEND=" |
55 |
${RDEPEND} |
56 |
- dev-libs/gnulib |
57 |
=sys-devel/libtool-2* |
58 |
app-arch/xz-utils |
59 |
nls? ( >=sys-devel/gettext-0.19 ) |
60 |
virtual/pkgconfig |
61 |
" |
62 |
- |
63 |
DOCS=( |
64 |
BUGS ChangeLog FAQ FEATURES MIRRORS NEWS README README.debug-levels |
65 |
README.dnssec README.modules THANKS TODO |
66 |
) |
67 |
PATCHES=( |
68 |
+ "${FILESDIR}"/${PN}-4.0.2.91-lafile.patch |
69 |
"${FILESDIR}"/${PN}-4.5.5-am_config_header.patch |
70 |
+ "${FILESDIR}"/${PN}-4.7.0-gettext.patch |
71 |
+ "${FILESDIR}"/${PN}-4.7.5-libdir-additional.patch |
72 |
"${FILESDIR}"/${PN}-4.7.5-libdir-expat.patch |
73 |
"${FILESDIR}"/${PN}-4.7.5-libdir-readline.patch |
74 |
"${FILESDIR}"/${PN}-4.8.2-libdir-configure.patch |
75 |
@@ -63,12 +66,12 @@ PATCHES=( |
76 |
src_prepare() { |
77 |
default |
78 |
|
79 |
- gnulib-tool --update || die |
80 |
- |
81 |
- chmod +x build-aux/git-version-gen || die |
82 |
- |
83 |
eautoreconf |
84 |
+ |
85 |
elibtoolize # for Darwin bundles |
86 |
+ |
87 |
+ # bug #536036 |
88 |
+ printf 'set fish:auto-confirm no\nset sftp:auto-confirm no\n' >> ${PN}.conf || die |
89 |
} |
90 |
|
91 |
src_configure() { |
92 |
@@ -87,11 +90,18 @@ src_configure() { |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
- # FIXME: MKDIR_P is not getting picked up in po/Makefile |
97 |
- emake DESTDIR="${D}" mkdir_p="mkdir -p" install |
98 |
+ default |
99 |
|
100 |
local script |
101 |
for script in {convert-mozilla-cookies,verify-file}; do |
102 |
use ${script} || { rm "${ED}"/usr/share/${PN}/${script} || die ;} |
103 |
done |
104 |
} |
105 |
+ |
106 |
+pkg_postinst() { |
107 |
+ xdg_icon_cache_update |
108 |
+} |
109 |
+ |
110 |
+pkg_postrm() { |
111 |
+ xdg_icon_cache_update |
112 |
+} |
113 |
|
114 |
diff --git a/net-ftp/lftp/lftp-9999.ebuild b/net-ftp/lftp/lftp-9999.ebuild |
115 |
index 4f73a82a139..ae490e6c7f3 100644 |
116 |
--- a/net-ftp/lftp/lftp-9999.ebuild |
117 |
+++ b/net-ftp/lftp/lftp-9999.ebuild |
118 |
@@ -1,8 +1,8 @@ |
119 |
# Copyright 1999-2019 Gentoo Authors |
120 |
# Distributed under the terms of the GNU General Public License v2 |
121 |
|
122 |
-EAPI=6 |
123 |
-inherit autotools eutils git-r3 libtool |
124 |
+EAPI=7 |
125 |
+inherit autotools git-r3 libtool xdg-utils |
126 |
|
127 |
DESCRIPTION="A sophisticated ftp/sftp/http/https/torrent client and file transfer program" |
128 |
HOMEPAGE="https://lftp.tech/" |
129 |
@@ -95,3 +95,11 @@ src_install() { |
130 |
use ${script} || { rm "${ED}"/usr/share/${PN}/${script} || die ;} |
131 |
done |
132 |
} |
133 |
+ |
134 |
+pkg_postinst() { |
135 |
+ xdg_icon_cache_update |
136 |
+} |
137 |
+ |
138 |
+pkg_postrm() { |
139 |
+ xdg_icon_cache_update |
140 |
+} |