aboutsummaryrefslogtreecommitdiffstats
path: root/security/openvpn-devel
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-07-14 21:15:47 +0800
committergarga <garga@FreeBSD.org>2005-07-14 21:15:47 +0800
commit01251fc6cafff1b0028aaeef67999a4197164ffe (patch)
tree8c14dea21e134ed42b43dfd8d34cc73077c2beb3 /security/openvpn-devel
parent168b2519ee267f4e19363f5bf99e6e8990a4babd (diff)
downloadfreebsd-ports-graphics-01251fc6cafff1b0028aaeef67999a4197164ffe.tar.gz
freebsd-ports-graphics-01251fc6cafff1b0028aaeef67999a4197164ffe.tar.zst
freebsd-ports-graphics-01251fc6cafff1b0028aaeef67999a4197164ffe.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)
Diffstat (limited to 'security/openvpn-devel')
-rw-r--r--security/openvpn-devel/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/security/openvpn-devel/Makefile b/security/openvpn-devel/Makefile
index 64ecb953944..b39638afd95 100644
--- a/security/openvpn-devel/Makefile
+++ b/security/openvpn-devel/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>