PSARC 2015/428 Normalization of Solaris man page section numbers
authorStacy Yeh <stacy.yeh@oracle.com>
Tue, 27 Oct 2015 13:49:55 -0700
changeset 5010 0db6cf3e7136
parent 5009 b24aab703667
child 5017 44d0e60f5210
PSARC 2015/428 Normalization of Solaris man page section numbers 21918668 lftp upgrade to version 4.6.4 and normalize man pages
components/lftp/Makefile
components/lftp/lftp.p5m
components/lftp/patches/lftp.1.patch
components/lftp/patches/lftp.conf.5.patch
components/lftp/patches/sun_collision.patch
--- a/components/lftp/Makefile	Tue Oct 27 10:31:06 2015 -0700
+++ b/components/lftp/Makefile	Tue Oct 27 13:49:55 2015 -0700
@@ -26,16 +26,16 @@
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		lftp
-COMPONENT_VERSION=	4.3.1
+COMPONENT_VERSION=	4.6.4
 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
 COMPONENT_PROJECT_URL=	http://lftp.yar.ru/
 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
 COMPONENT_ARCHIVE_HASH=	\
-    sha256:a3df26383053081e67b8101aa9e1705ee8274e14a5938746a944b0a2d97948e3
-COMPONENT_ARCHIVE_URL=	http://ftp.yars.free.net/pub/source/lftp/$(COMPONENT_ARCHIVE)
+    sha256:762ad076124e605112feabbc5ae3df44e91bc3e01d5cd9b96afcdba14d6b407e
+COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/ftp/$(COMPONENT_ARCHIVE)	
 COMPONENT_BUGDB=	utility/lftp
 
-TPNO=			16991
+TPNO=			25164
 
 include $(WS_MAKE_RULES)/prep.mk
 include $(WS_MAKE_RULES)/configure.mk
@@ -64,6 +64,7 @@
 REQUIRED_PACKAGES += library/expat
 REQUIRED_PACKAGES += library/gnutls
 REQUIRED_PACKAGES += library/readline
+REQUIRED_PACKAGES += library/zlib
 REQUIRED_PACKAGES += runtime/perl-512
 REQUIRED_PACKAGES += runtime/perl-520
 REQUIRED_PACKAGES += shell/ksh93
--- a/components/lftp/lftp.p5m	Tue Oct 27 10:31:06 2015 -0700
+++ b/components/lftp/lftp.p5m	Tue Oct 27 13:49:55 2015 -0700
@@ -41,6 +41,7 @@
 file path=usr/share/lftp/import-ncftp mode=0555
 file path=usr/share/lftp/import-netscape mode=0555
 file path=usr/share/lftp/verify-file mode=0555
+file path=usr/share/lftp/xdg-move
 file path=usr/share/locale/cs/LC_MESSAGES/lftp.mo
 file path=usr/share/locale/de/LC_MESSAGES/lftp.mo
 file path=usr/share/locale/es/LC_MESSAGES/lftp.mo
@@ -51,10 +52,11 @@
 file path=usr/share/locale/pl/LC_MESSAGES/lftp.mo
 file path=usr/share/locale/pt_BR/LC_MESSAGES/lftp.mo
 file path=usr/share/locale/ru/LC_MESSAGES/lftp.mo
+file path=usr/share/locale/uk/LC_MESSAGES/lftp.mo
 file path=usr/share/locale/zh_CN/LC_MESSAGES/lftp.mo
 file path=usr/share/locale/zh_HK/LC_MESSAGES/lftp.mo
 file path=usr/share/locale/zh_TW/LC_MESSAGES/lftp.mo
 file path=usr/share/man/man1/lftp.1
 file path=usr/share/man/man1/lftpget.1
-file usr/share/man/man5/lftp.conf.5 path=usr/share/man/man4/lftp.conf.4
+file path=usr/share/man/man5/lftp.conf.5
 license lftp.license license=GPLv3
--- 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
-@@ -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
+@@ -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
-@@ -164,7 +163,7 @@
+@@ -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}
-@@ -182,7 +181,7 @@
+@@ -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
-@@ -292,7 +291,7 @@
+@@ -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
+@@ -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
+@@ -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)
-@@ -318,7 +317,7 @@
+ \-e	delete target file before the transfer
+@@ -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}
-@@ -343,7 +342,7 @@
+@@ -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
-@@ -413,7 +412,7 @@
+@@ -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
+@@ -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.
-@@ -436,7 +435,7 @@
+@@ -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}
-@@ -620,7 +619,7 @@
+@@ -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
-@@ -668,7 +667,7 @@
+@@ -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}
-@@ -690,7 +689,7 @@
+@@ -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}
-@@ -745,7 +744,7 @@
+@@ -893,7 +892,7 @@ destination is given.
  .Sp
  .in +0.5i
  .TS
@@ -113,7 +139,7 @@
  \-q	Be quiet.
  \-v	Be verbose.
  \-Q	T{
-@@ -766,7 +765,7 @@
+@@ -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.
-@@ -829,7 +828,7 @@
+@@ -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
-@@ -876,7 +875,7 @@
+@@ -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
-@@ -934,7 +933,7 @@
+@@ -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}
-@@ -1130,7 +1129,7 @@
+@@ -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
-@@ -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/lftp.conf.5.patch	Tue Oct 27 10:31:06 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
---- doc/lftp.conf.5.orig	st lis  3 06:16:28 2010
-+++ doc/lftp.conf.5	st lis  3 06:16:17 2010
-@@ -1,4 +1,4 @@
--.TH LFTP.CONF 5
-+.TH LFTP.CONF 4
- .SH NAME
- lftp.conf \- the global configuration file for lftp
- 
--- 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
-@@ -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;
-@@ -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;
-@@ -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;