diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile index a45ef7fd84bf..aa65df771842 100644 --- a/ftp/pure-ftpd/Makefile +++ b/ftp/pure-ftpd/Makefile @@ -6,22 +6,28 @@ # PORTNAME= pure-ftpd -PORTVERSION= 0.99 +PORTVERSION= 0.99.1 CATEGORIES= ftp ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pureftpd -MAINTAINER= j@4u.net +MAINTAINER= j@pureftpd.org .if defined(WITH_DMALLOC) LIB_DEPENDS+= dmalloc.1:${PORTSDIR}/devel/dmalloc .endif +.if defined(WITH_LDAP) +LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap2 +.endif + +.if defined(WITH_MYSQL) +LIB_DEPENDS+= mysqlclient:${PORTSDIR}/databases/mysql323-client +.endif + + GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-pam --with-cookie --with-throttling \ - --with-ratios --with-ftpwho --with-largefile \ - --with-uploadscript --with-virtualhosts \ - --with-altlog --with-paranoidmsg +CONFIGURE_ARGS+= --with-pam --with-everything --with-paranoidmsg # language support requested? .if defined(WITH_LANG) CONFIGURE_ARGS+= --with-language="${WITH_LANG}" @@ -50,19 +56,22 @@ PAM_TARGET?= pure-ftpd DOCS= AUTHORS CONTACT COPYING HISTORY NEWS \ README README.Configuration-File README.Contrib README.LDAP \ - README.Netfilter \ + README.Netfilter README.MySQL \ THANKS CONTRIB= xml_python_processors.txt pre-fetch: @${ECHO} "You can use the following additional options:" - @${ECHO} "WITH_DMALLOC - enable use of the dmalloc library;" + @${ECHO} "WITH_DMALLOC=1 - enable use of the dmalloc library;" + @${ECHO} "WITH_LDAP=1 - Store users in LDAP directories;" + @${ECHO} "WITH_MYSQL=1 - Store users in MySQL databases;" @${ECHO} "WITH_LANG=lang - enable compilation of language support, lang is one of" - @${ECHO} " english, german, romanian, french, polish, spanish or danish." + @${ECHO} " english, german, romanian, french, polish, spanish or danish." post-install: ${INSTALL_DATA} ${WRKSRC}/pureftpd-ldap.conf ${PREFIX}/etc/pureftpd-ldap.conf.sample + ${INSTALL_DATA} ${WRKSRC}/pureftpd-mysql.conf ${PREFIX}/etc/pureftpd-mysql.conf.sample ${INSTALL_DATA} ${WRKSRC}/configuration-file/pure-ftpd.conf ${PREFIX}/etc/pure-ftpd.conf.sample ${INSTALL_DATA} ${WRKSRC}/configuration-file/pure-config.pl ${PREFIX}/sbin/ ${MKDIR} ${PREFIX}/share/examples/pure-ftpd diff --git a/ftp/pure-ftpd/distinfo b/ftp/pure-ftpd/distinfo index e9d13ce9cd05..7deecb7d0f43 100644 --- a/ftp/pure-ftpd/distinfo +++ b/ftp/pure-ftpd/distinfo @@ -1 +1 @@ -MD5 (pure-ftpd-0.99.tar.gz) = 5653e4ee557621069cb25d54c8477d71 +MD5 (pure-ftpd-0.99.1.tar.gz) = f94f6523c9fbec1a2ec98d4bb40b023f diff --git a/ftp/pure-ftpd/pkg-descr b/ftp/pure-ftpd/pkg-descr index 90f8e350d7bd..fb0b47a9c6b7 100644 --- a/ftp/pure-ftpd/pkg-descr +++ b/ftp/pure-ftpd/pkg-descr @@ -7,7 +7,8 @@ and it is especially designed for modern kernels. Features include PAM support, IPv6, chroot()ed home directories, virtual domains, built-in 'ls', anti-warez system, bounded ports for passive -downloads, FXP protocol, bandwidth throttling, ratios, LDAP, fortune files, -fast standalone mode, text / HTML / XML real-time status report, and more. +downloads, FXP protocol, bandwidth throttling, ratios, LDAP, customizable +SQL, fortune files, Apache-like log files, fast standalone mode, text / HTML +/ XML real-time status report, and more. WWW: http://www.pureftpd.org diff --git a/ftp/pure-ftpd/pkg-plist b/ftp/pure-ftpd/pkg-plist index cfc357eb387e..3604b4795a85 100644 --- a/ftp/pure-ftpd/pkg-plist +++ b/ftp/pure-ftpd/pkg-plist @@ -4,6 +4,7 @@ sbin/pure-ftpwho sbin/pure-uploadscript sbin/pure-config.pl etc/pureftpd-ldap.conf.sample +etc/pureftpd-mysql.conf.sample etc/pure-ftpd.conf.sample %%PORTDOCS%%share/doc/pure-ftpd/AUTHORS %%PORTDOCS%%share/doc/pure-ftpd/CONTACT @@ -14,6 +15,7 @@ etc/pure-ftpd.conf.sample %%PORTDOCS%%share/doc/pure-ftpd/README.Configuration-File %%PORTDOCS%%share/doc/pure-ftpd/README.Contrib %%PORTDOCS%%share/doc/pure-ftpd/README.LDAP +%%PORTDOCS%%share/doc/pure-ftpd/README.MySQL %%PORTDOCS%%share/doc/pure-ftpd/README.Netfilter %%PORTDOCS%%share/doc/pure-ftpd/THANKS %%PORTDOCS%%@dirrm share/doc/pure-ftpd