From owner-freebsd-ports Fri Nov 10 5:10:10 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7ED4937B4C5 for ; Fri, 10 Nov 2000 05:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA28549; Fri, 10 Nov 2000 05:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from exchange.mistral.co.uk (adsl-195-184-238-77.mistral-uk.net [195.184.238.77]) by hub.freebsd.org (Postfix) with ESMTP id D289F37B479 for ; Fri, 10 Nov 2000 05:00:53 -0800 (PST) Received: from bizboz.mistral.co.uk ([195.184.225.25]) by exchange.mistral.co.uk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id VVX8L6VY; Fri, 10 Nov 2000 12:50:28 -0000 Received: by bizboz.mistral.co.uk (Postfix, from userid 1000) id 64C99379; Fri, 10 Nov 2000 13:00:45 +0000 (GMT) Message-Id: <20001110130045.64C99379@bizboz.mistral.co.uk> Date: Fri, 10 Nov 2000 13:00:45 +0000 (GMT) From: hdm@mistral.co.uk Reply-To: hdm@mistral.co.uk To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/22736: Add docs to ftp/proftpd. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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