Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2004 16:48:19 +0300 (EEST)
From:      Toni Viemero <toni.viemero@iki.fi>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        j@pureftpd.org
Subject:   ports/68240: [PATCH] ftp/pure-ftpd: update to 1.0.19
Message-ID:  <20040623134819.AEDE79BE4C@shaolin.selfdestruct.net>
Resent-Message-ID: <200406231350.i5NDoKoD041401@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68240
>Category:       ports
>Synopsis:       [PATCH] ftp/pure-ftpd: update to 1.0.19
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 23 13:50:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Toni Viemero
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
>Environment:
System: FreeBSD shaolin.selfdestruct.net 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Sat May 29 00:26:03 EEST 2004
>Description:
- Update to 1.0.19 (Fixes a possible DoS)
- Add WITH_PERUSERLIMITS knob

Port maintainer (j@pureftpd.org) is cc'd.
>How-To-Repeat:
>Fix:

--- pure-ftpd-1.0.19.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/ftp/pure-ftpd/Makefile /home/toni/ports/pure-ftpd/Makefile
--- /usr/ports/ftp/pure-ftpd/Makefile	Tue May 25 12:19:41 2004
+++ /home/toni/ports/pure-ftpd/Makefile	Wed Jun 23 16:46:04 2004
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	pure-ftpd
-PORTVERSION=	1.0.18
-PORTREVISION=	0
+PORTVERSION=	1.0.19
 CATEGORIES=	ftp ipv6
 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/ \
@@ -62,6 +61,11 @@
 CONFIGURE_ARGS+=	--with-privsep
 .endif
 
+# per-user concurrency limits requested?
+.if defined(WITH_PERUSERLIMITS)
+CONFIGURE_ARGS+=	--with-peruserlimits
+.endif
+
 # different certificate file location?
 .if defined(WITH_CERTFILE)
 CONFIGURE_ARGS+=	--with-certfile=${WITH_CERTFILE}
@@ -96,7 +100,7 @@
 		README.Authentication-Modules THANKS pure-ftpd.png \
 		pureftpd.schema README.TLS
 
-CONTRIB=	xml_python_processors.txt pure-vpopauth.pl
+CONTRIB=	xml_python_processors.txt pure-stat.pl pure-vpopauth.pl
 
 pre-fetch:
 	@${ECHO_MSG} "You can use the following additional options:"
@@ -104,6 +108,7 @@
 	@${ECHO_MSG} "WITH_MYSQL=1          - Support for users in MySQL databases"
 	@${ECHO_MSG} "WITH_PGSQL=1          - Support for users in PostgreSQL databases"
 	@${ECHO_MSG} "WITH_PRIVSEP=1        - Enable privilege separation"
+	@${ECHO_MSG} "WITH_PERUSERLIMITS=1  - Enable per-user concurrency limits"
 	@${ECHO_MSG} "WITH_CERTFILE=/path   - Set different location of certificate file for TLS"
 	@${ECHO_MSG} "WITH_LANG=lang        - Enable compilation of language support, lang is one of"
 	@${ECHO_MSG} "  english, german, romanian, french, french-funny, polish, spanish,"
diff -ruN --exclude=CVS /usr/ports/ftp/pure-ftpd/distinfo /home/toni/ports/pure-ftpd/distinfo
--- /usr/ports/ftp/pure-ftpd/distinfo	Tue Mar  9 00:33:50 2004
+++ /home/toni/ports/pure-ftpd/distinfo	Wed Jun 23 16:44:10 2004
@@ -1,2 +1,2 @@
-MD5 (pure-ftpd-1.0.18.tar.bz2) = 56925bb7a35b07ca70e5453af731acba
-SIZE (pure-ftpd-1.0.18.tar.bz2) = 458995
+MD5 (pure-ftpd-1.0.19.tar.bz2) = 1ff9e9215d3b1fdad36571e892a726d1
+SIZE (pure-ftpd-1.0.19.tar.bz2) = 460292
diff -ruN --exclude=CVS /usr/ports/ftp/pure-ftpd/pkg-plist /home/toni/ports/pure-ftpd/pkg-plist
--- /usr/ports/ftp/pure-ftpd/pkg-plist	Wed Aug 13 13:42:47 2003
+++ /home/toni/ports/pure-ftpd/pkg-plist	Wed Jun 23 16:45:34 2004
@@ -32,6 +32,7 @@
 %%PORTDOCS%%%%DOCSDIR%%/pure-ftpd.png
 %%PORTDOCS%%%%DOCSDIR%%/pureftpd.schema
 %%EXAMPLESDIR%%/pam/pure-ftpd
+%%EXAMPLESDIR%%/pure-stat.pl
 %%EXAMPLESDIR%%/pure-vpopauth.pl
 %%EXAMPLESDIR%%/xml_python_processors.txt
 @dirrm %%EXAMPLESDIR%%/pam
--- pure-ftpd-1.0.19.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040623134819.AEDE79BE4C>