diff options
Diffstat (limited to 'net/pure-ftpd')
-rw-r--r-- | net/pure-ftpd/Makefile | 50 | ||||
-rw-r--r-- | net/pure-ftpd/PLIST | 9 | ||||
-rw-r--r-- | net/pure-ftpd/distinfo | 6 |
3 files changed, 47 insertions, 18 deletions
diff --git a/net/pure-ftpd/Makefile b/net/pure-ftpd/Makefile index 7b4aba8534a..16a8f21d0a7 100644 --- a/net/pure-ftpd/Makefile +++ b/net/pure-ftpd/Makefile @@ -1,9 +1,16 @@ -# $NetBSD: Makefile,v 1.1.1.1 2003/07/12 14:43:08 salo Exp $ +# $NetBSD: Makefile,v 1.2 2003/09/20 16:56:39 salo Exp $ # -DISTNAME= pure-ftpd-1.0.15 +DISTNAME= pure-ftpd-1.0.16a CATEGORIES= net -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pureftpd/} +MASTER_SITES= ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ \ + ftp://ftp2.fr.pureftpd.org/pub/mirrors/ftp.fr.pureftpd.org/pub/pure-ftpd/releases/ \ + ftp://ftp3.fr.pureftpd.org/pure-ftpd/releases/ \ + ftp://ftp.dk.pureftpd.org/mirrors/pure-ftpd/releases/ \ + ftp://ftp.nl.pureftpd.org/pub/pure-ftpd/releases/ \ + ftp://ftp.fr.pureftpd.org/pub/pure-ftpd/releases/ \ + ftp://ftp.cn.pureftpd.org/pub/pureftpd/pure-ftpd/releases/ \ + ${MASTER_SITE_SOURCEFORGE:=pureftpd/} MAINTAINER= dawszy@arhea.net HOMEPAGE= http://www.pureftpd.org/ @@ -13,32 +20,47 @@ USE_BUILDLINK2= YES USE_PKGINSTALL= YES GNU_CONFIGURE= YES -CONFIGURE_ARGS+= --with-sysquotas \ - --with-ftpwho \ - --with-virtualvhosts \ - --with-virtualchroot \ - --with-diraliases \ - --with-ratios \ - --with-throttling \ - --with-altlog \ - --with-puredb \ - --with-quotas +CONFIGURE_ARGS+= --with-everything \ + --with-privsep \ + --sysconfdir=${PKG_SYSCONFDIR} .include "../../mk/bsd.prefs.mk" .if defined(PURE_FTPD_USE_MYSQL) && !empty(PURE_FTPD_USE_MYSQL:M[Yy][Ee][Ss]) .include "../../databases/mysql-client/buildlink2.mk" CONFIGURE_ARGS+= --with-mysql +CPPFLAGS+= -I${BUILDLINK_PREFIX.mysql-client}/include/mysql +LDFLAGS+= -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql +LDFLAGS+= -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib/mysql BUILD_DEFS+= PURE_FTPD_USE_MYSQL .endif .if defined(PURE_FTPD_USE_PGSQL) && !empty(PURE_FTPD_USE_PGSQL:M[Yy][Ee][Ss]) .include "../../databases/postgresql-lib/buildlink2.mk" CONFIGURE_ARGS+= --with-pgsql -CPPFLAGS+= -I${BUILDLINK_DIR}/include/pgsql +CPPFLAGS+= -I${BUILDLINK_PREFIX.postgresql-lib}/include/pgsql BUILD_DEFS+= PURE_FTPD_USE_PGSQL .endif +.if defined(PURE_FTPD_USE_TLS) && !empty(PURE_FTPD_USE_TLS:M[Yy][Ee][Ss]) +.include "../../security/openssl/buildlink2.mk" +CONFIGURE_ARGS+= --with-tls +BUILD_DEFS+= PURE_FTPD_USE_TLS +.endif + +.if defined(PURE_FTPD_USE_VIRTUAL_CHROOT) && !empty(PURE_FTPD_USE_VIRTUAL_CHROOT:M[Yy][Ee][Ss]) +CONFIGURE_ARGS+= --with-virtualchroot +BUILD_DEFS+= PURE_FTPD_USE_VIRTUAL_CHROOT +.endif + RCD_SCRIPTS= pure_ftpd +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pure-ftpd + cd ${WRKSRC} && \ + ${INSTALL_DATA} README README.Authentication-Modules \ + README.Configuration-File README.Contrib \ + README.TLS README.Virtual-Users \ + ${PREFIX}/share/doc/pure-ftpd + .include "../../mk/bsd.pkg.mk" diff --git a/net/pure-ftpd/PLIST b/net/pure-ftpd/PLIST index d6ebe7c8881..cda468f1119 100644 --- a/net/pure-ftpd/PLIST +++ b/net/pure-ftpd/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/12 14:43:08 salo Exp $ +@comment $NetBSD: PLIST,v 1.2 2003/09/20 16:56:40 salo Exp $ bin/pure-pw bin/pure-pwconvert bin/pure-statsdecode @@ -18,3 +18,10 @@ sbin/pure-ftpwho sbin/pure-mrtginfo sbin/pure-quotacheck sbin/pure-uploadscript +share/doc/pure-ftpd/README +share/doc/pure-ftpd/README.Authentication-Modules +share/doc/pure-ftpd/README.Configuration-File +share/doc/pure-ftpd/README.Contrib +share/doc/pure-ftpd/README.TLS +share/doc/pure-ftpd/README.Virtual-Users +@dirrm share/doc/pure-ftpd diff --git a/net/pure-ftpd/distinfo b/net/pure-ftpd/distinfo index 63d24795c36..4725d463995 100644 --- a/net/pure-ftpd/distinfo +++ b/net/pure-ftpd/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2003/07/12 14:43:08 salo Exp $ +$NetBSD: distinfo,v 1.2 2003/09/20 16:56:41 salo Exp $ -SHA1 (pure-ftpd-1.0.15.tar.gz) = 301384e4967b325b439235abe661c406d6f036a3 -Size (pure-ftpd-1.0.15.tar.gz) = 495335 bytes +SHA1 (pure-ftpd-1.0.16a.tar.gz) = 7795efc25595c86224912d42a18eb9527faebd10 +Size (pure-ftpd-1.0.16a.tar.gz) = 509865 bytes |