Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-ftp/lftp: ChangeLog lftp-4.1.2.ebuild
Date: Mon, 03 Jan 2011 02:24:28
Message-Id: 20110103022419.427E120057@flycatcher.gentoo.org
1 jer 11/01/03 02:24:19
2
3 Modified: ChangeLog
4 Added: lftp-4.1.2.ebuild
5 Log:
6 Version bump. Switch to xz.
7
8 (Portage version: 2.2.0_alpha11/cvs/Linux i686)
9
10 Revision Changes Path
11 1.286 net-ftp/lftp/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/lftp/ChangeLog?rev=1.286&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/lftp/ChangeLog?rev=1.286&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/lftp/ChangeLog?r1=1.285&r2=1.286
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-ftp/lftp/ChangeLog,v
20 retrieving revision 1.285
21 retrieving revision 1.286
22 diff -u -r1.285 -r1.286
23 --- ChangeLog 2 Jan 2011 17:11:25 -0000 1.285
24 +++ ChangeLog 3 Jan 2011 02:24:15 -0000 1.286
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-ftp/lftp
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/ChangeLog,v 1.285 2011/01/02 17:11:25 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/ChangeLog,v 1.286 2011/01/03 02:24:15 jer Exp $
30 +
31 +*lftp-4.1.2 (03 Jan 2011)
32 +
33 + 03 Jan 2011; Jeroen Roovers <jer@g.o> +lftp-4.1.2.ebuild:
34 + Version bump. Switch to xz.
35
36 02 Jan 2011; Markus Meier <maekke@g.o> lftp-4.1.1.ebuild:
37 arm stable, bug #349801
38
39
40
41 1.1 net-ftp/lftp/lftp-4.1.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/lftp/lftp-4.1.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/lftp/lftp-4.1.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: lftp-4.1.2.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/lftp-4.1.2.ebuild,v 1.1 2011/01/03 02:24:19 jer Exp $
51
52 EAPI="3"
53
54 inherit autotools eutils
55
56 DESCRIPTION="A sophisticated ftp/sftp/http/https/torrent client and file transfer program"
57 HOMEPAGE="http://lftp.yar.ru/"
58 SRC_URI="http://ftp.yars.free.net/pub/source/${PN}/${P}.tar.xz"
59
60 LICENSE="GPL-3"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
63 IUSE="ssl gnutls socks5 nls"
64
65 RDEPEND="
66 >=sys-libs/ncurses-5.1
67 socks5? (
68 >=net-proxy/dante-1.1.12
69 virtual/pam )
70 ssl? (
71 gnutls? ( >=net-libs/gnutls-1.2.3 )
72 !gnutls? ( >=dev-libs/openssl-0.9.6 )
73 )
74 >=sys-libs/readline-5.1
75 "
76
77 DEPEND="
78 ${RDEPEND}
79 app-arch/xz-utils
80 nls? ( sys-devel/gettext )
81 dev-lang/perl
82 =sys-devel/libtool-2*
83 "
84 src_prepare() {
85 epatch "${FILESDIR}/${PN}-4.0.2.91-lafile.patch"
86 epatch "${FILESDIR}/${PN}-4.0.3-autoconf-2.64.patch"
87 eautoreconf
88 }
89
90 src_configure() {
91 local myconf="$(use_enable nls) --enable-packager-mode"
92
93 if use ssl && use gnutls ; then
94 myconf="${myconf} --without-openssl"
95 elif use ssl && ! use gnutls ; then
96 myconf="${myconf} --without-gnutls --with-openssl=/usr"
97 else
98 myconf="${myconf} --without-gnutls --without-openssl"
99 fi
100
101 use socks5 && myconf="${myconf} --with-socksdante=/usr" \
102 || myconf="${myconf} --without-socksdante"
103
104 econf \
105 --sysconfdir=/etc/lftp \
106 --with-modules \
107 ${myconf} || die "econf failed"
108 }
109
110 src_install() {
111 emake install DESTDIR="${D}" || die
112
113 dodoc BUGS ChangeLog FAQ FEATURES MIRRORS \
114 NEWS README* THANKS TODO
115 }