Date: Sun, 13 Sep 2009 16:25:32 +0800 (CST) From: Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/138778: [PATCH] Change the location of the sample config files of ftp/pure-ftpd Message-ID: <20090913082532.5882623941E@cnmc32.hs.ntnu.edu.tw> Resent-Message-ID: <200909130840.n8D8e1lD036078@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 138778 >Category: ports >Synopsis: [PATCH] Change the location of the sample config files of ftp/pure-ftpd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 13 08:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Denny Lin >Release: FreeBSD 7.2-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD cnmc32.hs.ntnu.edu.tw 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Mon Aug 10 17:02:08 CST 2009 root@cnmc32.hs.ntnu.edu.tw:/usr/obj/usr/src/sys/CNMC32 amd64 >Description: The sample configuration files should be put in /usr/local/share/examples instead of /usr/local/etc. >How-To-Repeat: Install ftp/pure-ftpd. >Fix: The patch changes the destination of the sample configuration files. --- pure-ftpd.patch begins here --- diff -u /usr/ports/ftp/pure-ftpd/Makefile ports/ftp/pure-ftpd/Makefile --- /usr/ports/ftp/pure-ftpd/Makefile 2009-08-22 12:33:16.000000000 +0800 +++ ports/ftp/pure-ftpd/Makefile 2009-09-13 16:13:49.000000000 +0800 @@ -162,16 +162,16 @@ ${WRKSRC}/configuration-file/pure-config.pl.in post-install: - ${INSTALL_DATA} ${WRKSRC}/pureftpd-ldap.conf ${PREFIX}/etc/pureftpd-ldap.conf.sample - ${INSTALL_DATA} ${WRKSRC}/pureftpd-mysql.conf ${PREFIX}/etc/pureftpd-mysql.conf.sample - ${INSTALL_DATA} ${WRKSRC}/pureftpd-pgsql.conf ${PREFIX}/etc/pureftpd-pgsql.conf.sample - ${INSTALL_DATA} ${WRKSRC}/configuration-file/pure-ftpd.conf ${PREFIX}/etc/pure-ftpd.conf.sample ${INSTALL_SCRIPT} ${WRKSRC}/configuration-file/pure-config.pl ${PREFIX}/sbin/ .if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} cd ${WRKSRC}/contrib && ${INSTALL_SCRIPT} ${CONTRIB} ${EXAMPLESDIR} ${MKDIR} ${PAM_DIR} ${INSTALL_DATA} ${PAM_TEMPL} ${PAM_DIR}/${PAM_TARGET} + ${INSTALL_DATA} ${WRKSRC}/pureftpd-ldap.conf ${EXAMPLESDIR}/pureftpd-ldap.conf.sample + ${INSTALL_DATA} ${WRKSRC}/pureftpd-mysql.conf ${EXAMPLESDIR}/pureftpd-mysql.conf.sample + ${INSTALL_DATA} ${WRKSRC}/pureftpd-pgsql.conf ${EXAMPLESDIR}/pureftpd-pgsql.conf.sample + ${INSTALL_DATA} ${WRKSRC}/configuration-file/pure-ftpd.conf ${EXAMPLESDIR}/pure-ftpd.conf.sample .endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} Common subdirectories: /usr/ports/ftp/pure-ftpd/files and ports/ftp/pure-ftpd/files diff -u /usr/ports/ftp/pure-ftpd/pkg-plist ports/ftp/pure-ftpd/pkg-plist --- /usr/ports/ftp/pure-ftpd/pkg-plist 2008-02-14 19:55:22.000000000 +0800 +++ ports/ftp/pure-ftpd/pkg-plist 2009-09-13 16:12:36.000000000 +0800 @@ -1,10 +1,6 @@ bin/pure-pw bin/pure-pwconvert bin/pure-statsdecode -etc/pure-ftpd.conf.sample -etc/pureftpd-ldap.conf.sample -etc/pureftpd-mysql.conf.sample -etc/pureftpd-pgsql.conf.sample sbin/pure-authd sbin/pure-config.pl sbin/pure-ftpd --- pure-ftpd.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090913082532.5882623941E>