aboutsummaryrefslogtreecommitdiff
path: root/security/openvpn20
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-07-14 13:15:47 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-07-14 13:15:47 +0000
commitcc323eeba5401e651956ed06435b77bbf392790a (patch)
tree70dac912adfd5adc139d881d3225db2f7362aaa9 /security/openvpn20
parentbc72904229f1a8a008907b21a0b2f5c09333d361 (diff)
downloadports-cc323eeba5401e651956ed06435b77bbf392790a.tar.gz
ports-cc323eeba5401e651956ed06435b77bbf392790a.zip
Add PW_PASS option to compile with --enable-pass-save
PR: 82494 Submitted by: Landon Fuller <landonf@threerings.net> Reviewed by: Matthias Andree <matthias.andree@gmx.de> (maintainer) Approved by: mantainer, flz (mentor)
Notes
Notes: svn path=/head/; revision=139206
Diffstat (limited to 'security/openvpn20')
-rw-r--r--security/openvpn20/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/security/openvpn20/Makefile b/security/openvpn20/Makefile
index 64ecb9539444..b39638afd95c 100644
--- a/security/openvpn20/Makefile
+++ b/security/openvpn20/Makefile
@@ -24,6 +24,14 @@ CONFIGURE_ARGS= --with-lzo-lib=${LOCALBASE}/lib \
MAN8= openvpn.8
+OPTIONS= PW_SAVE "Interactive passwords may be read from a file" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_PW_SAVE)
+CONFIGURE_ARGS+= --enable-password-save
+.endif
+
# self-tests here
post-build:
( set -e ; cd ${WRKSRC} && \
@@ -49,4 +57,4 @@ post-install:
| ${CPIO} -pdmu ${DOCSDIR} )
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>