[121065] trunk/dports/net/vsftpd/Portfile
pixilla at macports.org
pixilla at macports.org
Mon Jun 16 12:25:05 PDT 2014
Revision: 121065
https://trac.macports.org/changeset/121065
Author: pixilla at macports.org
Date: 2014-06-16 12:25:05 -0700 (Mon, 16 Jun 2014)
Log Message:
-----------
net/vsftpd:
- If no conf file exists copy the sample in place during activate. Closes #26126
Modified Paths:
--------------
trunk/dports/net/vsftpd/Portfile
Modified: trunk/dports/net/vsftpd/Portfile
===================================================================
--- trunk/dports/net/vsftpd/Portfile 2014-06-16 19:23:59 UTC (rev 121064)
+++ trunk/dports/net/vsftpd/Portfile 2014-06-16 19:25:05 UTC (rev 121065)
@@ -4,6 +4,7 @@
name vsftpd
version 3.0.2
+revision 1
categories net
license {GPL-2 OpenSSLException}
platforms darwin
@@ -69,6 +70,13 @@
file copy ${worksrcpath}/SECURITY ${docdir}
}
+post-activate {
+ if {![file exists ${prefix}/etc/vsftpd.conf]} {
+ copy ${prefix}/etc/vsftpd.conf.sample \
+ ${prefix}/etc/vsftpd.conf
+ }
+}
+
destroot.keepdirs "${destroot}${prefix}/var/empty/" \
"${destroot}${prefix}/var/log/"
@@ -87,6 +95,7 @@
patchfiles-append oldpam.diff
}
+notes "To configure ${name} edit ${prefix}/etc/vsftpd.conf."
livecheck.type regex
livecheck.url ${homepage}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140616/cda46c77/attachment.html>
More information about the macports-changes
mailing list