update to 3.7.11

ok pea@
This commit is contained in:
kevlo 2009-04-06 09:17:57 +00:00
parent f43dc5122c
commit 7a8f570db2
7 changed files with 35 additions and 47 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.74 2009/02/03 09:08:24 kevlo Exp $
# $OpenBSD: Makefile,v 1.75 2009/04/06 09:17:57 kevlo Exp $
COMMENT= shell-like command line ftp and sftp client
DISTNAME= lftp-3.7.8
DISTNAME= lftp-3.7.11
CATEGORIES= net
HOMEPAGE= http://lftp.yar.ru/

View File

@ -1,5 +1,5 @@
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
MD5 (lftp-3.7.11.tar.gz) = b+h5PzzN4dL4RG1ZnYppqQ==
RMD160 (lftp-3.7.11.tar.gz) = S9w3V85FZD5GKzty2QunrrdWrcc=
SHA1 (lftp-3.7.11.tar.gz) = kboYatsS9m2QqZ7oRg77ijk2jCw=
SHA256 (lftp-3.7.11.tar.gz) = 5sUiocAh2JuLtMw2N66VlmnA4C7nNlzZjSISWgk7BV8=
SIZE (lftp-3.7.11.tar.gz) = 2043433

View File

@ -1,21 +0,0 @@
$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);

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-src_Http_cc,v 1.1 2009/04/06 09:17:57 kevlo Exp $
--- src/Http.cc.orig Thu Apr 2 17:51:32 2009
+++ src/Http.cc Thu Apr 2 18:08:26 2009
@@ -586,7 +586,7 @@ void Http::SendRequest(const char *connection,const ch
SendMethod("PROPFIND",efile);
Send("Depth: 0\r\n"); // no directory listing required
Send("Content-Type: text/xml\r\n");
- Send("Content-Length: %d\r\n",strlen(allprop));
+ Send("Content-Length: %zu\r\n",strlen(allprop));
}
else
SendMethod("HEAD",efile);
@@ -609,7 +609,7 @@ void Http::SendRequest(const char *connection,const ch
SendMethod("PROPFIND",efile);
Send("Depth: 1\r\n"); // directory listing required
Send("Content-Type: text/xml\r\n");
- Send("Content-Length: %d\r\n",strlen(allprop));
+ Send("Content-Length: %zu\r\n",strlen(allprop));
pos=0;
}
break;

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_Makefile_in,v 1.1 2008/12/14 13:04:19 kevlo Exp $
--- src/Makefile.in.orig Thu Nov 27 16:19:51 2008
+++ src/Makefile.in Sun Dec 14 14:17:51 2008
@@ -118,7 +118,7 @@ libLTLIBRARIES_INSTALL = $(INSTALL)
$OpenBSD: patch-src_Makefile_in,v 1.2 2009/04/06 09:17:57 kevlo Exp $
--- src/Makefile.in.orig Fri Mar 20 20:48:09 2009
+++ src/Makefile.in Thu Apr 2 17:47:17 2009
@@ -138,7 +138,7 @@ libLTLIBRARIES_INSTALL = $(INSTALL)
pkgverlibLTLIBRARIES_INSTALL = $(INSTALL)
LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES) \
$(pkgverlib_LTLIBRARIES)

View File

@ -1,6 +1,6 @@
--- src/Resolver.cc.orig Thu Nov 27 13:56:26 2008
+++ src/Resolver.cc Sun Dec 14 13:11:16 2008
@@ -756,8 +756,6 @@ void Resolver::LookupOne(const char *name)
--- src/Resolver.cc.orig Tue Jan 27 22:43:12 2009
+++ src/Resolver.cc Thu Apr 2 17:47:17 2009
@@ -764,8 +764,6 @@ void Resolver::LookupOne(const char *name)
# undef h_errno // it could be a macro, but we want it to be local variable.
int h_errno=0;
ha=getipnodebyname(name,af,0,&h_errno);

View File

@ -1,12 +0,0 @@
$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 <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
+#include <termios.h>
+#include <util.h>
#include "lftp_pty.h"