aboutsummaryrefslogtreecommitdiff
path: root/security/strongswan
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2019-03-09 09:49:59 +0000
committerKurt Jaeger <pi@FreeBSD.org>2019-03-09 09:49:59 +0000
commita17fd70e84c374b485b9064d1bcdd1a965e5ca1c (patch)
tree05423d100688b76064680aab9389c4ecc1bf72a3 /security/strongswan
parentac4655ab00eefc2b88e9ff1f094fcc086e8abd57 (diff)
downloadports-a17fd70e84c374b485b9064d1bcdd1a965e5ca1c.tar.gz
ports-a17fd70e84c374b485b9064d1bcdd1a965e5ca1c.zip
security/strongswan: add PAM to XAUTH
PR: 236218 Submitted by: Franco Fichtner <franco@opnsense.org> Approved by: strongswan@Nanoteq.com (maintainer)
Notes
Notes: svn path=/head/; revision=495112
Diffstat (limited to 'security/strongswan')
-rw-r--r--security/strongswan/Makefile4
-rw-r--r--security/strongswan/pkg-plist4
2 files changed, 7 insertions, 1 deletions
diff --git a/security/strongswan/Makefile b/security/strongswan/Makefile
index 0db1bd89ae2b..2419b02476a6 100644
--- a/security/strongswan/Makefile
+++ b/security/strongswan/Makefile
@@ -108,7 +108,9 @@ UNBOUND_LIB_DEPENDS= libunbound.so:dns/unbound \
libldns.so:dns/ldns
UNITY_CONFIGURE_ON= --enable-unity
VICI_CONFIGURE_ON= --enable-vici
-XAUTH_CONFIGURE_ON= --enable-xauth-eap --enable-xauth-generic
+XAUTH_CONFIGURE_ON= --enable-xauth-eap \
+ --enable-xauth-generic \
+ --enable-xauth-pam
BUILTIN_CONFIGURE_ON= --with-printf-hooks=builtin
LIBC_CONFIGURE_ON= --with-printf-hooks=glibc
VSTR_CONFIGURE_ON= --with-printf-hooks=vstr
diff --git a/security/strongswan/pkg-plist b/security/strongswan/pkg-plist
index a85d3d96a32c..0f8a2f14a556 100644
--- a/security/strongswan/pkg-plist
+++ b/security/strongswan/pkg-plist
@@ -74,6 +74,7 @@
@sample %%ETCDIR%%.d/charon/x509.conf.sample
%%XAUTH%%@sample %%ETCDIR%%.d/charon/xauth-eap.conf.sample
%%XAUTHGEN%%@sample %%ETCDIR%%.d/charon/xauth-generic.conf.sample
+%%XAUTH%%@sample %%ETCDIR%%.d/charon/xauth-pam.conf.sample
@sample %%ETCDIR%%.d/charon/xcbc.conf.sample
%%PKI%%@sample %%ETCDIR%%.d/pki.conf.sample
%%SQL%%@sample %%ETCDIR%%.d/pool.conf.sample
@@ -252,6 +253,8 @@ lib/ipsec/plugins/libstrongswan-x509.so
%%XAUTH%%lib/ipsec/plugins/libstrongswan-xauth-eap.so
%%IKEV1%%lib/ipsec/plugins/libstrongswan-xauth-generic.la
%%IKEV1%%lib/ipsec/plugins/libstrongswan-xauth-generic.so
+%%XAUTH%%lib/ipsec/plugins/libstrongswan-xauth-pam.la
+%%XAUTH%%lib/ipsec/plugins/libstrongswan-xauth-pam.so
lib/ipsec/plugins/libstrongswan-xcbc.la
lib/ipsec/plugins/libstrongswan-xcbc.so
libexec/ipsec/_copyright
@@ -356,6 +359,7 @@ sbin/ipsec
%%DATADIR%%/templates/config/plugins/x509.conf
%%XAUTH%%%%DATADIR%%/templates/config/plugins/xauth-eap.conf
%%XAUTHGEN%%%%DATADIR%%/templates/config/plugins/xauth-generic.conf
+%%XAUTH%%%%DATADIR%%/templates/config/plugins/xauth-pam.conf
%%DATADIR%%/templates/config/plugins/xcbc.conf
%%DATADIR%%/templates/config/strongswan.conf
%%DATADIR%%/templates/config/strongswan.d/charon-logging.conf