aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ftp-tls
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2003-09-10 16:14:24 +0800
committernetchild <netchild@FreeBSD.org>2003-09-10 16:14:24 +0800
commit5751a55851c116156647e3c947ea93d19da72a07 (patch)
tree8eec7d745f2e94a40bd68811de2399041e7c5ea9 /ftp/ftp-tls
parentf8c107cbb9d6f5a6f21d688939f0e798e5a23fe5 (diff)
downloadfreebsd-ports-gnome-5751a55851c116156647e3c947ea93d19da72a07.tar.gz
freebsd-ports-gnome-5751a55851c116156647e3c947ea93d19da72a07.tar.zst
freebsd-ports-gnome-5751a55851c116156647e3c947ea93d19da72a07.zip
- Fix some minor nits in the patched manual page.
- Install PORTDOCS (unless NOPORTDOCS is specified). This changes where made to bring this port in line with the newly added ftp/ftpd-tls port. Submitted by: Marius Strobl <marius@alchemy.franken.de>
Diffstat (limited to 'ftp/ftp-tls')
-rw-r--r--ftp/ftp-tls/Makefile6
-rw-r--r--ftp/ftp-tls/files/patch-ftp.1.TLS25
-rw-r--r--ftp/ftp-tls/pkg-plist3
3 files changed, 28 insertions, 6 deletions
diff --git a/ftp/ftp-tls/Makefile b/ftp/ftp-tls/Makefile
index 7053d75d9dc9..31c64fa088b0 100644
--- a/ftp/ftp-tls/Makefile
+++ b/ftp/ftp-tls/Makefile
@@ -31,5 +31,11 @@ CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/ftp ${PREFIX}/bin/ftp-tls
@${INSTALL_MAN} ${WRKSRC}/ftp.1.TLS ${PREFIX}/man/man1/ftp-tls.1
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for i in README.TLS draft-murray-auth-ftp-ssl-09.txt
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.post.mk>
diff --git a/ftp/ftp-tls/files/patch-ftp.1.TLS b/ftp/ftp-tls/files/patch-ftp.1.TLS
index 3365961fc79e..bb7d4ae62a1d 100644
--- a/ftp/ftp-tls/files/patch-ftp.1.TLS
+++ b/ftp/ftp-tls/files/patch-ftp.1.TLS
@@ -1,7 +1,11 @@
--- ftp.1.TLS.orig Thu Sep 5 21:00:21 2002
+++ ftp.1.TLS Fri Oct 25 15:28:06 2002
-@@ -38,23 +38,23 @@
- .Dt FTP 1
+@@ -35,26 +35,26 @@
+ .\" @(#)ftp.1 8.3 (Berkeley) 10/9/94
+ .\"
+ .Dd August 18, 1997
+-.Dt FTP 1
++.Dt FTP-TLS 1
.Os
.Sh NAME
-.Nm ftp
@@ -9,7 +13,7 @@
.Nd
.Tn ARPANET
-file transfer program
-+file transfer program supporting FTP AUTH TLS
++Internet file transfer program supporting AUTH TLS
.Sh SYNOPSIS
-.Nm ftp
+.Nm ftp-tls
@@ -68,11 +72,20 @@
.Ic put ) ,
only the first filename generated by the
.Dq globbing
-@@ -1608,6 +1606,7 @@
- URL of HTTP proxy to use when making HTTP URL requests.
+@@ -1609,6 +1607,7 @@
.El
.Sh SEE ALSO
-+.Xr tftp 1 ,
++.Xr ftp 1 ,
.Xr tftp 1 ,
.Xr getservbyname 3 ,
.Xr editrc 5 ,
+ .Xr services 5 ,
+@@ -1616,7 +1615,7 @@
+ .Xr ftpd 8
+ .Sh HISTORY
+ The
+-.Nm
++.Ic ftp
+ command appeared in
+ .Bx 4.2 .
+ .Pp
diff --git a/ftp/ftp-tls/pkg-plist b/ftp/ftp-tls/pkg-plist
index 1843e13515a7..fb6b1214ffde 100644
--- a/ftp/ftp-tls/pkg-plist
+++ b/ftp/ftp-tls/pkg-plist
@@ -1 +1,4 @@
bin/ftp-tls
+%%PORTDOCS%%%%DOCSDIR%%/README.TLS
+%%PORTDOCS%%%%DOCSDIR%%/draft-murray-auth-ftp-ssl-09.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%