Bug 29877 - port update : ftp/pure-ftpd (roam)
Summary: port update : ftp/pure-ftpd (roam)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Peter Pentchev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-19 19:30 UTC by Frank DENIS
Modified: 2001-08-21 12:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank DENIS 2001-08-19 19:30:00 UTC
diff -urN ports/ftp/pure-ftpd.old/Makefile ports/ftp/pure-ftpd/Makefile
--- ports/ftp/pure-ftpd.old/Makefile	Wed Aug 15 18:15:40 2001
+++ ports/ftp/pure-ftpd/Makefile	Sun Aug 19 20:25:53 2001
@@ -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 @@
 
 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 -urN ports/ftp/pure-ftpd.old/distinfo ports/ftp/pure-ftpd/distinfo
--- ports/ftp/pure-ftpd.old/distinfo	Wed Aug 15 18:15:40 2001
+++ ports/ftp/pure-ftpd/distinfo	Sun Aug 19 20:11:30 2001
@@ -1 +1 @@
-MD5 (pure-ftpd-0.99.tar.gz) = 5653e4ee557621069cb25d54c8477d71
+MD5 (pure-ftpd-0.99.1.tar.gz) = f94f6523c9fbec1a2ec98d4bb40b023f
diff -urN ports/ftp/pure-ftpd.old/pkg-descr ports/ftp/pure-ftpd/pkg-descr
--- ports/ftp/pure-ftpd.old/pkg-descr	Mon Apr 23 17:46:38 2001
+++ ports/ftp/pure-ftpd/pkg-descr	Sun Aug 19 20:22:50 2001
@@ -7,7 +7,8 @@
 
 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 -urN ports/ftp/pure-ftpd.old/pkg-plist ports/ftp/pure-ftpd/pkg-plist
--- ports/ftp/pure-ftpd.old/pkg-plist	Sun Jul 15 11:56:21 2001
+++ ports/ftp/pure-ftpd/pkg-plist	Sun Aug 19 20:21:36 2001
@@ -4,6 +4,7 @@
 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 @@
 %%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

Fix: 

- Accounts can now be stored in a MySQL database.
 - Uploadscript work together with Apache-like log files.
 - Support for asynchronous (pipelined) FTP.
 - Always report download progression and individual bandwidth usage in
pure-ftpwho.
 - Bandwidth throttling is now working with > 2Gb files.
 - Assorted optimizations, bug fixes and cleanups.
How-To-Repeat: 
-
Comment 1 Peter Pentchev freebsd_committer freebsd_triage 2001-08-20 19:24:43 UTC
Responsible Changed
From-To: freebsd-ports->roam

I'll take care of this.
Comment 2 Peter Pentchev freebsd_committer freebsd_triage 2001-08-20 19:47:51 UTC
State Changed
From-To: open->analyzed

I've got a couple of comments, esp. regarding the MySQL backend code, 
but I really, really, really have to run home now ;) 

Thanks again for your work on this slim yet featureful FTP server! :)
Comment 3 Peter Pentchev freebsd_committer freebsd_triage 2001-08-21 12:23:42 UTC
State Changed
From-To: analyzed->closed

Committed, thanks!