aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/pure-ftpd
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2005-04-03 00:32:48 +0800
committernovel <novel@FreeBSD.org>2005-04-03 00:32:48 +0800
commit7d8ef312a844a504896408101cd9869ea1482048 (patch)
tree99327706368eced062c9fe1af9c3c0b1e9e07b5d /ftp/pure-ftpd
parent14c860d7982d8962fdb7dc6f1093ad4c9a433656 (diff)
downloadfreebsd-ports-gnome-7d8ef312a844a504896408101cd9869ea1482048.tar.gz
freebsd-ports-gnome-7d8ef312a844a504896408101cd9869ea1482048.tar.zst
freebsd-ports-gnome-7d8ef312a844a504896408101cd9869ea1482048.zip
Make pure-ftpd welcome message switchable when building.
PR: 78871 Submitted by: Xin LI <delphij@geekcn.org> Approved by: maintainer timeout
Diffstat (limited to 'ftp/pure-ftpd')
-rw-r--r--ftp/pure-ftpd/Makefile10
1 files changed, 8 insertions, 2 deletions
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 <bsd.port.pre.mk>
@@ -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