diff --git a/net/lftp/Makefile b/net/lftp/Makefile index 9b557288775..391490f51a2 100644 --- a/net/lftp/Makefile +++ b/net/lftp/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.73 2008/12/14 13:04:19 kevlo Exp $ +# $OpenBSD: Makefile,v 1.74 2009/02/03 09:08:24 kevlo Exp $ COMMENT= shell-like command line ftp and sftp client -DISTNAME= lftp-3.7.7 +DISTNAME= lftp-3.7.8 CATEGORIES= net HOMEPAGE= http://lftp.yar.ru/ diff --git a/net/lftp/distinfo b/net/lftp/distinfo index 22e18352afa..f8939e6270a 100644 --- a/net/lftp/distinfo +++ b/net/lftp/distinfo @@ -1,5 +1,5 @@ -MD5 (lftp-3.7.7.tar.gz) = e3rr+Z6GL6S53PiSt7Rdgg== -RMD160 (lftp-3.7.7.tar.gz) = veP8GjTZ0igvHDbJtL6RQNYuDFs= -SHA1 (lftp-3.7.7.tar.gz) = 0xLRCU4PUC4szy7O0ojdgG75Z3c= -SHA256 (lftp-3.7.7.tar.gz) = PnBgySOenY3Rtmq1EQ/0dMnRk4Er9ggem24qLRpWNXM= -SIZE (lftp-3.7.7.tar.gz) = 1893213 +MD5 (lftp-3.7.8.tar.gz) = AUpKxrnqQBbVzWSv4Dl7iQ== +RMD160 (lftp-3.7.8.tar.gz) = LPFa/GPOqJgwnZWBjkb0RBYgorw= +SHA1 (lftp-3.7.8.tar.gz) = fAqRcqBjB57Ju5Hsqj8AGLGv4i4= +SHA256 (lftp-3.7.8.tar.gz) = 3BIcxF15pCsXmpRgkOqT249v0HEy8aWrKyJL3/pOcKc= +SIZE (lftp-3.7.8.tar.gz) = 1920121 diff --git a/net/lftp/patches/patch-src_FileCopy_cc b/net/lftp/patches/patch-src_FileCopy_cc new file mode 100644 index 00000000000..ed68c66bb46 --- /dev/null +++ b/net/lftp/patches/patch-src_FileCopy_cc @@ -0,0 +1,21 @@ +$OpenBSD: patch-src_FileCopy_cc,v 1.1 2009/02/03 09:08:24 kevlo Exp $ +--- src/FileCopy.cc.orig Mon Feb 2 17:39:40 2009 ++++ src/FileCopy.cc Mon Feb 2 17:50:47 2009 +@@ -842,7 +842,7 @@ int FileCopyPeerFA::Do() + { + try_time=session->GetTryTime(); + retries=session->GetRetries(); +- Log::global->Format(10,"try_time=%ld, retries=%d\n",try_time,retries); ++ Log::global->Format(10,"try_time=%ld, retries=%d\n",(long int)try_time,retries); + session->Close(); + if(can_seek && seek_pos>0) + Seek(FILE_END); +@@ -1139,7 +1139,7 @@ int FileCopyPeerFA::Put_LL(const char *buf,int len) + { + try_time=session->GetTryTime(); + retries=session->GetRetries(); +- Log::global->Format(10,"try_time=%ld, retries=%d\n",try_time,retries); ++ Log::global->Format(10,"try_time=%ld, retries=%d\n",(long int)try_time,retries); + session->Close(); + if(can_seek && seek_pos>0) + Seek(FILE_END); diff --git a/net/lftp/patches/patch-src_lftp_pty_c b/net/lftp/patches/patch-src_lftp_pty_c new file mode 100644 index 00000000000..7cb512c20d9 --- /dev/null +++ b/net/lftp/patches/patch-src_lftp_pty_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_lftp_pty_c,v 1.1 2009/02/03 09:08:24 kevlo Exp $ +--- src/lftp_pty.c.orig Mon Feb 2 17:58:38 2009 ++++ src/lftp_pty.c Mon Feb 2 18:01:15 2009 +@@ -32,6 +32,8 @@ + #include + #include + #include ++#include ++#include + + #include "lftp_pty.h" +