Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2000 13:00:45 +0000 (GMT)
From:      hdm@mistral.co.uk
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22736: Add docs to ftp/proftpd.
Message-ID:  <20001110130045.64C99379@bizboz.mistral.co.uk>

next in thread | raw e-mail | index | archive | help

>Number:         22736
>Category:       ports
>Synopsis:       Add docs to ftp/proftpd.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 10 05:10:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Mitchell
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
Mistral Internet
>Environment:

FreeBSD bizboz.mistral.co.uk 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Mon Oct  2 09:49:34 BST 2000     root@bizboz.mistral.co.uk:/usr/obj/usr/src/sys/BIZBOZ  i386

>Description:

This patch adds in the documentation to the ProFTPD port (ftp/proftpd).
It's kinda handy to have around, as ProFTPD has quite a lot of config
file options...

>How-To-Repeat:

	n/a

>Fix:

	Here's the patch.

diff -urN /usr/ports/ftp/proftpd/Makefile proftpd/Makefile
--- /usr/ports/ftp/proftpd/Makefile	Fri Jul 28 19:00:59 2000
+++ proftpd/Makefile	Fri Nov 10 08:20:20 2000
@@ -69,6 +69,11 @@
 		${WRKSRC}/sample-configurations/basic.conf ${PREFIX}/etc/proftpd.conf; \
 	fi
 	@${SED} -e 's,/usr/local,${PREFIX},g' ${FILESDIR}/proftpd.sh.sample > ${PREFIX}/etc/rc.d/proftpd.sh.sample
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${PREFIX}/share/doc/proftpd
+	@${INSTALL_DATA} ${WRKSRC}/doc/Configuration.html ${PREFIX}/share/doc/proftpd
+	@${INSTALL_DATA} ${WRKSRC}/doc/FAQ-config.html ${PREFIX}/share/doc/proftpd
+.endif
 
 	@${CAT} ${PKGMESSAGE}
 
diff -urN /usr/ports/ftp/proftpd/pkg-plist proftpd/pkg-plist
--- /usr/ports/ftp/proftpd/pkg-plist	Mon Oct 11 05:41:55 1999
+++ proftpd/pkg-plist	Fri Nov 10 08:22:53 2000
@@ -5,3 +5,6 @@
 @exec if [ ! -f %D/etc/proftpd.conf ] ; then cp -p %D/%F %B/proftpd.conf; fi
 libexec/proftpd
 sbin/ftpshut
+share/doc/proftpd/Configuration.html
+share/doc/proftpd/FAQ-config.html
+@dirrm share/doc/proftpd

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001110130045.64C99379>