[64079] trunk/dports/net/vsftpd

jameskyle at macports.org jameskyle at macports.org
Sun Feb 21 12:43:47 PST 2010


Revision: 64079
          http://trac.macports.org/changeset/64079
Author:   jameskyle at macports.org
Date:     2010-02-21 12:43:45 -0800 (Sun, 21 Feb 2010)
Log Message:
-----------
Updated vsftpd to most recent version (2.2.2)
Added launchd.plist for vsftpd
Added livecheck for vsftpd

Modified Paths:
--------------
    trunk/dports/net/vsftpd/Portfile
    trunk/dports/net/vsftpd/files/patch-vsftpd.conf.diff

Modified: trunk/dports/net/vsftpd/Portfile
===================================================================
--- trunk/dports/net/vsftpd/Portfile	2010-02-21 18:53:57 UTC (rev 64078)
+++ trunk/dports/net/vsftpd/Portfile	2010-02-21 20:43:45 UTC (rev 64079)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name			vsftpd
-version			2.0.7
+version			2.2.2
 categories		net
 platforms		darwin
 maintainers		pmq openmaintainer
@@ -16,8 +16,9 @@
 
 homepage		http://vsftpd.beasts.org
 master_sites		ftp://vsftpd.beasts.org/users/cevans/
-checksums		sha1 760afe849d1ebe10592ef29032b6e00e7f1bbf79 \
-			rmd160 8947c7ae00214fb30c9d7d2cfba5116643e1d8c7
+checksums       md5     6d6bc136af14c23f8fef6f1a51f55418 \
+                sha1    43976c6dbffe8e4bdc5f4add73a0c1431662a6c6 \
+                rmd160  2703291a9ce76f68cc8ef82f04cb28c471946f53
 
 patchfiles		patch-sysdeputil.c.diff \
 			patch-vsf_findlibs.sh.diff \
@@ -50,6 +51,10 @@
 
 build.target
 
+startupitem.create yes
+startupitem.name ${name}
+startupitem.executable ${prefix}/sbin/${name} ${prefix}/etc/${name}.conf
+
 post-destroot {
     xinstall ${worksrcpath}/vsftpd.conf ${destroot}${prefix}/etc/vsftpd.conf.sample
     set docdir ${destroot}${prefix}/share/doc/${name}-${version}
@@ -78,3 +83,8 @@
 platform darwin 9 {
 	patchfiles-append oldpam.diff
 }
+
+
+livecheck.type regex
+livecheck.url ${homepage}
+livecheck.regex "vsftpd-(\\d+(?:\\.\\d+)*)"

Modified: trunk/dports/net/vsftpd/files/patch-vsftpd.conf.diff
===================================================================
--- trunk/dports/net/vsftpd/files/patch-vsftpd.conf.diff	2010-02-21 18:53:57 UTC (rev 64078)
+++ trunk/dports/net/vsftpd/files/patch-vsftpd.conf.diff	2010-02-21 20:43:45 UTC (rev 64079)
@@ -1,17 +1,18 @@
---- vsftpd.conf.orig	2005-05-21 00:52:54.000000000 +0200
-+++ vsftpd.conf		2006-01-09 20:51:29.000000000 +0100
-@@ -100,4 +100,13 @@
- # sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
- # the presence of the "-R" option, so there is a strong case for enabling it.
- #ls_recurse_enable=YES
--
+--- vsftpd.conf.old	2010-02-20 13:55:06.000000000 -0800
++++ vsftpd.conf	2010-02-20 13:56:58.000000000 -0800
+@@ -92,7 +92,7 @@
+ # You may specify an explicit list of local users to chroot() to their home
+ # directory. If chroot_local_user is YES, then this list becomes a list of
+ # users to NOT chroot().
+-#chroot_local_user=YES
++chroot_local_user=YES
+ #chroot_list_enable=YES
+ # (default follows)
+ #chroot_list_file=/etc/vsftpd.chroot_list
+@@ -112,3 +112,6 @@
+ # sockets, you must run two copies of vsftpd with two configuration files.
+ # Make sure, that one of the listen options is commented !!
+ #listen_ipv6=YES
 +#
 +# Name of pam module
 +pam_service_name=ftpd
-+#
-+# Chroot local users by default
-+chroot_local_user=YES
-+#
-+# Turn on vsftpd into the standalone mode
-+# If you run vsftpd through a super-server, change to NO.
-+listen=YES
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100221/fbb6b77f/attachment.html>


More information about the macports-changes mailing list