[gentoo-commits] repo/gentoo:master commit in: net-ftp/lftp/files/, net-ftp/lftp/

2020-11-15 Thread Sergei Trofimovich
commit: 42f481bed6d26d48b34ca9c90ea2fdd176ac91e3
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Nov 15 18:56:56 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Nov 15 18:57:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42f481be

net-ftp/lftp: backport libressl support

Backported upstream patch.

Reported-by: m1027
Closes: https://bugs.gentoo.org/754225
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-ftp/lftp/files/lftp-4.9.2-libressl.patch | 40 
 net-ftp/lftp/lftp-4.9.2.ebuild   |  1 +
 2 files changed, 41 insertions(+)

diff --git a/net-ftp/lftp/files/lftp-4.9.2-libressl.patch 
b/net-ftp/lftp/files/lftp-4.9.2-libressl.patch
new file mode 100644
index 000..51de51f780d
--- /dev/null
+++ b/net-ftp/lftp/files/lftp-4.9.2-libressl.patch
@@ -0,0 +1,40 @@
+https://github.com/lavv17/lftp/commit/0276d5c239c41b3a63f738a5dc47fd56ac389cf0.patch
+
+From 0276d5c239c41b3a63f738a5dc47fd56ac389cf0 Mon Sep 17 00:00:00 2001
+From: Ganael Laplanche 
+Date: Thu, 20 Aug 2020 12:29:05 +0200
+Subject: [PATCH] Fix build with LibreSSL (following commit 537f37898)
+
+---
+ src/lftp_ssl.cc | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+--- a/src/lftp_ssl.cc
 b/src/lftp_ssl.cc
+@@ -34,7 +34,7 @@
+ #include "misc.h"
+ #include "network.h"
+ #include "buffer.h"
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || LIBRESSL_VERSION_NUMBER
+ #define X509_STORE_CTX_get_by_subject X509_STORE_get_by_subject
+ #endif
+ extern "C" {
+@@ -840,7 +840,7 @@ lftp_ssl_openssl_instance::lftp_ssl_openssl_instance()
+ssl_ctx=SSL_CTX_new();
+X509_set_default_verify_paths(ssl_ctx->cert);
+ #else
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || LIBRESSL_VERSION_NUMBER
+SSLeay_add_ssl_algorithms();
+ #endif
+ssl_ctx=SSL_CTX_new(SSLv23_client_method());
+@@ -1080,7 +1080,7 @@ void lftp_ssl_openssl::copy_sid(const lftp_ssl_openssl 
*o)
+ 
+ const char *lftp_ssl_openssl::strerror()
+ {
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || LIBRESSL_VERSION_NUMBER
+SSL_load_error_strings();
+ #endif
+int error=ERR_get_error();

diff --git a/net-ftp/lftp/lftp-4.9.2.ebuild b/net-ftp/lftp/lftp-4.9.2.ebuild
index 94f6e46a85e..121ccc94638 100644
--- a/net-ftp/lftp/lftp-4.9.2.ebuild
+++ b/net-ftp/lftp/lftp-4.9.2.ebuild
@@ -59,6 +59,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-4.8.2-libdir-openssl.patch
"${FILESDIR}"/${PN}-4.8.2-libdir-zlib.patch
"${FILESDIR}"/${PN}-4.9.1-libdir-readline.patch
+   "${FILESDIR}"/${PN}-4.9.2-libressl.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: net-ftp/lftp/files/, net-ftp/lftp/

2020-11-07 Thread Sergei Trofimovich
commit: af1aae043aef21259837a5f8c7cc352bdd35ca1b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Nov  7 08:36:14 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Nov  7 08:49:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af1aae04

net-ftp/lftp: use a patch for release against live ebuild

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-ftp/lftp/files/lftp--libdir-readline.patch | 11 ---
 net-ftp/lftp/lftp-.ebuild  |  2 +-
 2 files changed, 1 insertion(+), 12 deletions(-)

diff --git a/net-ftp/lftp/files/lftp--libdir-readline.patch 
b/net-ftp/lftp/files/lftp--libdir-readline.patch
deleted file mode 100644
index fde1017f4bd..000
--- a/net-ftp/lftp/files/lftp--libdir-readline.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/m4/lftp_lib_readline.m4
-+++ b/m4/lftp_lib_readline.m4
-@@ -107,7 +107,7 @@
-   if test -f "$readline_include_dir/readline/readline.h"; then
-   readline_include_dir="$readline_include_dir/readline"
-   fi
--readline_ld_flags="-L$readline_prefix/lib"
-+readline_ld_flags="-L$libdir"
- if test -z "$readline_lib_flags"; then
- readline_lib_flags="-lreadline"
- fi

diff --git a/net-ftp/lftp/lftp-.ebuild b/net-ftp/lftp/lftp-.ebuild
index b38775a32ae..0f1f759f337 100644
--- a/net-ftp/lftp/lftp-.ebuild
+++ b/net-ftp/lftp/lftp-.ebuild
@@ -57,7 +57,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-4.8.2-libdir-libidn2.patch
"${FILESDIR}"/${PN}-4.8.2-libdir-openssl.patch
"${FILESDIR}"/${PN}-4.8.2-libdir-zlib.patch
-   "${FILESDIR}"/${PN}--libdir-readline.patch
+   "${FILESDIR}"/${PN}-4.9.1-libdir-readline.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: net-ftp/lftp/files/, net-ftp/lftp/

2020-01-15 Thread Jeroen Roovers
commit: 4cf2aa76869f2fcb3ccf667042068d937dbafada
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Jan 15 23:34:37 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Jan 15 23:37:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf2aa76

net-ftp/lftp: Version 4.9.1

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-ftp/lftp/Manifest  |   1 +
 .../lftp/files/lftp-4.9.1-libdir-readline.patch|  11 +++
 net-ftp/lftp/lftp-4.9.1.ebuild | 105 +
 3 files changed, 117 insertions(+)

diff --git a/net-ftp/lftp/Manifest b/net-ftp/lftp/Manifest
index 37283c7c30b..7ee58454d13 100644
--- a/net-ftp/lftp/Manifest
+++ b/net-ftp/lftp/Manifest
@@ -1,2 +1,3 @@
 DIST lftp-4.8.4.tar.xz 1633444 BLAKE2B 
cbd85b553268823e7633e414752876db083355d92e55728337bc7863fb3bd89729ac725be41a9bcca275cf1752ea5f8ad01fdc67c7593868084c9c32bb75332d
 SHA512 
2528e2cbfe132068dc75036d6334372f79f8063d44e46c724a28ea1f5b40d8de0d1e36cde3124fbcc27e5ba8be04b893eb1a7546346253768346a80bc54c02d1
 DIST lftp-4.9.0.tar.xz 1642596 BLAKE2B 
111e559c98e0572e1ca79f935a1db8c45c99275c8aa7b584be06d1738296b32808e97d696a02751575c5d1ea24a30a52f5d9f177a193f70addf1168e3208aa13
 SHA512 
8d83ea76390d38cb1f84f02eb7bf45780758afb9fe61f5b7278a48c9a5d216d03bc8b699c0f449a0036bdb441b4225af074da1b5e92a77ddb61aca704758211e
+DIST lftp-4.9.1.tar.xz 1648564 BLAKE2B 
2f36dec3de01dd3f9e7316567912a04196732a1e71a4d1c3a5124471d2941673d7b58bc3182d73d3cf154def905f57d37667d33fedec6ea9434f74850aa64f4d
 SHA512 
303e2354bd61a850403a02ac5b71e54719c12b026c7e36194a6382e9044f1fee93ea581ba0a55fea19981e07b896216e92c7d961c719350762eb0cfb51a2c506

diff --git a/net-ftp/lftp/files/lftp-4.9.1-libdir-readline.patch 
b/net-ftp/lftp/files/lftp-4.9.1-libdir-readline.patch
new file mode 100644
index 000..fde1017f4bd
--- /dev/null
+++ b/net-ftp/lftp/files/lftp-4.9.1-libdir-readline.patch
@@ -0,0 +1,11 @@
+--- a/m4/lftp_lib_readline.m4
 b/m4/lftp_lib_readline.m4
+@@ -107,7 +107,7 @@
+   if test -f "$readline_include_dir/readline/readline.h"; then
+   readline_include_dir="$readline_include_dir/readline"
+   fi
+-readline_ld_flags="-L$readline_prefix/lib"
++readline_ld_flags="-L$libdir"
+ if test -z "$readline_lib_flags"; then
+ readline_lib_flags="-lreadline"
+ fi

diff --git a/net-ftp/lftp/lftp-4.9.1.ebuild b/net-ftp/lftp/lftp-4.9.1.ebuild
new file mode 100644
index 000..33630583e6b
--- /dev/null
+++ b/net-ftp/lftp/lftp-4.9.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools libtool xdg-utils
+
+DESCRIPTION="A sophisticated ftp/sftp/http/https/torrent client and file 
transfer program"
+HOMEPAGE="https://lftp.tech/;
+SRC_URI="https://lftp.tech/ftp/${P}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
+IUSE="convert-mozilla-cookies +gnutls idn ipv6 libressl nls socks5 +ssl 
verify-file"
+RESTRICT="test"
+
+RDEPEND="
+   >=sys-libs/ncurses-5.1:=
+   >=sys-libs/readline-5.1:=
+   dev-libs/expat
+   sys-libs/zlib
+   convert-mozilla-cookies? ( dev-perl/DBI )
+   idn? ( net-dns/libidn2:= )
+   socks5? (
+   >=net-proxy/dante-1.1.12
+   sys-libs/pam
+   )
+   ssl? (
+   gnutls? ( >=net-libs/gnutls-1.2.3:0= )
+   !gnutls? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   )
+   verify-file? (
+   dev-perl/String-CRC32
+   virtual/perl-Digest-MD5
+   )
+"
+DEPEND="
+   ${RDEPEND}
+   =sys-devel/libtool-2*
+   app-arch/xz-utils
+   nls? ( >=sys-devel/gettext-0.19 )
+   virtual/pkgconfig
+"
+DOCS=(
+   BUGS ChangeLog FAQ FEATURES MIRRORS NEWS README README.debug-levels
+   README.dnssec README.modules THANKS TODO
+)
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.0.2.91-lafile.patch
+   "${FILESDIR}"/${PN}-4.5.5-am_config_header.patch
+   "${FILESDIR}"/${PN}-4.7.0-gettext.patch
+   "${FILESDIR}"/${PN}-4.7.5-libdir-additional.patch
+   "${FILESDIR}"/${PN}-4.7.5-libdir-expat.patch
+   "${FILESDIR}"/${PN}-4.8.2-libdir-configure.patch
+   "${FILESDIR}"/${PN}-4.8.2-libdir-libidn2.patch
+   "${FILESDIR}"/${PN}-4.8.2-libdir-openssl.patch
+   "${FILESDIR}"/${PN}-4.8.2-libdir-zlib.patch
+   "${FILESDIR}"/${PN}-4.9.1-libdir-readline.patch
+)
+
+src_prepare() {
+   default
+
+   eautoreconf
+
+   elibtoolize # for Darwin bundles
+
+   # bug #536036
+   printf 'set fish:auto-confirm no\nset sftp:auto-confirm no\n' >> 
${PN}.conf || die

[gentoo-commits] repo/gentoo:master commit in: net-ftp/lftp/files/, net-ftp/lftp/

2018-02-05 Thread Jeroen Roovers
commit: cee0bfb56f78270a1a4deaf8de03c8afb428d6a9
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Feb  5 14:59:59 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Feb  5 15:01:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cee0bfb5

net-ftp/lftp: Remove all LDFLAGS=.*-L.*\/lib (bug #646284).

 .../lftp/files/lftp-4.7.5-libdir-additional.patch| 12 
 net-ftp/lftp/files/lftp-4.7.5-libdir-configure.patch | 10 ++
 net-ftp/lftp/files/lftp-4.7.5-libdir-expat.patch | 11 +++
 net-ftp/lftp/files/lftp-4.7.5-libdir-libidn.patch| 10 ++
 net-ftp/lftp/files/lftp-4.7.5-libdir-openssl.patch   | 18 ++
 net-ftp/lftp/files/lftp-4.7.5-libdir-readline.patch  | 11 +++
 net-ftp/lftp/files/lftp-4.7.5-libdir-zlib.patch  | 18 ++
 net-ftp/lftp/files/lftp-4.8.2-libdir-configure.patch | 18 ++
 net-ftp/lftp/files/lftp-4.8.2-libdir-libidn2.patch   | 10 ++
 net-ftp/lftp/files/lftp-4.8.2-libdir-openssl.patch   | 18 ++
 net-ftp/lftp/files/lftp-4.8.2-libdir-zlib.patch  | 20 
 net-ftp/lftp/lftp-4.7.5.ebuild   | 10 --
 net-ftp/lftp/lftp-4.8.2.ebuild   | 10 --
 net-ftp/lftp/lftp-4.8.3.ebuild   | 10 --
 net-ftp/lftp/lftp-.ebuild| 13 +
 15 files changed, 189 insertions(+), 10 deletions(-)

diff --git a/net-ftp/lftp/files/lftp-4.7.5-libdir-additional.patch 
b/net-ftp/lftp/files/lftp-4.7.5-libdir-additional.patch
new file mode 100644
index 000..bf7f0a96d9f
--- /dev/null
+++ b/net-ftp/lftp/files/lftp-4.7.5-libdir-additional.patch
@@ -0,0 +1,12 @@
+--- a/m4/lib-prefix.m4
 b/m4/lib-prefix.m4
+@@ -108,7 +108,8 @@
+ if test -z "$haveit"; then
+   if test -d "$additional_libdir"; then
+ dnl Really add $additional_libdir to $LDFLAGS.
+-LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
++dnl No, let's not do that.
++:
+   fi
+ fi
+   fi

diff --git a/net-ftp/lftp/files/lftp-4.7.5-libdir-configure.patch 
b/net-ftp/lftp/files/lftp-4.7.5-libdir-configure.patch
new file mode 100644
index 000..e855ac19432
--- /dev/null
+++ b/net-ftp/lftp/files/lftp-4.7.5-libdir-configure.patch
@@ -0,0 +1,10 @@
+--- a/configure.ac
 b/configure.ac
+@@ -186,7 +186,6 @@
+ esac
+ 
+ if test x$socks_loc != x; then
+-   LDFLAGS="$LDFLAGS -L$socks_loc/lib"
+CPPFLAGS="$CPPFLAGS -I$socks_loc/include"
+ fi
+ 

diff --git a/net-ftp/lftp/files/lftp-4.7.5-libdir-expat.patch 
b/net-ftp/lftp/files/lftp-4.7.5-libdir-expat.patch
new file mode 100644
index 000..f82afc78256
--- /dev/null
+++ b/net-ftp/lftp/files/lftp-4.7.5-libdir-expat.patch
@@ -0,0 +1,11 @@
+--- a/m4/ax_lib_expat.m4
 b/m4/ax_lib_expat.m4
+@@ -109,7 +109,7 @@
+ 
+ if test -n "$expat_prefix"; then
+ expat_include_dir="$expat_prefix/include"
+-expat_ld_flags="-L$expat_prefix/lib"
++expat_ld_flags="-L$libdir"
+ expat_lib_flags="-lexpat"
+ run_expat_test="yes"
+ elif test "$expat_requested" = "yes"; then

diff --git a/net-ftp/lftp/files/lftp-4.7.5-libdir-libidn.patch 
b/net-ftp/lftp/files/lftp-4.7.5-libdir-libidn.patch
new file mode 100644
index 000..890138013da
--- /dev/null
+++ b/net-ftp/lftp/files/lftp-4.7.5-libdir-libidn.patch
@@ -0,0 +1,10 @@
+--- a/m4/lftp.m4
 b/m4/lftp.m4
+@@ -319,7 +319,6 @@
+libidn=$withval, libidn=yes)
+  if test "$libidn" != "no"; then
+if test "$libidn" != "yes"; then
+- LDFLAGS="${LDFLAGS} -L$libidn/lib"
+  CPPFLAGS="${CPPFLAGS} -I$libidn/include"
+fi
+AC_CHECK_HEADER(idna.h,

diff --git a/net-ftp/lftp/files/lftp-4.7.5-libdir-openssl.patch 
b/net-ftp/lftp/files/lftp-4.7.5-libdir-openssl.patch
new file mode 100644
index 000..44c5239ae03
--- /dev/null
+++ b/net-ftp/lftp/files/lftp-4.7.5-libdir-openssl.patch
@@ -0,0 +1,18 @@
+--- a/m4/ssl.m4
 b/m4/ssl.m4
+@@ -10,7 +10,6 @@
+   old_CPPFLAGS="$CPPFLAGS"
+   LIBS="$LIBS -lssl -lcrypto"
+   if test $loc != default; then
+-  LDFLAGS="$LDFLAGS -L$loc/lib"
+   CPPFLAGS="$CPPFLAGS -I$loc/include"
+   fi
+   AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include 
+@@ -21,7 +20,6 @@
+   if test $found_loc != "none"; then
+   lftp_cv_openssl="OPENSSL_LIBS=\"-lssl -lcrypto\""
+   if test $found_loc != default; then
+-  lftp_cv_openssl="$lftp_cv_openssl 
OPENSSL_LDFLAGS=\"-L$found_loc/lib -R$found_loc/lib\""
+   lftp_cv_openssl="$lftp_cv_openssl 
OPENSSL_CPPFLAGS=-I$found_loc/include"
+   fi
+   break;

diff --git 

[gentoo-commits] repo/gentoo:master commit in: net-ftp/lftp/files/, net-ftp/lftp/

2017-02-13 Thread Jeroen Roovers
commit: 647d602b6dc09be92e973b17dccedaf67d2d5bd2
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Feb 13 08:04:57 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Feb 13 08:05:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=647d602b

net-ftp/lftp: Old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-ftp/lftp/Manifest  |  1 -
 net-ftp/lftp/files/lftp-4.6.3a-autopoint.patch | 10 ---
 net-ftp/lftp/lftp-4.6.5.ebuild | 91 --
 net-ftp/lftp/metadata.xml  |  1 -
 4 files changed, 103 deletions(-)

diff --git a/net-ftp/lftp/Manifest b/net-ftp/lftp/Manifest
index 82806d2796..7ae1da42aa 100644
--- a/net-ftp/lftp/Manifest
+++ b/net-ftp/lftp/Manifest
@@ -1,4 +1,3 @@
-DIST lftp-4.6.5.tar.xz 1514644 SHA256 
1fd0920a1791ce0e9e39ffce77ae6619e5dc665f16e9380bafbfc69411eeb71e SHA512 
a22faa3a6901160460f1103c19c5276f603c154908ec2e34804a6eb48452b59ba495993e6824f57d114285ddc80a64dccd0069465cc0593f34f435ac181250c0
 WHIRLPOOL 
088598ed9395cd8f9ed79be26e0833593e733cf87bbd51e5d008ce4de2b9924e62add20789c098a866d82dc3f168a373c4874de264d669950524a9a255e1e028
 DIST lftp-4.7.3.tar.xz 1545012 SHA256 
3b22259cdc4c1a6ae349057d16bda4b4816929e04d223242ab8927bc31a48e7c SHA512 
1123e322a4c4f85ced4ef57c0af80b9b20d223c2770293ada3d8ca870fe159b62c6ee8d01a8c6be50e7ec00f3e6729a46c09db3aa776471825a6998792f1250d
 WHIRLPOOL 
8ad61759c0ef56b23a13c4f3291bd672f398485ddc1a04c6e6b7c8f4e6a8ae36779d88e96c2db7697884e3089aef0f04a36952490a2b450a20ccb360b2a0df54
 DIST lftp-4.7.4.tar.xz 1564016 SHA256 
bf67c4d128b6f769a4082947376a9679c5ee3463a24ab761a0757f75d70bd92c SHA512 
f978379b6ac0dfb46c06dee7205b0b751a75642868c4b1bf37ac681108b04a475232915bb7280ec9731af008e00e855bd9e2e8745307b6507d341f27e4025159
 WHIRLPOOL 
edfd7ac72e4b6e185222e350328acf771d83d5aeae4fac0860737feced5e3ade724891dd21448a366d87b4b59e24442dbfbf894f42813f71af4063f011450af3
 DIST lftp-4.7.5.tar.xz 1567232 SHA256 
53b5c5eba2e38b418bcf451776f2df596050dff4db90ab4ea73d872f8b1fd0d8 SHA512 
e7d478367a3b79f61686a538827efe8afb807a587d2967189ae351927e3acb0d5b097d8707e0cb3997aa650f8f0787aa44038bb1d081e393bc7202b348249960
 WHIRLPOOL 
12d53a4c51ee52b67e57dc2e1c2c90443a65964073ee05ce123211096ea82813efbc51345ea488c24aa00600818ce6c0cd96beef27de619ff5d938bef3cabd06

diff --git a/net-ftp/lftp/files/lftp-4.6.3a-autopoint.patch 
b/net-ftp/lftp/files/lftp-4.6.3a-autopoint.patch
deleted file mode 100644
index ad1cf3ede1..00
--- a/net-ftp/lftp/files/lftp-4.6.3a-autopoint.patch
+++ /dev/null
@@ -1,10 +0,0 @@
 a/configure.ac
-+++ b/configure.ac
-@@ -137,6 +137,7 @@
- AM_ICONV
- 
- ALL_LINGUAS="de es fr it ja ko pl pt_BR ru uk zh_CN zh_TW zh_HK cs"
-+AM_GNU_GETTEXT_VERSION([0.19])
- AM_GNU_GETTEXT([external])
- test "$MSGFMT"  = "no" && MSGFMT  ="$missing_dir/missing msgfmt"
- test "$GMSGFMT" = "no" && GMSGFMT ="$missing_dir/missing msgfmt"

diff --git a/net-ftp/lftp/lftp-4.6.5.ebuild b/net-ftp/lftp/lftp-4.6.5.ebuild
deleted file mode 100644
index a094c3b50b..00
--- a/net-ftp/lftp/lftp-4.6.5.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit autotools eutils libtool
-
-DESCRIPTION="A sophisticated ftp/sftp/http/https/torrent client and file 
transfer program"
-HOMEPAGE="http://lftp.yar.ru/;
-SRC_URI="${HOMEPAGE}ftp/${P}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="0"
-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"
-
-IUSE="convert-mozilla-cookies +gnutls idn ipv6 nls openssl socks5 +ssl 
verify-file"
-LFTP_LINGUAS=( cs de es fr it ja ko pl pt_BR ru uk zh_CN zh_HK zh_TW )
-IUSE+=" ${LFTP_LINGUAS[@]/#/linguas_}"
-
-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 )
-   idn? ( net-dns/libidn )
-   socks5? (
-   >=net-proxy/dante-1.1.12
-   virtual/pam
-   )
-   ssl? (
-   gnutls? ( >=net-libs/gnutls-1.2.3 )
-   openssl? ( dev-libs/openssl:0 )
-   )
-   verify-file? (
-   dev-perl/String-CRC32
-   virtual/perl-Digest-MD5
-   )
-"
-
-DEPEND="
-   ${RDEPEND}
-   =sys-devel/libtool-2*
-   app-arch/xz-utils
-   nls? ( >=sys-devel/gettext-0.19 )
-   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.5.5-am_config_header.patch \
-   "${FILESDIR}"/${PN}-4.6.3a-autopoint.patch
-