mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Make pure-ftpd welcome message switchable when building.
PR: 78871 Submitted by: Xin LI <delphij@geekcn.org> Approved by: maintainer timeout
This commit is contained in:
parent
459fef72b2
commit
8eda7d4171
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132209
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user