Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 May 2012 22:02:51 +0800 (CST)
From:      Po-Chien Lin <linpc@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/167486: [PATCH] ftp/pure-ftpd: update to 1.0.36, take maintainership
Message-ID:  <201205011402.q41E2pGr036161@csvmnet67.cs.nctu.edu.tw>
Resent-Message-ID: <201205011410.q41EA8UH010396@freefall.freebsd.org>

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

>Number:         167486
>Category:       ports
>Synopsis:       [PATCH] ftp/pure-ftpd: update to 1.0.36, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 01 14:10:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Po-Chien Lin
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD csvmnet67.cs.nctu.edu.tw 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
- Update to 1.0.36
- Since master site hasn't yet provided bzip2 tarball for the latest version, we temporarily remove USE_BZIP2 option in Makefile.
- Take maintainership

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: suffix)
>How-To-Repeat:
>Fix:

--- pure-ftpd-1.0.36.patch begins here ---
diff -ruN --exclude=CVS ../pure-ftpd.orig/Makefile ./Makefile
--- ../pure-ftpd.orig/Makefile	2012-05-01 20:32:49.000000000 +0800
+++ ./Makefile	2012-05-01 21:50:17.000000000 +0800
@@ -6,18 +6,17 @@
 #
 
 PORTNAME=	pure-ftpd
-PORTVERSION=	1.0.35
+PORTVERSION=	1.0.36
 CATEGORIES=	ftp ipv6
 MASTER_SITES=	http://download.pureftpd.org/pub/pure-ftpd/releases/ \
 		ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ \
 		SF/pureftpd/Pure-FTPd/${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	linpc@cs.nctu.edu.tw
 COMMENT=	A small, easy to set up, fast and very secure FTP server
 
 SUB_FILES=	pkg-message
 SUB_LIST=	PAM_DIR=${PAM_DIR} PAM_TARGET=${PAM_TARGET}
-USE_BZIP2=	yes
 USE_PERL5_RUN=	yes
 USE_RC_SUBR=	pure-ftpd.sh
 GNU_CONFIGURE=	yes
@@ -35,6 +34,7 @@
 		MYSQL		"Support for users in MySQL database" off \
 		PAM		"Support for PAM authentication" on \
 		PGSQL		"Support for users in PostgreSQL database" off \
+		PUREDB		"Support for virtual users database" off \
 		TLS		"Support for TLS (experimental)" off \
 		PRIVSEP		"Enable privilege separation" on \
 		PERUSERLIMITS	"Per-user concurrency limits" off \
@@ -42,11 +42,7 @@
 		UPLOADSCRIPT	"Support uploadscript daemon" off \
 		UTF8		"Support for charset conversion" off \
 		SENDFILE	"Support for the sendfile syscall" on \
-		LARGEFILE	"Support downloading files larger than 2Gb" off \
 		VIRTUALCHROOT	"Follow symlinks outside a chroot jail" on \
-		ANONRESUME	"Allow anonymous user to resume file upload" off \
-		ANONRENAME	"Allow anonymous user to rename file" off \
-		ANONDELETE	"Allow anonymous user to delete file" off
 
 .include <bsd.port.pre.mk>
 
@@ -73,6 +69,11 @@
 CONFIGURE_ARGS+=	--with-pgsql
 .endif
 
+# puredb support requested?
+.if defined(WITH_PUREDB)
+CONFIGURE_ARGS+=	--with-puredb
+.endif
+
 # privilege separation requested?
 .if defined(WITH_PRIVSEP)
 CONFIGURE_ARGS+=	--with-privsep
@@ -119,30 +120,12 @@
 CONFIGURE_ARGS+=	--without-sendfile
 .endif
 
-.if defined(WITH_LARGEFILE)
-CONFIGURE_ARGS+=	--enable-largefile
-.else
-CONFIGURE_ARGS+=	--disable-largefile
-.endif
-
 .if defined(WITH_VIRTUALCHROOT)
 CONFIGURE_ARGS+=	--with-virtualchroot
 .else
 CONFIGURE_ARGS+=	--without-virtualchroot
 .endif
 
-.if defined(WITH_ANONRESUME)
-CFLAGS+=	-DANON_CAN_RESUME
-.endif
-
-.if defined(WITH_ANONRENAME)
-CFLAGS+=	-DANON_CAN_RENAME
-.endif
-
-.if defined(WITH_ANONDELETE)
-CFLAGS+=	-DANON_CAN_DELETE
-.endif
-
 PAM_TEMPL?=	${FILESDIR}/pam.conf.5
 PAM_DIR?=	${EXAMPLESDIR}/pam
 PAM_TARGET?=	pure-ftpd
diff -ruN --exclude=CVS ../pure-ftpd.orig/distinfo ./distinfo
--- ../pure-ftpd.orig/distinfo	2012-05-01 20:32:49.000000000 +0800
+++ ./distinfo	2012-05-01 21:46:04.000000000 +0800
@@ -1,2 +1,2 @@
-SHA256 (pure-ftpd-1.0.35.tar.bz2) = cbbdf6185480491618817710ba4a19bd58e2854c61e643967bd0841f89d0e79c
-SIZE (pure-ftpd-1.0.35.tar.bz2) = 482387
+SHA256 (pure-ftpd-1.0.36.tar.gz) = 90fb63b1a9d448076aa9f3e3c74b298965f98e03c824e9a4d241fffe8eb3a130
+SIZE (pure-ftpd-1.0.36.tar.gz) = 578781
--- pure-ftpd-1.0.36.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?201205011402.q41E2pGr036161>