diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-05-07 01:57:36 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-05-07 01:57:36 +0800 |
commit | f72b289873912c0ab69bf048f5d756aa86c74ad3 (patch) | |
tree | 5ad7acb668ca414c7e2011352b910aaffd54f878 /ftp/pure-ftpd | |
parent | 4f8e233aae5f58a01bd5f904c98a9229ba7d64a3 (diff) | |
download | freebsd-ports-gnome-f72b289873912c0ab69bf048f5d756aa86c74ad3.tar.gz freebsd-ports-gnome-f72b289873912c0ab69bf048f5d756aa86c74ad3.tar.zst freebsd-ports-gnome-f72b289873912c0ab69bf048f5d756aa86c74ad3.zip |
- Use CERTFILE for custom certificate location
PR: ports/176614
Requested by: Ilya Pizik <ilya.pizik@gmail.com>
Diffstat (limited to 'ftp/pure-ftpd')
-rw-r--r-- | ftp/pure-ftpd/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile index d8c0f96ec9c7..53c6910f84a4 100644 --- a/ftp/pure-ftpd/Makefile +++ b/ftp/pure-ftpd/Makefile @@ -93,9 +93,8 @@ CONFIGURE_ARGS+= --with-throttling .if ${PORT_OPTIONS:MTLS} CONFIGURE_ARGS+= --with-tls # different certificate file location? -. if ${PORT_OPTIONS:MCERTFILE} -CONFIGURE_ARGS+= --with-certfile=${WITH_CERTFILE} -. endif +CERTFILE?= /etc/ssl/private/pure-ftpd.pem +CONFIGURE_ARGS+= --with-certfile=${CERTFILE} .endif # if mysql or ldap are disabled, enable pam @@ -158,7 +157,7 @@ CONTRIB= xml_python_processors.txt pure-stat.pl pure-vpopauth.pl pre-fetch: @${ECHO_MSG} "You can use the following additional options:" - @${ECHO_MSG} "WITH_CERTFILE=/path - Set different location of certificate file for TLS" + @${ECHO_MSG} "CERTFILE=/path - Custom 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} " danish, dutch, italian, brazilian-portuguese, slovak, korean, swedish," |