summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2003-09-10 08:14:24 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2003-09-10 08:14:24 +0000
commit44501389e3473e8fd8324804b26fb837f875b69e (patch)
treeed4bd17484bfb317d1888889b18209f7f1399eb6 /ftp
parentAdd ftpd-tls, a FTP AUTH TLS aware ftp server. This is the counterpart (diff)
- 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>
Notes
Notes: svn path=/head/; revision=88904
Diffstat (limited to 'ftp')
-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%%