Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-ftp/lftp/
Date: Mon, 17 Jul 2017 20:48:34
Message-Id: 1500324503.10ca8a62a44c06555efe89e0e951ca14a7238054.jer@gentoo
1 commit: 10ca8a62a44c06555efe89e0e951ca14a7238054
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 17 20:46:25 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 17 20:48:23 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10ca8a62
7
8 net-ftp/lftp: Version bump.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 net-ftp/lftp/Manifest | 1 +
13 net-ftp/lftp/lftp-4.8.0.ebuild | 94 ++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 95 insertions(+)
15
16 diff --git a/net-ftp/lftp/Manifest b/net-ftp/lftp/Manifest
17 index 29be75bbabe..e372b56d929 100644
18 --- a/net-ftp/lftp/Manifest
19 +++ b/net-ftp/lftp/Manifest
20 @@ -1,3 +1,4 @@
21 DIST lftp-4.7.5.tar.xz 1567232 SHA256 53b5c5eba2e38b418bcf451776f2df596050dff4db90ab4ea73d872f8b1fd0d8 SHA512 e7d478367a3b79f61686a538827efe8afb807a587d2967189ae351927e3acb0d5b097d8707e0cb3997aa650f8f0787aa44038bb1d081e393bc7202b348249960 WHIRLPOOL 12d53a4c51ee52b67e57dc2e1c2c90443a65964073ee05ce123211096ea82813efbc51345ea488c24aa00600818ce6c0cd96beef27de619ff5d938bef3cabd06
22 DIST lftp-4.7.6.tar.xz 1571244 SHA256 6e26254fdc7e1b92ceb31116a2c7bdcd891a07c72a7823144aaaf147a1841b7b SHA512 3ba9c2448eff8a991e3b2bb4e3e9553b4a189a630addb1be00842b88db378dbddf865300ee43e149963d0044eacfa97c66a46528bbe6f6292cefd1370655978a WHIRLPOOL 67ff283dc7a1bdb42f88f31c3c26689e59d46e83d088aa08666b66c4dd1439a34076f9b9b5ded3ca3592b65d77473dd05fcf7faff17e69808fb6ed6a19c28521
23 DIST lftp-4.7.7.tar.xz 1572604 SHA256 4483df04502660dcc65a11cf09d530e31bea99483d69328c1c5cbaa41d6619b4 SHA512 25bcb5469a6202be500a350078f604a56e68958210fbed72c59b2c4847fb6b2680335bf668a512055d1e1db84069e13ba5c169a6ca2fefdf77ef6416df261ab7 WHIRLPOOL 3e27d60f0b92fc3fd055961f4377cf43e8607db442dbf4b54f2e9d0348488da98fff5b071a6f518a140e15349571d7c542062d172ca9e4439bde1118e5d3f5eb
24 +DIST lftp-4.8.0.tar.xz 1584196 SHA256 7a2880968088b4aeec43b6b6680fef0e065e1dddcce9b409390157e9766b690f SHA512 60b437cadbf15479ca1858f2f49d4414e4eb2a2db7af1bb26d82d6ce97652664be8e7c9683c34fb1168ef23950867aea379c3d7705f638bdced392184d890fd4 WHIRLPOOL ce5005182792cf0cba905b19681992196378403cdfdb7c18ea29df1b4c78ff5d41dca4cf49eb3036ffcfc23207e9d5894aed8d8d5f10af47b9746913efff94da
25
26 diff --git a/net-ftp/lftp/lftp-4.8.0.ebuild b/net-ftp/lftp/lftp-4.8.0.ebuild
27 new file mode 100644
28 index 00000000000..7858cf43d73
29 --- /dev/null
30 +++ b/net-ftp/lftp/lftp-4.8.0.ebuild
31 @@ -0,0 +1,94 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit autotools eutils libtool
37 +
38 +DESCRIPTION="A sophisticated ftp/sftp/http/https/torrent client and file transfer program"
39 +HOMEPAGE="http://lftp.tech/"
40 +SRC_URI="${HOMEPAGE}ftp/${P}.tar.xz"
41 +
42 +LICENSE="GPL-3"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
45 +
46 +IUSE="convert-mozilla-cookies +gnutls idn ipv6 libressl nls socks5 +ssl verify-file"
47 +LFTP_LINGUAS=( cs de es fr it ja ko pl pt_BR ru uk zh_CN zh_HK zh_TW )
48 +IUSE+=" ${LFTP_LINGUAS[@]/#/linguas_}"
49 +RESTRICT="test"
50 +
51 +RDEPEND="
52 + >=sys-libs/ncurses-5.1:=
53 + >=sys-libs/readline-5.1:=
54 + dev-libs/expat
55 + sys-libs/zlib
56 + convert-mozilla-cookies? ( dev-perl/DBI )
57 + idn? ( net-dns/libidn )
58 + socks5? (
59 + >=net-proxy/dante-1.1.12
60 + virtual/pam
61 + )
62 + ssl? (
63 + gnutls? ( >=net-libs/gnutls-1.2.3:0= )
64 + !gnutls? (
65 + !libressl? ( dev-libs/openssl:0= )
66 + libressl? ( dev-libs/libressl:0= )
67 + )
68 + )
69 + verify-file? (
70 + dev-perl/String-CRC32
71 + virtual/perl-Digest-MD5
72 + )
73 +"
74 +
75 +DEPEND="
76 + ${RDEPEND}
77 + =sys-devel/libtool-2*
78 + app-arch/xz-utils
79 + nls? ( >=sys-devel/gettext-0.19 )
80 + virtual/pkgconfig
81 +"
82 +
83 +DOCS=(
84 + BUGS ChangeLog FAQ FEATURES MIRRORS NEWS README README.debug-levels
85 + README.dnssec README.modules THANKS TODO
86 +)
87 +
88 +PATCHES=(
89 + "${FILESDIR}"/${PN}-4.0.2.91-lafile.patch \
90 + "${FILESDIR}"/${PN}-4.5.5-am_config_header.patch \
91 + "${FILESDIR}"/${PN}-4.7.0-gettext.patch
92 +)
93 +
94 +src_prepare() {
95 + default
96 +
97 + eautoreconf
98 + elibtoolize # for Darwin bundles
99 +
100 + # bug #536036
101 + printf 'set fish:auto-confirm no\nset sftp:auto-confirm no\n' >> ${PN}.conf || die
102 +}
103 +
104 +src_configure() {
105 + econf \
106 + $(use_enable ipv6) \
107 + $(use_enable nls) \
108 + $(use_with idn libidn) \
109 + $(use_with socks5 socksdante "${EPREFIX}"/usr) \
110 + $(usex ssl "$(use_with !gnutls openssl ${EPREFIX}/usr)" '--without-openssl') \
111 + $(usex ssl "$(use_with gnutls)" '--without-gnutls') \
112 + --enable-packager-mode \
113 + --sysconfdir="${EPREFIX}"/etc/${PN} \
114 + --with-modules \
115 + --with-readline="${EPREFIX}"/usr \
116 + --without-included-regex
117 +}
118 +
119 +src_install() {
120 + default
121 + local script
122 + for script in {convert-mozilla-cookies,verify-file}; do
123 + use ${script} || { rm "${ED}"/usr/share/${PN}/${script} || die ;}
124 + done
125 +}