summaryrefslogtreecommitdiff
path: root/extra/lftp
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-28 01:10:44 -0700
committerroot <root@rshg054.dnsready.net>2013-05-28 01:10:44 -0700
commit72a09de07cab5e8ad5c3ec7c36814663a3f7a33b (patch)
tree9c774a29dfc7d56aaca8e91b4a00a1c9b24f303d /extra/lftp
parent39c27ccb8162e4ef41de8f2c354e598aa23bfa29 (diff)
Tue May 28 01:10:44 PDT 2013
Diffstat (limited to 'extra/lftp')
-rw-r--r--extra/lftp/PKGBUILD15
-rw-r--r--extra/lftp/f8ee088.diff11
2 files changed, 22 insertions, 4 deletions
diff --git a/extra/lftp/PKGBUILD b/extra/lftp/PKGBUILD
index 5b889c9c0..893d4b191 100644
--- a/extra/lftp/PKGBUILD
+++ b/extra/lftp/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 186270 2013-05-23 15:26:49Z andyrtr $
+# $Id: PKGBUILD 186480 2013-05-27 13:11:34Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>
pkgname=lftp
pkgver=4.4.7
-pkgrel=1
+pkgrel=2
pkgdesc="Sophisticated command line based FTP client"
arch=('i686' 'x86_64')
license=('GPL3')
@@ -12,11 +12,18 @@ depends=('gcc-libs' 'readline>=6.2' "gnutls" "expat>=2.0.1-4" 'sh')
optdepends=('perl: needed for convert-netscape-cookies and verify-file')
url="http://lftp.yar.ru/"
backup=('etc/lftp.conf')
-source=(http://ftp.yars.free.net/pub/source/lftp/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('a4e7b88d6b7aca389010ce6d6dca8099')
+source=(http://ftp.yars.free.net/pub/source/lftp/${pkgname}-${pkgver}.tar.bz2
+ f8ee088.diff)
+md5sums=('a4e7b88d6b7aca389010ce6d6dca8099'
+ 'a8f1c1bb3f5ab60b48507c9722c64d1c')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+
+ # fix sftp transfer - FS#35456
+ # upstream: https://github.com/lavv17/lftp/issues/39
+ patch -Np0 -i ${srcdir}/f8ee088.diff
+
./configure --prefix=/usr \
--with-gnutls \
--without-openssl \
diff --git a/extra/lftp/f8ee088.diff b/extra/lftp/f8ee088.diff
new file mode 100644
index 000000000..8b490a9dc
--- /dev/null
+++ b/extra/lftp/f8ee088.diff
@@ -0,0 +1,11 @@
+--- src/SFtp.cc 2013-04-18 09:24:36.000000000 +0200
++++ src/SFtp.cc.new 2013-05-27 15:06:40.998423663 +0200
+@@ -2256,7 +2256,7 @@
+ return MOVED;
+ }
+ if(b)
+- return MOVED;
++ return m;
+ // eof
+ if(!result && session->IsOpen())
+ result=session.Cast<SFtp>()->GetFileSet();