From 8eda7d41718267e1cf718fbff2a10ee4680ce96d Mon Sep 17 00:00:00 2001 From: Roman Bogorodskiy Date: Sat, 2 Apr 2005 16:32:48 +0000 Subject: Make pure-ftpd welcome message switchable when building. PR: 78871 Submitted by: Xin LI Approved by: maintainer timeout --- ftp/pure-ftpd/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'ftp/pure-ftpd') diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile index 55edf149b409..f301b442feba 100644 --- a/ftp/pure-ftpd/Makefile +++ b/ftp/pure-ftpd/Makefile @@ -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 @@ OPTIONS= LDAP "Support for users in LDAP directories" off \ 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 @@ -97,6 +98,11 @@ CONFIGURE_ARGS+= --with-certfile=${WITH_CERTFILE} 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 -- cgit v1.2.3