summaryrefslogtreecommitdiff
path: root/ftp/pure-ftpd
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-02-28 21:24:03 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-02-28 21:24:03 +0000
commit02864323c6ffb2506bab94a5af9a6e3bed3e7819 (patch)
tree415cfd2273dd6418c91ac0da5800fdf7a3eeb7dc /ftp/pure-ftpd
parentAdd py-GeoIP 1.2.0, (diff)
- 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)
Notes
Notes: svn path=/head/; revision=102464
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 a6bafc3a2aad..4f7bdc786760 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,"