ports/78871: [PATCH] Make pure-ftpd welcome message switchable when building

Xin LI delphij at geekcn.org
Tue Mar 15 15:20:03 UTC 2005


>Number:         78871
>Category:       ports
>Synopsis:       [PATCH] Make pure-ftpd welcome message switchable when building
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 15 15:20:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Xin LI
>Release:        FreeBSD 5.3-RELEASE-p5 i386
>Organization:
Individual
>Environment:
System: FreeBSD tarsier.delphij.net 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Sat Jan 22 01:19:23 CST 2005 root at builder.delphij.net:/usr/obj/usr/src/sys/MULE i386


>Description:
	The default setting of pure-ftpd will advertise its name upon
connection.  The attached patch will make this switchable at build
time, just for paranoid users :-)

	maintainer cc'ed.
>How-To-Repeat:
>Fix:


--- patch-pureftpd begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/ftp/pure-ftpd/Makefile,v
retrieving revision 1.52
diff -u -r1.52 Makefile
--- Makefile	31 Jan 2005 00:35:47 -0000	1.52
+++ Makefile	15 Mar 2005 15:06:22 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	pure-ftpd
 PORTVERSION=	1.0.20
-PORTREVISION=	2
+PORTREVISION=	3
 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/ \
@@ -45,7 +45,8 @@
 		PGSQL	"Support for users in PostgreSQL database" off \
 		PRIVSEP	"Enable privilege separation" off \
 		PERUSERLIMITS	"Per-user concurrency limits" off \
-		THROTTLING	"Bandwidth throttling" off
+		THROTTLING	"Bandwidth throttling" off \
+		BANNER	"Show ${PORTNAME} welcome upon session start" on
 
 .include <bsd.port.pre.mk>
 
@@ -97,6 +98,11 @@
 CONFIGURE_ARGS+=	--with-pam
 .endif
 
+# for paranoia
+.if defined(WITHOUT_BANNER)
+CONFIGURE_ARGS+=	--without-banner
+.endif
+
 .if ${OSVERSION} > 500000
 PAM_TEMPL?=	${FILESDIR}/pam.conf.5
 .else
--- patch-pureftpd ends here ---


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



More information about the freebsd-ports-bugs mailing list