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/, net-ftp/lftp/files/
Date: Mon, 28 Mar 2016 17:25:02
Message-Id: 1459185886.de2497f634a09037b9fd8f3b3a96a25ebad5030a.jer@gentoo
1 commit: de2497f634a09037b9fd8f3b3a96a25ebad5030a
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 28 17:11:53 2016 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 28 17:24:46 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de2497f6
7
8 net-ftp/lftp: Version bump.
9
10 Package-Manager: portage-2.2.28
11
12 net-ftp/lftp/Manifest | 1 +
13 net-ftp/lftp/files/lftp-4.7.0-gettext.patch | 11 ++++
14 net-ftp/lftp/lftp-4.7.0.ebuild | 91 +++++++++++++++++++++++++++++
15 3 files changed, 103 insertions(+)
16
17 diff --git a/net-ftp/lftp/Manifest b/net-ftp/lftp/Manifest
18 index 1f096fc..1aefdae 100644
19 --- a/net-ftp/lftp/Manifest
20 +++ b/net-ftp/lftp/Manifest
21 @@ -1,2 +1,3 @@
22 DIST lftp-4.6.4.tar.xz 1508952 SHA256 1e7cb674c83ace48172263f86847ed04bb6ab2f24116b11a8505f70a15e8805c SHA512 998050c0e69fc590233df8b400664c1165dfa80d7b3844aa307be33e004c3dd3e049df8f288ad7079257a31dc4adcdb07a57b8f28cd0adf7e3cf94c41d38b9dc WHIRLPOOL d79849970ff72eda2f5dccd3ce16b619e37661b60152363d96c13d94e4045d24e568b265bb27c8ef809fbfb18c6e31884ae28dba0d0bf6fc252c87ea82ca1396
23 DIST lftp-4.6.5.tar.xz 1514644 SHA256 1fd0920a1791ce0e9e39ffce77ae6619e5dc665f16e9380bafbfc69411eeb71e SHA512 a22faa3a6901160460f1103c19c5276f603c154908ec2e34804a6eb48452b59ba495993e6824f57d114285ddc80a64dccd0069465cc0593f34f435ac181250c0 WHIRLPOOL 088598ed9395cd8f9ed79be26e0833593e733cf87bbd51e5d008ce4de2b9924e62add20789c098a866d82dc3f168a373c4874de264d669950524a9a255e1e028
24 +DIST lftp-4.7.0.tar.xz 1621592 SHA256 9a0b3580b222a7f9cc17c6c85d6ac8ec227357ca5050301171fd9564aae73f44 SHA512 9d20b78a8ae33ef7337ce2699d5ff682b45fd3015d5a9b40e87ca6c426a1ce22ab13778110e8120da8c5087c5de9fe203b7192e2e80296e9d84d267c4b2b5de6 WHIRLPOOL 3df4ef7e89c3499811ed90d0775c5eed48a7698cc26475cd9c545af66ffa1e355e93c8bf579d24885fee301d044f39fe92de7a5afc48a4700910fa9959050725
25
26 diff --git a/net-ftp/lftp/files/lftp-4.7.0-gettext.patch b/net-ftp/lftp/files/lftp-4.7.0-gettext.patch
27 new file mode 100644
28 index 0000000..c2d6b80
29 --- /dev/null
30 +++ b/net-ftp/lftp/files/lftp-4.7.0-gettext.patch
31 @@ -0,0 +1,11 @@
32 +--- configure.ac.orig 2016-03-28 18:28:34.834007550 +0200
33 ++++ configure.ac 2016-03-28 19:03:32.455125971 +0200
34 +@@ -138,7 +138,7 @@
35 +
36 + ALL_LINGUAS="de es fr it ja ko pl pt_BR ru uk zh_CN zh_TW zh_HK cs"
37 + AM_GNU_GETTEXT([external])
38 +-AM_GNU_GETTEXT_VERSION([0.15])
39 ++AM_GNU_GETTEXT_VERSION([0.19])
40 + test "$MSGFMT" = "no" && MSGFMT ="$missing_dir/missing msgfmt"
41 + test "$GMSGFMT" = "no" && GMSGFMT ="$missing_dir/missing msgfmt"
42 + test "$XGETTEXT" = ":" && XGETTEXT="$missing_dir/missing xgettext"
43
44 diff --git a/net-ftp/lftp/lftp-4.7.0.ebuild b/net-ftp/lftp/lftp-4.7.0.ebuild
45 new file mode 100644
46 index 0000000..fc29144
47 --- /dev/null
48 +++ b/net-ftp/lftp/lftp-4.7.0.ebuild
49 @@ -0,0 +1,91 @@
50 +# Copyright 1999-2015 Gentoo Foundation
51 +# Distributed under the terms of the GNU General Public License v2
52 +# $Id$
53 +
54 +EAPI=5
55 +inherit autotools eutils libtool
56 +
57 +DESCRIPTION="A sophisticated ftp/sftp/http/https/torrent client and file transfer program"
58 +HOMEPAGE="http://lftp.yar.ru/"
59 +SRC_URI="${HOMEPAGE}ftp/${P}.tar.xz"
60 +
61 +LICENSE="GPL-3"
62 +SLOT="0"
63 +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"
64 +
65 +IUSE="convert-mozilla-cookies +gnutls idn ipv6 nls openssl socks5 +ssl verify-file"
66 +LFTP_LINGUAS=( cs de es fr it ja ko pl pt_BR ru uk zh_CN zh_HK zh_TW )
67 +IUSE+=" ${LFTP_LINGUAS[@]/#/linguas_}"
68 +
69 +REQUIRED_USE="
70 + ssl? ( ^^ ( openssl gnutls ) )
71 +"
72 +
73 +RDEPEND="
74 + >=sys-libs/ncurses-5.1:=
75 + >=sys-libs/readline-5.1:=
76 + dev-libs/expat
77 + sys-libs/zlib
78 + convert-mozilla-cookies? ( dev-perl/DBI )
79 + idn? ( net-dns/libidn )
80 + socks5? (
81 + >=net-proxy/dante-1.1.12
82 + virtual/pam
83 + )
84 + ssl? (
85 + gnutls? ( >=net-libs/gnutls-1.2.3 )
86 + openssl? ( dev-libs/openssl:0 )
87 + )
88 + verify-file? (
89 + dev-perl/string-crc32
90 + virtual/perl-Digest-MD5
91 + )
92 +"
93 +
94 +DEPEND="
95 + ${RDEPEND}
96 + =sys-devel/libtool-2*
97 + app-arch/xz-utils
98 + nls? ( >=sys-devel/gettext-0.19 )
99 + virtual/pkgconfig
100 +"
101 +
102 +DOCS=(
103 + BUGS ChangeLog FAQ FEATURES MIRRORS NEWS README README.debug-levels
104 + README.dnssec README.modules THANKS TODO
105 +)
106 +
107 +src_prepare() {
108 + epatch \
109 + "${FILESDIR}"/${PN}-4.0.2.91-lafile.patch \
110 + "${FILESDIR}"/${PN}-4.5.5-am_config_header.patch \
111 + "${FILESDIR}"/${PN}-4.7.0-gettext.patch
112 +
113 + eautoreconf
114 + elibtoolize # for Darwin bundles
115 +
116 + # bug #536036
117 + printf 'set fish:auto-confirm no\nset sftp:auto-confirm no\n' >> ${PN}.conf || die
118 +}
119 +
120 +src_configure() {
121 + econf \
122 + $(use_enable nls) \
123 + $(use_with gnutls) \
124 + $(use_with idn libidn) \
125 + $(use_enable ipv6) \
126 + $(use_with openssl openssl "${EPREFIX}"/usr) \
127 + $(use_with socks5 socksdante "${EPREFIX}"/usr) \
128 + --enable-packager-mode \
129 + --sysconfdir="${EPREFIX}"/etc/${PN} \
130 + --with-modules \
131 + --without-included-regex
132 +}
133 +
134 +src_install() {
135 + default
136 + local script
137 + for script in {convert-mozilla-cookies,verify-file}; do
138 + use ${script} || { rm "${ED}"/usr/share/${PN}/${script} || die ;}
139 + done
140 +}