[121066] trunk/dports/net/vsftpd/Portfile

pixilla at macports.org pixilla at macports.org
Mon Jun 16 12:29:20 PDT 2014


Revision: 121066
          https://trac.macports.org/changeset/121066
Author:   pixilla at macports.org
Date:     2014-06-16 12:29:20 -0700 (Mon, 16 Jun 2014)
Log Message:
-----------
net/vsftpd:
- White space edit.
- Add mode line.

Modified Paths:
--------------
    trunk/dports/net/vsftpd/Portfile

Modified: trunk/dports/net/vsftpd/Portfile
===================================================================
--- trunk/dports/net/vsftpd/Portfile	2014-06-16 19:25:05 UTC (rev 121065)
+++ trunk/dports/net/vsftpd/Portfile	2014-06-16 19:29:20 UTC (rev 121066)
@@ -1,56 +1,57 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
 
-name			vsftpd
-version			3.0.2
-revision        1
-categories		net
-license			{GPL-2 OpenSSLException}
-platforms		darwin
-maintainers		nomaintainer
+name                vsftpd
+version             3.0.2
+revision            1
+categories          net
+license             {GPL-2 OpenSSLException}
+platforms           darwin
+maintainers         nomaintainer
 
-description		Secure FTP server for UNIX systems
-long_description	vsftpd is an FTP server, or daemon. The 'vs' stands for \
-			Very Secure. Obviously this is not a guarantee, but a \
-			reflection that it is written with security in mind, and \
-			carefully designed to be resilient to attack.
+description         Secure FTP server for UNIX systems
+long_description    vsftpd is an FTP server, or daemon. The 'vs' stands for \
+                    Very Secure. Obviously this is not a guarantee, but a \
+                    reflection that it is written with security in mind, and \
+                    carefully designed to be resilient to attack.
 
-homepage		https://security.appspot.com/vsftpd.html
-master_sites		https://security.appspot.com/downloads/
+homepage            https://security.appspot.com/vsftpd.html
+master_sites        https://security.appspot.com/downloads/
 
 checksums           md5     8b00c749719089401315bd3c44dddbb2 \
                     sha1    f36976bb1c5df25ac236d8a29e965ba2b825ccd0 \
                     rmd160  35005dcc03537259338b5ea199df679221df362f
                     
-patchfiles		patch-sysdeputil.c.diff \
-			patch-vsf_findlibs.sh.diff \
-			patch-vsftpd.conf.diff \
-			patch-Makefile.diff
+patchfiles          patch-sysdeputil.c.diff \
+                    patch-vsf_findlibs.sh.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 \
-		${worksrcpath}/vsftpd.conf
-	reinplace "s|/var/|${prefix}/var/|g" \
-		${worksrcpath}/tunables.c \
-		${worksrcpath}/vsftpd.conf.5 \
-		${worksrcpath}/vsftpd.conf
-	reinplace "s|/usr/share/empty|${prefix}/var/empty|g" \
-		${worksrcpath}/tunables.c
-	reinplace "s|/usr/share/ssl/|${prefix}/share/ssl/|g" \
-		${worksrcpath}/tunables.c
-	reinplace "s|/etc/vsftpd|${prefix}/etc/vsftpd|g" \
-		${worksrcpath}/vsftpd.conf.5
+    reinplace "s|/etc/|${prefix}/etc/|g" \
+        ${worksrcpath}/Makefile \
+        ${worksrcpath}/defs.h \
+        ${worksrcpath}/tunables.c \
+        ${worksrcpath}/vsftpd.8 \
+        ${worksrcpath}/vsftpd.conf
+    reinplace "s|/var/|${prefix}/var/|g" \
+        ${worksrcpath}/tunables.c \
+        ${worksrcpath}/vsftpd.conf.5 \
+        ${worksrcpath}/vsftpd.conf
+    reinplace "s|/usr/share/empty|${prefix}/var/empty|g" \
+        ${worksrcpath}/tunables.c
+    reinplace "s|/usr/share/ssl/|${prefix}/share/ssl/|g" \
+        ${worksrcpath}/tunables.c
+    reinplace "s|/etc/vsftpd|${prefix}/etc/vsftpd|g" \
+        ${worksrcpath}/vsftpd.conf.5
 
-	reinplace "s|/usr/local/man|${destroot}${prefix}/share/man|g" \
-		${worksrcpath}/Makefile
-	reinplace "s|/usr/local|${destroot}${prefix}|g" \
-		${worksrcpath}/Makefile
-	reinplace "s|-Werror||g" ${worksrcpath}/Makefile
+    reinplace "s|/usr/local/man|${destroot}${prefix}/share/man|g" \
+        ${worksrcpath}/Makefile
+    reinplace "s|/usr/local|${destroot}${prefix}|g" \
+        ${worksrcpath}/Makefile
+    reinplace "s|-Werror||g" ${worksrcpath}/Makefile
 }
 
 build.target
@@ -77,26 +78,26 @@
     }
 }
 
-destroot.keepdirs	"${destroot}${prefix}/var/empty/" \
-			"${destroot}${prefix}/var/log/"
+destroot.keepdirs   "${destroot}${prefix}/var/empty/" \
+                    "${destroot}${prefix}/var/log/"
 
 variant ssl description "Enable SSL support" {
-    depends_lib-append	port:openssl
+    depends_lib-append  port:openssl
 
     post-configure {
         reinplace "s|#undef VSF_BUILD_SSL|#define VSF_BUILD_SSL|" \
-	    ${worksrcpath}/builddefs.h
+        ${worksrcpath}/builddefs.h
     }
 
-    build.env-append	LDFLAGS=${configure.ldflags}
+    build.env-append    LDFLAGS=${configure.ldflags}
 }
 
 platform darwin 9 {
-	patchfiles-append oldpam.diff
+    patchfiles-append oldpam.diff
 }
 
-notes       "To configure ${name} edit ${prefix}/etc/vsftpd.conf."
+notes               "To configure ${name} edit ${prefix}/etc/vsftpd.conf."
 
-livecheck.type regex
-livecheck.url ${homepage}
-livecheck.regex "vsftpd-(\\d+(?:\\.\\d+)*)"
+livecheck.type      regex
+livecheck.url       ${homepage}
+livecheck.regex     "vsftpd-(\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140616/fbf0dbac/attachment.html>


More information about the macports-changes mailing list