[34426] trunk/dports/net/vsftpd
pmq at macports.org
pmq at macports.org
Sun Feb 24 11:35:25 PST 2008
Revision: 34426
http://trac.macosforge.org/projects/macports/changeset/34426
Author: pmq at macports.org
Date: 2008-02-24 11:35:25 -0800 (Sun, 24 Feb 2008)
Log Message:
-----------
Version bump to 2.0.6.
Cleanup.
Added openmaintainer.
Modified Paths:
--------------
trunk/dports/net/vsftpd/Portfile
Added Paths:
-----------
trunk/dports/net/vsftpd/files/patch-Makefile.diff
Modified: trunk/dports/net/vsftpd/Portfile
===================================================================
--- trunk/dports/net/vsftpd/Portfile 2008-02-24 19:34:13 UTC (rev 34425)
+++ trunk/dports/net/vsftpd/Portfile 2008-02-24 19:35:25 UTC (rev 34426)
@@ -3,10 +3,10 @@
PortSystem 1.0
name vsftpd
-version 2.0.5
+version 2.0.6
categories net
platforms darwin
-maintainers pmq
+maintainers pmq openmaintainer
description Secure FTP server for UNIX systems
long_description vsftpd is an FTP server, or daemon. The 'vs' stands for \
@@ -16,15 +16,17 @@
homepage http://vsftpd.beasts.org
master_sites ftp://vsftpd.beasts.org/users/cevans/
-checksums sha1 9b6a079699aaeb01219665acf203c093f94faef0 \
- rmd160 297c383aae9fd90f75d5d6a62b2ed5e54adf25d4
+checksums sha1 23fcc21996cd1404f6957d83bfb2e8004401a858 \
+ rmd160 33e9782e2c99986c2c8b60fc29880cedad7ba1fa
patchfiles patch-sysdeputil.c.diff \
patch-vsf_findlibs.sh.diff \
- patch-vsftpd.conf.diff
+ patch-vsftpd.conf.diff \
+ patch-Makefile.diff
configure {
reinplace "s|/etc/|${prefix}/etc/|g" \
+ ${worksrcpath}/Makefile \
${worksrcpath}/defs.h \
${worksrcpath}/tunables.c \
${worksrcpath}/vsftpd.8 \
@@ -40,45 +42,28 @@
reinplace "s|/etc/vsftpd|${prefix}/etc/vsftpd|g" \
${worksrcpath}/vsftpd.conf.5
- reinplace "s|#local_enable|local_enable|" \
- ${worksrcpath}/vsftpd.conf
- reinplace "s|anonymous_enable=YES|anonymous_enable=NO|" \
- ${worksrcpath}/vsftpd.conf
+ reinplace "s|/usr/local/man|${destroot}${prefix}/share/man|g" \
+ ${worksrcpath}/Makefile
+ reinplace "s|/usr/local|${destroot}${prefix}|g" \
+ ${worksrcpath}/Makefile
}
build.target
-build.env CFLAGS="${configure.cflags} -fno-common" \
- LDFLAGS=${configure.ldflags} \
- CPPFLAGS=${configure.cppflags}
-destroot {
- xinstall -d -W ${destroot}${prefix} \
- sbin etc var/empty var/log share/man/man5 \
- share/man/man8 share/doc/${name}
- file copy ${worksrcpath}/vsftpd ${destroot}${prefix}/sbin
- file copy ${worksrcpath}/vsftpd.8 ${destroot}${prefix}/share/man/man8
- file copy ${worksrcpath}/vsftpd.conf.5 ${destroot}${prefix}/share/man/man5
- file copy ${worksrcpath}/vsftpd.conf ${destroot}${prefix}/etc
- xinstall -v -m 644 -W ${worksrcpath} \
- AUDIT BENCHMARKS BUGS FAQ README README.security TUNING \
- ${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/EXAMPLE ${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/xinetd.d ${destroot}${prefix}/share/doc/${name}
+post-destroot {
+ xinstall ${worksrcpath}/vsftpd.conf ${destroot}${prefix}/etc/vsftpd.conf.sample
+ set docdir ${destroot}${prefix}/share/doc/${name}-${version}
+ xinstall -d ${docdir}
+ xinstall -m 644 -W ${worksrcpath} AUDIT BENCHMARKS BUGS COPYING FAQ LICENSE \
+ README README.security README.ssl SIZE SPEED TODO TUNING \
+ ${docdir}
+ file copy ${worksrcpath}/EXAMPLE ${docdir}
+ file copy ${worksrcpath}/SECURITY ${docdir}
}
destroot.keepdirs "${destroot}${prefix}/var/empty/" \
"${destroot}${prefix}/var/log/"
-# Notify the user on how to launch the ftpd
-post-install {
- ui_msg "\nYou can now start ${name} in 3 ways,"
- ui_msg "either via a super-server like xinetd or inetd,"
- ui_msg "in standalone mode or if you're using Darwin 8.x"
- ui_msg "and above, launchd(8).\n"
- ui_msg "By default, ${name} will runs in standalone"
- ui_msg "mode.\n"
-}
-
variant ssl description "Enable SSL support" {
depends_lib-append port:openssl
Added: trunk/dports/net/vsftpd/files/patch-Makefile.diff
===================================================================
--- trunk/dports/net/vsftpd/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/net/vsftpd/files/patch-Makefile.diff 2008-02-24 19:35:25 UTC (rev 34426)
@@ -0,0 +1,7 @@
+--- Makefile.orig 2008-02-15 00:42:35.000000000 +0100
++++ Makefile 2008-02-15 00:42:48.000000000 +0100
+@@ -43,3 +43,4 @@
+ clean:
+ rm -f *.o *.swp vsftpd
+
++.PHONY: install
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080224/c8e54534/attachment-0001.html
More information about the macports-changes
mailing list