[50526] trunk/dports/net/pureftpd/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Sat May 2 10:00:19 PDT 2009


Revision: 50526
          http://trac.macports.org/changeset/50526
Author:   macsforever2000 at macports.org
Date:     2009-05-02 10:00:19 -0700 (Sat, 02 May 2009)
Log Message:
-----------
Whitespace and lint.

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

Modified: trunk/dports/net/pureftpd/Portfile
===================================================================
--- trunk/dports/net/pureftpd/Portfile	2009-05-02 16:52:59 UTC (rev 50525)
+++ trunk/dports/net/pureftpd/Portfile	2009-05-02 17:00:19 UTC (rev 50526)
@@ -1,121 +1,112 @@
 # $Id$
 
-PortSystem 1.0
-name			pureftpd
-version			1.0.21
-categories		net
-platforms		darwin
-maintainers		nomaintainer
-homepage		http://pureftpd.org/
-description		A fast and standard-conformant FTP server
+PortSystem       1.0
 
-long_description	Pure-FTPd is a fast, production-quality, standard-conformant FTP server, \
-			based upon Troll-FTPd. \
-			Unlike other popular FTP servers, it's designed to be secure in default \
-			configuration, has no known buffer overflow, it is really trivial to set \
-			up and it is especially designed for modern kernels. \
-			Features include chroot()ed and/or virtual chroot()ed home directories, \
-			virtual domains, built-in 'ls', anti-warez system, bounded ports for \
-			passive downloads, FXP protocol, bandwidth throttling, ratios, \
-			LDAP / MySQL / PostgreSQL-based authentication, fortune files, Apache-like \
-			log files, fast standalone mode, text / HTML / XML real-time status report, \
-			virtual users, virtual quotas and more.
+name             pureftpd
+version          1.0.21
+categories       net
+platforms        darwin
+maintainers      nomaintainer
 
-master_sites		ftp://ftp.pureftpd.org/pure-ftpd/releases/ \
-			ftp://ftp.fr.pureftpd.org/pure-ftpd/releases/
+homepage         http://pureftpd.org/
+description      A fast and standard-conformant FTP server
 
-distname                pure-ftpd-${version}
-use_bzip2		yes
+long_description "Pure-FTPd is a fast, production-quality, standard-conformant FTP server, \
+                 based upon Troll-FTPd. \
+                 Unlike other popular FTP servers, it's designed to be secure in default \
+                 configuration, has no known buffer overflow, it is really trivial to set \
+                 up and it is especially designed for modern kernels. \
+                 Features include chroot()ed and/or virtual chroot()ed home directories, \
+                 virtual domains, built-in 'ls', anti-warez system, bounded ports for \
+                 passive downloads, FXP protocol, bandwidth throttling, ratios, \
+                 LDAP / MySQL / PostgreSQL-based authentication, fortune files, Apache-like \
+                 log files, fast standalone mode, text / HTML / XML real-time status report, \
+                 virtual users, virtual quotas and more."
 
-checksums		md5 ca8a8dbec0cd9c8ea92fc4c37ea9c410 \
-			sha1 1405ff2b9b9c3616c4e390eb99779884173a3347 \
-			rmd160 1ad61243c1f8a8d1055ee839eec0d9117681cf20
+master_sites     ftp://ftp.pureftpd.org/pure-ftpd/releases/ \
+                 ftp://ftp.fr.pureftpd.org/pure-ftpd/releases/
 
-patchfiles		patch-pam_pureftpd.diff
+distname         pure-ftpd-${version}
+use_bzip2        yes
 
-configure.args 		--with-everything \
-			--with-virtualchroot \
-			--with-paranoidmsg \
-			--with-pam \
-			--with-rendezvous \
-			--without-capabilities \
-			--mandir=${prefix}/share/man \
-			--infodir=${prefix}/share/info
+checksums        md5    ca8a8dbec0cd9c8ea92fc4c37ea9c410 \
+                 sha1   1405ff2b9b9c3616c4e390eb99779884173a3347 \
+                 rmd160 1ad61243c1f8a8d1055ee839eec0d9117681cf20
 
-destroot.destdir	prefix=${destroot}${prefix} \
-			mandir=${destroot}${prefix}/share/man
+patchfiles       patch-pam_pureftpd.diff
 
-post-destroot {		file mkdir ${destroot}${prefix}/share/doc/${name}
-			xinstall -m 644 -v -W ${worksrcpath} \
-				AUTHORS CONTACT FAQ HISTORY NEWS README \
-				README.Authentication-Modules README.Configuration-File \
-				README.LDAP README.MacOS-X README.MySQL README.PGSQL \
-				README.TLS README.Virtual-Users	pureftpd-ldap.conf \
-				pureftpd-mysql.conf pureftpd-pgsql.conf THANKS \
-				${destroot}${prefix}/share/doc/${name}
-			file copy ${worksrcpath}/pam/pure-ftpd \
-				${destroot}${prefix}/share/doc/${name}
-			}
+configure.args   --with-everything \
+                 --with-virtualchroot \
+                 --with-paranoidmsg \
+                 --with-pam \
+                 --with-rendezvous \
+                 --without-capabilities \
+                 --mandir=${prefix}/share/man \
+                 --infodir=${prefix}/share/info
 
-# Notify the user how to launch the ftpd
-post-install {		ui_msg "\nYou can now start PureFTPd in 3 ways,"
-			ui_msg "either via xinetd, in standalone mode, or"
-			ui_msg "if you're using Mac OS X 10.4 / Darwin 8.x"
-			ui_msg "via launchd(8).\n"
-			ui_msg "If you're under Mac OS X 10.3 or Mac OS X 10.4,"
-			ui_msg "you have to copy ${prefix}/share/doc/${name}/pure-ftpd"
-			ui_msg "to /etc/pam.d and use the '-lpam' flag when"
-			ui_msg "launching pure-ftpd to have PAM working.\n"
-			}
-			
-platform darwin 6	{ configure.args-delete --with-pam }
+destroot.destdir prefix=${destroot}${prefix} \
+                 mandir=${destroot}${prefix}/share/man
 
-variant tls {		depends_lib		lib:libssl.dylib:openssl
-			configure.args-append	--with-tls \
-						--with-certfile=${prefix}/etc/ssl/private/pure-ftpd.pem
-			}
+post-destroot { \
+    file mkdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 644 -v -W ${worksrcpath} \
+    AUTHORS CONTACT FAQ HISTORY NEWS README \
+    README.Authentication-Modules README.Configuration-File \
+    README.LDAP README.MacOS-X README.MySQL README.PGSQL \
+    README.TLS README.Virtual-Users pureftpd-ldap.conf \
+    pureftpd-mysql.conf pureftpd-pgsql.conf THANKS \
+    ${destroot}${prefix}/share/doc/${name}
+    file copy ${worksrcpath}/pam/pure-ftpd \
+    ${destroot}${prefix}/share/doc/${name}
+}
 
-variant nobanner	{ configure.args-append --without-banner }
+# Notify the user how to launch the ftpd
+post-install {
+    ui_msg "\nYou can now start PureFTPd in 3 ways,"
+    ui_msg "either via xinetd, in standalone mode, or"
+    ui_msg "if you're using Mac OS X 10.4 / Darwin 8.x"
+    ui_msg "via launchd(8).\n"
+    ui_msg "If you're under Mac OS X 10.3 or Mac OS X 10.4,"
+    ui_msg "you have to copy ${prefix}/share/doc/${name}/pure-ftpd"
+    ui_msg "to /etc/pam.d and use the '-lpam' flag when"
+    ui_msg "launching pure-ftpd to have PAM working.\n"
+}
+            
+platform darwin 6 {
+    configure.args-delete --with-pam
+}
 
-variant french		{ configure.args-append --with-language=french }
+# Langugage variants, should only be able to choose one.
+variant brazilian description "Use Bazilian language for server messages" { configure.args-append --with-language=brazilian }
+variant czech description "Use Czech language for server messages" { configure.args-append --with-language=czech }
+variant danish description "Use Danish language for server messages" { configure.args-append --with-language=danish }
+variant dutch description "Use Dutch language for server messages" { configure.args-append --with-language=dutch }
+variant french description "Use French language for server messages" { configure.args-append --with-language=french }
+variant french_funny description "Use French funny language for server messages" { configure.args-append --with-language=french-funny }
+variant german description "Use German language for server messages" { configure.args-append --with-language=german }
+variant italian description "Use Italian language for server messages" { configure.args-append --with-language=italian }
+variant korean description "Use Korean language for server messages" { configure.args-append --with-language=korean }
+variant norwegian description "Use Norwegian language for server messages" { configure.args-append --with-language=norwegian }
+variant polish description "Use Polish language for server messages" { configure.args-append --with-language=polish }
+variant romanian description "Use Romanian language for server messages" { configure.args-append --with-language=romanian }
+variant russian description "Use Russian language for server messages" { configure.args-append --with-language=russian }
+variant simplified_chinese description "Use simplified Chinese for server messages" { configure.args-append --with-language=simplified-chinese }
+variant slovak description "Use Slovak language for server messages" { configure.args-append --with-language=slovak }
+variant spanish description "Use Spanish language for server messages" { configure.args-append --with-language=spanish }
+variant swedish description "Use Swedish language for server messages" { configure.args-append --with-language=swedish }
+variant traditional_chinese description "Use traditional Chinese language for server messages" { configure.args-append --with-language=traditional-chinese }
 
-variant french_funny	{ configure.args-append --with-language=french-funny }
+variant mysql5 description "Use the native MySQL support for users database." {
+    depends_lib-append path:/opt/local/bin/mysql_config5:mysql5
+    configure.args-append --with-mysql
+    configure.cflags-append "-I${prefix}/include/mysql5/mysql"
+    configure.ldflags-append "-L${prefix}/lib/mysql5/mysql"
+}
 
-variant german		{ configure.args-append --with-language=german }
+variant nobanner description "Don't display the initial banner" { configure.args-append --without-banner }
 
-variant spanish		{ configure.args-append --with-language=spanish }
-
-variant italian		{ configure.args-append --with-language=italian }
-
-variant polish		{ configure.args-append --with-language=polish }
-
-variant danish		{ configure.args-append --with-language=danish }
-
-variant romanian	{ configure.args-append --with-language=romanian }
-
-variant brazilian	{ configure.args-append --with-language=brazilian }
-
-variant slovak		{ configure.args-append --with-language=slovak }
-
-variant dutch		{ configure.args-append --with-language=dutch }
-
-variant korean		{ configure.args-append --with-language=korean }
-
-variant swedish		{ configure.args-append --with-language=swedish }
-
-variant norwegian	{ configure.args-append --with-language=norwegian }
-
-variant russian		{ configure.args-append --with-language=russian }
-
-variant czech		{ configure.args-append --with-language=czech }
-
-variant traditional_chinese	{ configure.args-append --with-language=traditional-chinese }       
-
-variant simplified_chinese	{ configure.args-append --with-language=simplified-chinese }
-
-variant mysql5	{ 
-	depends_lib-append path:/opt/local/bin/mysql_config5:mysql5
-	configure.args-append --with-mysql
-	configure.cflags-append "-I${prefix}/include/mysql5/mysql"
-	configure.ldflags-append "-L${prefix}/lib/mysql5/mysql"
+variant tls description "Encryption of the control channel using SSL/TLS" {
+    depends_lib             lib:libssl.dylib:openssl
+    configure.args-append   --with-tls \
+                            --with-certfile=${prefix}/etc/ssl/private/pure-ftpd.pem
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090502/7ac23469/attachment.html>


More information about the macports-changes mailing list