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, 02 Jan 2017 10:59:37
Message-Id: 1483354772.c3d64fec27fd78e1973d22259dbb7028c92d37db.jer@gentoo
1 commit: c3d64fec27fd78e1973d22259dbb7028c92d37db
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 2 10:59:21 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 2 10:59:32 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d64fec
7
8 net-ftp/lftp: Version bump.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 net-ftp/lftp/Manifest | 1 +
13 net-ftp/lftp/lftp-4.7.5.ebuild | 94 ++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 95 insertions(+)
15
16 diff --git a/net-ftp/lftp/Manifest b/net-ftp/lftp/Manifest
17 index 020f2e4..82806d2 100644
18 --- a/net-ftp/lftp/Manifest
19 +++ b/net-ftp/lftp/Manifest
20 @@ -1,3 +1,4 @@
21 DIST lftp-4.6.5.tar.xz 1514644 SHA256 1fd0920a1791ce0e9e39ffce77ae6619e5dc665f16e9380bafbfc69411eeb71e SHA512 a22faa3a6901160460f1103c19c5276f603c154908ec2e34804a6eb48452b59ba495993e6824f57d114285ddc80a64dccd0069465cc0593f34f435ac181250c0 WHIRLPOOL 088598ed9395cd8f9ed79be26e0833593e733cf87bbd51e5d008ce4de2b9924e62add20789c098a866d82dc3f168a373c4874de264d669950524a9a255e1e028
22 DIST lftp-4.7.3.tar.xz 1545012 SHA256 3b22259cdc4c1a6ae349057d16bda4b4816929e04d223242ab8927bc31a48e7c SHA512 1123e322a4c4f85ced4ef57c0af80b9b20d223c2770293ada3d8ca870fe159b62c6ee8d01a8c6be50e7ec00f3e6729a46c09db3aa776471825a6998792f1250d WHIRLPOOL 8ad61759c0ef56b23a13c4f3291bd672f398485ddc1a04c6e6b7c8f4e6a8ae36779d88e96c2db7697884e3089aef0f04a36952490a2b450a20ccb360b2a0df54
23 DIST lftp-4.7.4.tar.xz 1564016 SHA256 bf67c4d128b6f769a4082947376a9679c5ee3463a24ab761a0757f75d70bd92c SHA512 f978379b6ac0dfb46c06dee7205b0b751a75642868c4b1bf37ac681108b04a475232915bb7280ec9731af008e00e855bd9e2e8745307b6507d341f27e4025159 WHIRLPOOL edfd7ac72e4b6e185222e350328acf771d83d5aeae4fac0860737feced5e3ade724891dd21448a366d87b4b59e24442dbfbf894f42813f71af4063f011450af3
24 +DIST lftp-4.7.5.tar.xz 1567232 SHA256 53b5c5eba2e38b418bcf451776f2df596050dff4db90ab4ea73d872f8b1fd0d8 SHA512 e7d478367a3b79f61686a538827efe8afb807a587d2967189ae351927e3acb0d5b097d8707e0cb3997aa650f8f0787aa44038bb1d081e393bc7202b348249960 WHIRLPOOL 12d53a4c51ee52b67e57dc2e1c2c90443a65964073ee05ce123211096ea82813efbc51345ea488c24aa00600818ce6c0cd96beef27de619ff5d938bef3cabd06
25
26 diff --git a/net-ftp/lftp/lftp-4.7.5.ebuild b/net-ftp/lftp/lftp-4.7.5.ebuild
27 new file mode 100644
28 index 00000000..c136e7c
29 --- /dev/null
30 +++ b/net-ftp/lftp/lftp-4.7.5.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 +# $Id$
35 +
36 +EAPI=6
37 +inherit autotools eutils libtool
38 +
39 +DESCRIPTION="A sophisticated ftp/sftp/http/https/torrent client and file transfer program"
40 +HOMEPAGE="http://lftp.tech/"
41 +SRC_URI="${HOMEPAGE}ftp/${P}.tar.xz"
42 +
43 +LICENSE="GPL-3"
44 +SLOT="0"
45 +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"
46 +
47 +IUSE="convert-mozilla-cookies +gnutls idn ipv6 libressl nls socks5 +ssl verify-file"
48 +LFTP_LINGUAS=( cs de es fr it ja ko pl pt_BR ru uk zh_CN zh_HK zh_TW )
49 +IUSE+=" ${LFTP_LINGUAS[@]/#/linguas_}"
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 +}