summaryrefslogtreecommitdiffstats
path: root/ftp/pure-ftpd
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-02-28 21:24:03 +0000
committerpav <pav@FreeBSD.org>2004-02-28 21:24:03 +0000
commit443dc4c1fbd997692414d03f4f78afa5c8fe2cef (patch)
tree243cd488ea3bcc974807529b1ea63f7dfeed2be1 /ftp/pure-ftpd
parentf50dfdabf31dbbca840c0a15ac3ca8910ba0c811 (diff)
downloadFreeBSD-ports-443dc4c1fbd997692414d03f4f78afa5c8fe2cef.zip
FreeBSD-ports-443dc4c1fbd997692414d03f4f78afa5c8fe2cef.tar.gz
- Add WITH_CERTFILE knob to allow setting alternative TLS certificate location
PR: ports/62626 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> Approved by: maintainer timeout (15 days)
Diffstat (limited to 'ftp/pure-ftpd')
-rw-r--r--ftp/pure-ftpd/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile
index a6bafc3..4f7bdc7 100644
--- a/ftp/pure-ftpd/Makefile
+++ b/ftp/pure-ftpd/Makefile
@@ -62,6 +62,11 @@ CONFIGURE_ARGS+= --with-pgsql
CONFIGURE_ARGS+= --with-privsep
.endif
+# different certificate file location?
+.if defined(WITH_CERTFILE)
+CONFIGURE_ARGS+= --with-certfile=${WITH_CERTFILE}
+.endif
+
# if mysql or ldap are disabled, enable pam
.if !defined(WITH_LDAP) && !defined(WITH_MYSQL) && !defined(WITH_PGSQL)
CONFIGURE_ARGS+= --with-pam
@@ -99,6 +104,7 @@ pre-fetch:
@${ECHO_MSG} "WITH_MYSQL=1 - Support for users in MySQL databases"
@${ECHO_MSG} "WITH_PGSQL=1 - Support for users in PostgreSQL databases"
@${ECHO_MSG} "WITH_PRIVSEP=1 - Enable privilege separation"
+ @${ECHO_MSG} "WITH_CERTFILE=/path - Set different location of certificate file for TLS"
@${ECHO_MSG} "WITH_LANG=lang - Enable compilation of language support, lang is one of"
@${ECHO_MSG} " english, german, romanian, french, french-funny, polish, spanish,"
@${ECHO_MSG} " dutch, italian, brazilian-portuguese, danish, slovak, korean,"
OpenPOWER on IntegriCloud