summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-12-17 11:55:25 +0000
committerJeroen Roovers <jer@gentoo.org>2012-12-17 11:55:25 +0000
commitee34f4b9b6c7c66d3fec4f82ba993c499bb01ec7 (patch)
tree858fc62b9c372b769391769cdf6f51f10ab42b56 /net-ftp/lftp
parentStable for HPPA (bug #446732). (diff)
downloadgentoo-2-ee34f4b9b6c7c66d3fec4f82ba993c499bb01ec7.tar.gz
gentoo-2-ee34f4b9b6c7c66d3fec4f82ba993c499bb01ec7.tar.bz2
gentoo-2-ee34f4b9b6c7c66d3fec4f82ba993c499bb01ec7.zip
Add prefix changes by Christoph Junghans (bug #447540).
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-ftp/lftp')
-rw-r--r--net-ftp/lftp/ChangeLog6
-rw-r--r--net-ftp/lftp/lftp-4.3.7.ebuild79
-rw-r--r--net-ftp/lftp/lftp-4.4.0.ebuild21
3 files changed, 16 insertions, 90 deletions
diff --git a/net-ftp/lftp/ChangeLog b/net-ftp/lftp/ChangeLog
index ab8e74717fa9..8d0fc9320b2b 100644
--- a/net-ftp/lftp/ChangeLog
+++ b/net-ftp/lftp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-ftp/lftp
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/ChangeLog,v 1.387 2012/12/16 17:50:07 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/ChangeLog,v 1.388 2012/12/17 11:55:25 jer Exp $
+
+ 17 Dec 2012; Jeroen Roovers <jer@gentoo.org> -lftp-4.3.7.ebuild,
+ lftp-4.4.0.ebuild:
+ Add prefix changes by Christoph Junghans (bug #447540).
16 Dec 2012; Raúl Porcel <armin76@gentoo.org> lftp-4.4.0.ebuild:
alpha/ia64/s390/sparc stable wrt #440160
diff --git a/net-ftp/lftp/lftp-4.3.7.ebuild b/net-ftp/lftp/lftp-4.3.7.ebuild
deleted file mode 100644
index 87e7b9510872..000000000000
--- a/net-ftp/lftp/lftp-4.3.7.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/lftp-4.3.7.ebuild,v 1.8 2012/08/19 18:52:45 armin76 Exp $
-
-EAPI="4"
-
-inherit autotools eutils
-
-DESCRIPTION="A sophisticated ftp/sftp/http/https/torrent client and file transfer program"
-HOMEPAGE="http://lftp.yar.ru/"
-SRC_URI="http://ftp.yars.free.net/pub/source/${PN}/${P}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~sparc-fbsd ~x86-fbsd"
-
-LFTP_LINGUAS="cs de es fr it ja ko pl pt_BR ru zh_CN zh_HK zh_TW"
-
-IUSE="
- $( for i in ${LFTP_LINGUAS}; do echo linguas_${i}; done )
- gnutls nls socks5 +ssl
-"
-
-RDEPEND="
- dev-libs/expat
- >=sys-libs/ncurses-5.1
- socks5? (
- >=net-proxy/dante-1.1.12
- virtual/pam )
- ssl? (
- gnutls? ( >=net-libs/gnutls-1.2.3 )
- !gnutls? ( >=dev-libs/openssl-0.9.6 )
- )
- >=sys-libs/readline-5.1
-"
-
-DEPEND="
- ${RDEPEND}
- =sys-devel/libtool-2*
- app-arch/xz-utils
- dev-lang/perl
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
-"
-
-DOCS=(
- BUGS ChangeLog FAQ FEATURES MIRRORS NEWS README README.debug-levels
- README.dnssec README.modules THANKS TODO
-)
-
-src_prepare() {
- epatch \
- "${FILESDIR}/${PN}-4.0.2.91-lafile.patch" \
- "${FILESDIR}/${PN}-4.0.3-autoconf-2.64.patch" \
- "${FILESDIR}/${PN}-4.3.5-autopoint.patch"
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- if use ssl && use gnutls ; then
- myconf="${myconf} --without-openssl"
- elif use ssl && ! use gnutls ; then
- myconf="${myconf} --without-gnutls --with-openssl=/usr"
- else
- myconf="${myconf} --without-gnutls --without-openssl"
- fi
-
- use socks5 && myconf="${myconf} --with-socksdante=/usr" \
- || myconf="${myconf} --without-socksdante"
-
- econf \
- --enable-packager-mode \
- --sysconfdir=/etc/lftp \
- --with-modules \
- $(use_enable nls) \
- ${myconf}
-}
diff --git a/net-ftp/lftp/lftp-4.4.0.ebuild b/net-ftp/lftp/lftp-4.4.0.ebuild
index aaa49fa6cbfb..cdebc96e71de 100644
--- a/net-ftp/lftp/lftp-4.4.0.ebuild
+++ b/net-ftp/lftp/lftp-4.4.0.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/lftp-4.4.0.ebuild,v 1.6 2012/12/16 17:50:07 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/lftp-4.4.0.ebuild,v 1.7 2012/12/17 11:55:25 jer Exp $
EAPI=4
-inherit autotools eutils
+inherit autotools eutils libtool
DESCRIPTION="A sophisticated ftp/sftp/http/https/torrent client and file transfer program"
HOMEPAGE="http://lftp.yar.ru/"
@@ -11,7 +11,7 @@ SRC_URI="http://ftp.yars.free.net/pub/source/${PN}/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 arm 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"
LFTP_LINGUAS="cs de es fr it ja ko pl pt_BR ru zh_CN zh_HK zh_TW"
@@ -38,8 +38,8 @@ DEPEND="
=sys-devel/libtool-2*
app-arch/xz-utils
dev-lang/perl
- virtual/pkgconfig
nls? ( sys-devel/gettext )
+ virtual/pkgconfig
"
DOCS=(
@@ -53,6 +53,7 @@ src_prepare() {
"${FILESDIR}/${PN}-4.3.5-autopoint.patch" \
"${FILESDIR}/${PN}-4.3.8-gets.patch"
eautoreconf
+ elibtoolize # for Darwin bundles
}
src_configure() {
@@ -61,18 +62,18 @@ src_configure() {
if use ssl && use gnutls ; then
myconf="${myconf} --without-openssl"
elif use ssl && ! use gnutls ; then
- myconf="${myconf} --without-gnutls --with-openssl=/usr"
+ myconf="${myconf} --without-gnutls --with-openssl=${EPREFIX}/usr"
else
myconf="${myconf} --without-gnutls --without-openssl"
fi
- use socks5 && myconf="${myconf} --with-socksdante=/usr" \
+ use socks5 && myconf="${myconf} --with-socksdante=${EPREFIX}/usr" \
|| myconf="${myconf} --without-socksdante"
econf \
- --enable-packager-mode \
- --sysconfdir=/etc/lftp \
- --with-modules \
$(use_enable nls) \
- ${myconf}
+ ${myconf} \
+ --enable-packager-mode \
+ --sysconfdir="${EPREFIX}"/etc/lftp \
+ --with-modules
}