summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartti <martti>2002-03-26 08:24:54 +0000
committermartti <martti>2002-03-26 08:24:54 +0000
commit72cdfeaf8afeb6e30b4fbb470ac5296d1c75130c (patch)
tree9442e7867e322d237e6ed5e0640d7dc6d99fc613
parent71d9536ff892ccfe3588e09858a3d65a79a510ea (diff)
downloadpkgsrc-72cdfeaf8afeb6e30b4fbb470ac5296d1c75130c.tar.gz
Updated pure-ftpd to 1.0.10
- optional MySQL support (set PURE_FTPD_USE_MYSQL=YES in mk.conf) Changes since 1.0.9: - *reply() functions rewritten from scratch: simpler code, no more recursivity - Accept '..' in file names in fakexlate() - Use addreply_noformat() whenever possible (speedup) - New switch : -Z (--customerproof) . Right now, it adds | 0600 or | 0700 to chmod commands to avoid users locking their own files. Additionnaly, we now try a traditionnal chmod() call if fchmod() fails. There's a race here, but no security trouble to fear. - Spec file fixes - PureDB binary search could fail with -1 as a slot number - fixed
-rw-r--r--net/pureftpd/Makefile14
-rw-r--r--net/pureftpd/distinfo6
2 files changed, 14 insertions, 6 deletions
diff --git a/net/pureftpd/Makefile b/net/pureftpd/Makefile
index 24144aa3985..adca97357a1 100644
--- a/net/pureftpd/Makefile
+++ b/net/pureftpd/Makefile
@@ -1,15 +1,23 @@
-# $NetBSD: Makefile,v 1.2 2002/03/02 23:24:34 zuntum Exp $
+# $NetBSD: Makefile,v 1.3 2002/03/26 08:24:54 martti Exp $
#
-DISTNAME= pure-ftpd-1.0.9
+DISTNAME= pure-ftpd-1.0.10
CATEGORIES= net
MASTER_SITES= http://prdownloads.sourceforge.net/pureftpd/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= dawszy@arhea.net
HOMEPAGE= http://www.pureftpd.org/
-COMMENT= ftpd daemon with optional SQL support
+COMMENT= FTP daemon with optional SQL support
GNU_CONFIGURE= YES
+.if defined(PURE_FTPD_USE_MYSQL) && ${PURE_FTPD_USE_MYSQL} == "YES"
+DEPENDS+= mysql-client>=3.23:../../databases/mysql-client
+CONFIGURE_ARGS+=--with-mysql=${LOCALBASE}
+CCPFLAGS+= -I${LOCALBASE}/include/mysql
+LDFLAGS+= -L${LOCALBASE}/lib/mysql -Wl,-R${LOCALBASE}/lib/mysql
+BUILD_DEFS+= PURE_FTPD_USE_MYSQL
+.endif
+
.include "../../mk/bsd.pkg.mk"
diff --git a/net/pureftpd/distinfo b/net/pureftpd/distinfo
index 1d4ef1a2859..10fe9aa134c 100644
--- a/net/pureftpd/distinfo
+++ b/net/pureftpd/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/03/02 23:22:54 zuntum Exp $
+$NetBSD: distinfo,v 1.2 2002/03/26 08:24:55 martti Exp $
-SHA1 (pure-ftpd-1.0.9.tar.bz2) = cf09298bc7f6692d7fa04e28ed4476d2b06f27e2
-Size (pure-ftpd-1.0.9.tar.bz2) = 365958 bytes
+SHA1 (pure-ftpd-1.0.10.tar.bz2) = 01dc926b380b0881181e0e6c6290368e07866309
+Size (pure-ftpd-1.0.10.tar.bz2) = 369940 bytes