summaryrefslogtreecommitdiff
path: root/net/openvpn/options.mk
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2013-02-10 05:55:07 +0000
committermanu <manu@pkgsrc.org>2013-02-10 05:55:07 +0000
commit2fe17ed2a176873cf8bd705ba427d7244f4bd09a (patch)
treea208ebc31b29aa7a1a00c3e4261db6a756b3679f /net/openvpn/options.mk
parente6d3006b7ce8de4fd0967fd88f91827d8463b096 (diff)
downloadpkgsrc-2fe17ed2a176873cf8bd705ba427d7244f4bd09a.tar.gz
Upgrade OpenVPN to 2.3.0
Bump openvpn-acct-wtmpx to add its licence and to take into account the new location of plugin directory Significant changes since 2.2.x: * Full IPv6 support * SSL layer modularised, enabling easier implementation for other SSL libraries * PolarSSL support as a drop-in replacement for OpenSSL * New plug-in API providing direct certificate access, improved logging API and easier to extend in the future * Added 'dev_type' environment variable to scripts and plug-ins - which is set to 'TUN' or 'TAP' * New feature: --management-external-key - to provide access to the encryption keys via the management interface * New feature: --x509-track option, more fine grained access to X.509 fields in scripts and plug-ins * New feature: --client-nat support * New feature: --mark which can mark encrypted packets from the tunnel, suitable for more advanced routing and firewalling * New feature: --management-query-proxy - manage proxy settings via the management interface (supercedes --http-proxy-fallback) * New feature: --stale-routes-check, which cleans up the internal routing table * New feature: --x509-username-field, where other X.509v3 fields can be used for the authentication instead of Common Name * Improved client-kill management interface command * Improved UTF-8 support - and added --compat-names to provide backwards compatibility with older scripts/plug-ins * Improved auth-pam with COMMONNAME support, passing the certificate's common name in the PAM conversation * More options can now be used inside <connection> blocks * Completely new build system, enabling easier cross-compilation and Windows builds * Much of the code has been better documented * Many documentation updates * Plenty of bug fixes and other code clean-ups
Diffstat (limited to 'net/openvpn/options.mk')
-rw-r--r--net/openvpn/options.mk13
1 files changed, 4 insertions, 9 deletions
diff --git a/net/openvpn/options.mk b/net/openvpn/options.mk
index 45dd3e0fa2c..8fbf7366191 100644
--- a/net/openvpn/options.mk
+++ b/net/openvpn/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2011/04/28 07:27:24 adam Exp $
+# $NetBSD: options.mk,v 1.6 2013/02/10 05:55:07 manu Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openvpn
PKG_SUPPORTED_OPTIONS= pkcs11 pam
@@ -9,8 +9,7 @@ PKG_SUGGESTED_OPTIONS=
# include support for certificates on a stick (or card)
.if !empty(PKG_OPTIONS:Mpkcs11)
.include "../../security/pkcs11-helper/buildlink3.mk"
-.else
-CONFIGURE_ARGS+= --disable-pkcs11
+CONFIGURE_ARGS+= --enable-pkcs11
.endif
PLIST_VARS+= pam
@@ -18,15 +17,11 @@ PLIST_VARS+= pam
PLIST.pam= yes
USE_TOOLS+= gmake
-BUILD_DIRS+= plugin/auth-pam
+BUILD_DIRS+= src/plugins/auth-pam
BUILD_TARGET= # empty
INSTALL_DIRS= .
INSTALL_TARGET= install
-INSTALLATION_DIRS+= lib/openvpn
-post-install-pam:
- ${INSTALL_LIB} ${WRKSRC}/plugin/auth-pam/openvpn-auth-pam.so \
- ${DESTDIR}${PREFIX}/lib/openvpn || ${TRUE}
.include "../../mk/pam.buildlink3.mk"
.else
-post-install-pam:
+CONFIGURE_ARGS+= --disable-plugin-auth-pam
.endif