--- a/components/lftp/patches/lftp.1.patch Tue Oct 27 10:31:06 2015 -0700
+++ b/components/lftp/patches/lftp.1.patch Tue Oct 27 13:49:55 2015 -0700
@@ -1,20 +1,19 @@
- Solaris specific documentation change.
- Solaris tbl(1) won't handle 'x' suffix.
-- Man page category change.
---- doc/lftp.1 Tue Jun 28 02:36:24 2011
-+++ doc/lftp.1 Thu Jul 14 06:55:30 2011
[email protected]@ -68,8 +68,7 @@
+--- doc/lftp.1 2015-10-14 14:44:17.423356916 -0700
++++ doc/lftp.1 2015-10-14 14:47:00.443113545 -0700
[email protected]@ -67,8 +67,7 @@ will connect to that site otherwise a co
the open command.
.PP
- \fBlftp\fP can handle several file access methods - ftp, ftps, http, https,
--hftp, fish, sftp and file (https and ftps are only available when lftp is
+ \fBlftp\fP can handle several file access methods - FTP, FTPS, HTTP, HTTPS,
+-HFTP, FISH, SFTP and file (HTTPS and FTPS are only available when lftp is
-compiled with GNU TLS or OpenSSL library). You can specify the method to use in `open
-+hftp, fish, sftp and file. You can specify the method to use in `open
- URL' command, e.g. `open http://www.us.kernel.org/pub/linux'. hftp is
- ftp-over-http-proxy protocol. It can be used automatically instead of ftp
++HFTP, FISH, SFTP and file. You can specify the method to use in `open
+ URL' command, e.g. `open http://www.us.kernel.org/pub/linux'. HFTP is
+ ftp-over-http-proxy protocol. It can be used automatically instead of FTP
if ftp:proxy is set to `http://proxy[:port]'. Fish is a protocol working
[email protected]@ -164,7 +163,7 @@
[email protected]@ -167,7 +166,7 @@ any command that accepts input URLs usin
.Sp
.in +0.5i
.TS
@@ -23,7 +22,7 @@
add <name> [<loc>] T{
add current place or given location to bookmarks and bind to given name
T}
[email protected]@ -182,7 +181,7 @@
[email protected]@ -185,7 +184,7 @@ The following subcommands are recognized
.Sp
.in +0.5i
.TS
@@ -32,7 +31,25 @@
stat print cache status (default)
on|off turn on/off caching
flush flush cache
[email protected]@ -292,7 +291,7 @@
[email protected]@ -226,7 +225,7 @@ and outputs the information according to
+ .Sp
+ .in +0.5i
+ .TS
+-l1 l lx .
++l1 l l .
+ \-1 single-column output
+ \-a, \-\-all show dot files
+ \-B, \-\-basename show basename of files only
[email protected]@ -345,7 +344,7 @@ of this command. Options:
+ .Sp
+ .in +0.5i
+ .TS
+-l1 l lx .
++l1 l l .
+ \-d \fIMD\fP, \-\-max\-depth=\fIMD\fP specify maximum scan depth
+ \-l, \-\-list use long listing format
+ .TE
[email protected]@ -377,7 +376,7 @@ instances of \fIrfile\fP (and \-o \fIlfi
.Sp
.in +0.5i
.TS
@@ -40,8 +57,8 @@
+l l .
\-c continue, reget
\-E delete source files after successful transfer
- \-a use ascii mode (binary is the default)
[email protected]@ -318,7 +317,7 @@
+ \-e delete target file before the transfer
[email protected]@ -404,7 +403,7 @@ Transfer a single file. Options:
.Sp
.in +0.5i
.TS
@@ -50,7 +67,7 @@
\-o <lfile> T{
destination file name (default - basename of rfile)
T}
[email protected]@ -343,7 +342,7 @@
[email protected]@ -429,7 +428,7 @@ Glob given patterns containing metachara
.Sp
.in +0.5i
.TS
@@ -59,7 +76,16 @@
\-f plain files (default)
\-d directories
\-a all types
[email protected]@ -413,7 +412,7 @@
[email protected]@ -458,7 +457,7 @@ Options:
+ .Sp
+ .in +0.5i
+ .TS
+-l lx .
++l l .
+ \-v verbose, several \-v increase verbosity
+ \-r list just one specified job without recursion
+ .TE
[email protected]@ -517,7 +516,7 @@ Gets selected files with expanded wildca
.Sp
.in +0.5i
.TS
@@ -68,7 +94,7 @@
\-c continue, reget.
\-d T{
create directories the same as file names and get the files into them instead of current directory.
[email protected]@ -436,7 +435,7 @@
[email protected]@ -540,7 +539,7 @@ directory name. Source and/or target can
.Sp
.in +0.5i
.TS
@@ -77,7 +103,7 @@
\-c, \-\-continue T{
continue a mirror job if possible
T}
[email protected]@ -620,7 +619,7 @@
[email protected]@ -768,7 +767,7 @@ local name as remote one. This can be ch
.Sp
.in +0.5i
.TS
@@ -86,7 +112,7 @@
\-c continue, reput
\-d T{
create directories the same as in file names and put the files into them instead of current directory
[email protected]@ -668,7 +667,7 @@
[email protected]@ -816,7 +815,7 @@ Options:
.Sp
.in +0.5i
.TS
@@ -95,7 +121,7 @@
\-c T{
continue transfer. Requires \fIlfile.lftp-pget-status\fP file.
T}
[email protected]@ -690,7 +689,7 @@
[email protected]@ -838,7 +837,7 @@ of \fIlfile\fP is used as remote name. D
.Sp
.in +0.5i
.TS
@@ -104,7 +130,7 @@
\-o <rfile> T{
specifies remote file name (default - basename of lfile)
T}
[email protected]@ -745,7 +744,7 @@
[email protected]@ -893,7 +892,7 @@ destination is given.
.Sp
.in +0.5i
.TS
@@ -113,7 +139,7 @@
\-q Be quiet.
\-v Be verbose.
\-Q T{
[email protected]@ -766,7 +765,7 @@
[email protected]@ -914,7 +913,7 @@ Examples:
.Sp
.in +0.5i
.TS
@@ -122,7 +148,7 @@
queue \-d 3 Delete the third item in the queue.
queue \-m 6 4 T{
Move the sixth item in the queue before the fourth.
[email protected]@ -829,7 +828,7 @@
[email protected]@ -977,7 +976,7 @@ Default delay is one second, default com
.Sp
.in +0.5i
.TS
@@ -131,7 +157,7 @@
\-c <count> maximum number of iterations
\-d <delay> delay between iterations
\-\-while\-ok stop when command exits with non-zero code
[email protected]@ -876,7 +875,7 @@
[email protected]@ -1024,7 +1023,7 @@ It can be changed by options:
.Sp
.in +0.5i
.TS
@@ -140,7 +166,7 @@
\-a list all settings, including default values
\-d list only default values, not necessary current ones
.TE
[email protected]@ -934,7 +933,7 @@
[email protected]@ -1083,7 +1082,7 @@ Options:
.Sp
.in +0.5i
.TS
@@ -149,7 +175,7 @@
\-O <directory> T{
specifies base directory where files should be placed
T}
[email protected]@ -1130,7 +1129,7 @@
[email protected]@ -1354,7 +1353,7 @@ The following escapes are supported:
.Sp
.in +0.5i
.TS
@@ -158,12 +184,3 @@
\\a bell
\\e escape
\\n new line
[email protected]@ -1996,7 +1995,7 @@
- password is used.
-
- .SH SEE ALSO
--.BR ftpd (8),\ ftp (1)
-+.BR ftpd (1M),\ ftp (1)
- .br
- RFC854 (telnet),
- RFC959 (ftp),
--- a/components/lftp/patches/sun_collision.patch Tue Oct 27 10:31:06 2015 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
---- src/attach.h.orig Fri Jun 17 05:58:31 2011
-+++ src/attach.h Wed Jul 13 01:57:06 2011
[email protected]@ -88,9 +88,9 @@
- TimeoutS(1);
- return m;
- }
-- struct sockaddr_un sun;
-- socklen_t sa_len=sizeof(sun);
-- a_sock=accept(sock,(sockaddr*)&sun,&sa_len);
-+ struct sockaddr_un un;
-+ socklen_t sa_len=sizeof(un);
-+ a_sock=accept(sock,(sockaddr*)&un,&sa_len);
- if(a_sock==-1 && E_RETRY(errno)) {
- Block(sock,POLLIN);
- return m;
[email protected]@ -161,11 +161,11 @@
- int fl=fcntl(sock,F_GETFL);
- fcntl(sock,F_SETFL,fl|O_NONBLOCK);
- fcntl(sock,F_SETFD,FD_CLOEXEC);
-- struct sockaddr_un sun;
-- memset(&sun,0,sizeof(sun));
-- sun.sun_family=AF_UNIX;
-- strncpy(sun.sun_path,path,sizeof(sun.sun_path));
-- if(bind(sock,(sockaddr*)&sun,SUN_LEN(&sun))==-1) {
-+ struct sockaddr_un un;
-+ memset(&un,0,sizeof(un));
-+ un.sun_family=AF_UNIX;
-+ strncpy(un.sun_path,path,sizeof(un.sun_path));
-+ if(bind(sock,(sockaddr*)&un,SUN_LEN(&un))==-1) {
- perror("bind");
- close(sock);
- sock=-1;
[email protected]@ -219,12 +219,12 @@
- m=MOVED;
- }
- if(!connected) {
-- struct sockaddr_un sun;
-- memset(&sun,0,sizeof(sun));
-- sun.sun_family=AF_UNIX;
-+ struct sockaddr_un un;
-+ memset(&un,0,sizeof(un));
-+ un.sun_family=AF_UNIX;
- const char *path=AcceptTermFD::get_sock_path(pid);
-- strncpy(sun.sun_path,path,sizeof(sun.sun_path));
-- int res=connect(sock,(sockaddr*)&sun,SUN_LEN(&sun));
-+ strncpy(un.sun_path,path,sizeof(un.sun_path));
-+ int res=connect(sock,(sockaddr*)&un,SUN_LEN(&un));
- if(res==-1 && !NonFatalError(errno)) {
- error=Error::Fatal(xstring::format("connect(%s): %s",path,strerror(errno)));
- return MOVED;