summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-12-06 14:11:10 +0000
committerJeroen Roovers <jer@gentoo.org>2013-12-06 14:11:10 +0000
commite991005aef0af6f81a35e51b5f96e23d8679c4c3 (patch)
treeba3cc983946431dcd9632be6b035e1dc0b65e7cb /net-ftp
parentFixed remaining ebuilds who suffer from bug #485166. Removed some older versions (diff)
downloadgentoo-2-e991005aef0af6f81a35e51b5f96e23d8679c4c3.tar.gz
gentoo-2-e991005aef0af6f81a35e51b5f96e23d8679c4c3.tar.bz2
gentoo-2-e991005aef0af6f81a35e51b5f96e23d8679c4c3.zip
Version bump.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/lftp/ChangeLog7
-rw-r--r--net-ftp/lftp/lftp-4.5.0_pre20131206.ebuild89
2 files changed, 95 insertions, 1 deletions
diff --git a/net-ftp/lftp/ChangeLog b/net-ftp/lftp/ChangeLog
index 5c6a60366787..7d428a9103c7 100644
--- a/net-ftp/lftp/ChangeLog
+++ b/net-ftp/lftp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-ftp/lftp
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/ChangeLog,v 1.436 2013/11/26 11:27:43 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/ChangeLog,v 1.437 2013/12/06 14:11:10 jer Exp $
+
+*lftp-4.5.0_pre20131206 (06 Dec 2013)
+
+ 06 Dec 2013; Jeroen Roovers <jer@gentoo.org> +lftp-4.5.0_pre20131206.ebuild:
+ Version bump.
*lftp-4.4.13 (26 Nov 2013)
diff --git a/net-ftp/lftp/lftp-4.5.0_pre20131206.ebuild b/net-ftp/lftp/lftp-4.5.0_pre20131206.ebuild
new file mode 100644
index 000000000000..6610f6903f51
--- /dev/null
+++ b/net-ftp/lftp/lftp-4.5.0_pre20131206.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/lftp-4.5.0_pre20131206.ebuild,v 1.1 2013/12/06 14:11:10 jer Exp $
+
+EAPI=5
+inherit autotools eutils libtool
+
+MY_P="${PN}-pre${PV/_pre*/}-${PV/*_pre/}"
+
+DESCRIPTION="A sophisticated ftp/sftp/http/https/torrent client and file transfer program"
+HOMEPAGE="http://lftp.yar.ru/"
+SRC_URI="http://${PN}.yar.ru/ftp/devel/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+
+IUSE="convert-mozilla-cookies +gnutls nls openssl socks5 +ssl verify-file"
+LFTP_LINGUAS=( cs de es fr it ja ko pl pt_BR ru zh_CN zh_HK zh_TW )
+IUSE+=" ${LFTP_LINGUAS[@]/#/linguas_}"
+
+S="${WORKDIR}/${MY_P}"
+
+REQUIRED_USE="
+ ssl? ( ^^ ( openssl gnutls ) )
+"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.1
+ >=sys-libs/readline-5.1
+ dev-libs/expat
+ sys-libs/zlib
+ convert-mozilla-cookies? ( dev-perl/DBI )
+ socks5? (
+ >=net-proxy/dante-1.1.12
+ virtual/pam
+ )
+ ssl? (
+ gnutls? ( >=net-libs/gnutls-1.2.3 )
+ openssl? ( >=dev-libs/openssl-0.9.6 )
+ )
+ verify-file? (
+ dev-perl/string-crc32
+ virtual/perl-Digest-MD5
+ )
+"
+
+# app-arch/xz-utils
+DEPEND="
+ ${RDEPEND}
+ =sys-devel/libtool-2*
+ nls? ( sys-devel/gettext )
+ virtual/pkgconfig
+"
+
+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.3.5-autopoint.patch" \
+ "${FILESDIR}/${PN}-4.3.8-gets.patch"
+ sed -i configure.ac -e 's|^AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die
+ eautoreconf
+ elibtoolize # for Darwin bundles
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ $(use_with gnutls) \
+ $(use_with openssl openssl "${EPREFIX}"/usr) \
+ $(use_with socks5 socksdante "${EPREFIX}"/usr) \
+ --enable-packager-mode \
+ --sysconfdir="${EPREFIX}"/etc/${PN} \
+ --with-modules \
+ --without-included-regex
+}
+
+src_install() {
+ default
+ local script
+ for script in {convert-mozilla-cookies,verify-file}; do
+ use ${script} || { rm "${ED}"/usr/share/${PN}/${script} || die ;}
+ done
+}