[arch-commits] Commit in lftp/trunk (PKGBUILD f8ee088.diff)
Andreas Radke
andyrtr at nymeria.archlinux.org
Mon May 27 13:11:12 UTC 2013
Date: Monday, May 27, 2013 @ 15:11:11
Author: andyrtr
Revision: 186479
upgpkg: lftp 4.4.7-2
fix sftp use - FS#35456
Added:
lftp/trunk/f8ee088.diff
Modified:
lftp/trunk/PKGBUILD
--------------+
PKGBUILD | 13 ++++++++++---
f8ee088.diff | 11 +++++++++++
2 files changed, 21 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-27 12:00:13 UTC (rev 186478)
+++ PKGBUILD 2013-05-27 13:11:11 UTC (rev 186479)
@@ -4,7 +4,7 @@
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 @@
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 \
Added: f8ee088.diff
===================================================================
--- f8ee088.diff (rev 0)
+++ f8ee088.diff 2013-05-27 13:11:11 UTC (rev 186479)
@@ -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();
More information about the arch-commits
mailing list