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