diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-02-25 10:03:52 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-02-25 10:03:52 +0000 |
commit | 37b65d30ff4d2fdcbb779071951d52a5d3e55e93 (patch) | |
tree | a8e1e850576969c55eaac8075e3347886927faa7 /security/strongswan | |
parent | 7928298e00e459dcf23ea8fc9d404483fbf13194 (diff) | |
download | ports-37b65d30ff4d2fdcbb779071951d52a5d3e55e93.tar.gz ports-37b65d30ff4d2fdcbb779071951d52a5d3e55e93.zip |
- Add GCM and SMP options
- Add pkgconfig to the list of dependencies
- Enable IKEv1 OPTION by default
- Bump PORTREVISION
PR: 197824
Submitted by: Franco Fichtner <franco@lastsummer.de> (based on)
Reworked by: strongswan@Nanoteq.com (maintainer)
Approved by: strongswan@Nanoteq.com (maintainer)
Notes
Notes:
svn path=/head/; revision=379892
Diffstat (limited to 'security/strongswan')
-rw-r--r-- | security/strongswan/Makefile | 15 | ||||
-rw-r--r-- | security/strongswan/pkg-plist | 10 |
2 files changed, 21 insertions, 4 deletions
diff --git a/security/strongswan/Makefile b/security/strongswan/Makefile index 38ea5c899d53..182042d74d81 100644 --- a/security/strongswan/Makefile +++ b/security/strongswan/Makefile @@ -3,6 +3,7 @@ PORTNAME= strongswan PORTVERSION= 5.2.2 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://download.strongswan.org/ \ http://download2.strongswan.org/ @@ -12,7 +13,7 @@ COMMENT= Open Source IKEv2 IPsec-based VPN solution LICENSE= GPLv2 -USES= execinfo libtool:keepla tar:bzip2 +USES= execinfo libtool:keepla tar:bzip2 pkgconfig USE_OPENSSL= yes USE_RC_SUBR= strongswan GNU_CONFIGURE= yes @@ -39,15 +40,17 @@ CONFIGURE_ARGS= --enable-kernel-pfkey \ --with-group=wheel \ --with-lib-prefix=${PREFIX} -OPTIONS_DEFINE= CURL EAPAKA3GPP2 EAPDYNAMIC EAPRADIUS EAPSIMFILE IKEv1 \ - IPSECKEY KERNELLIBIPSEC LOADTESTER LDAP MYSQL PKI SCEP SQLITE \ - TESTVECTOR UNBOUND XAUTH +OPTIONS_DEFINE= CURL EAPAKA3GPP2 EAPDYNAMIC EAPRADIUS EAPSIMFILE GCM IKEv1 \ + IPSECKEY KERNELLIBIPSEC LOADTESTER LDAP MYSQL PKI SCEP SMP \ + SQLITE TESTVECTOR UNBOUND XAUTH +OPTIONS_DEFAULT= IKEv1 OPTIONS_SUB= yes CURL_DESC= Enable CURL to fetch CRL/OCSP EAPAKA3GPP2_DESC= Enable EAP AKA with 3gpp2 backend EAPDYNAMIC_DESC= Enable EAP dynamic proxy module EAPRADIUS_DESC= Enable EAP Radius proxy authentication EAPSIMFILE_DESC= Enable EAP SIM with file backend +GCM_DESC= Enable GCM AEAD wrapper crypto plugin IKEv1_DESC= Enable IKEv1 support IPSECKEY_DESC= Enable authentication with IPSECKEY resource records with DNSSEC KERNELLIBIPSEC_DESC= Enable IPSec userland backend @@ -55,6 +58,7 @@ LOADTESTER_DESC= Enable load testing plugin TESTVECTOR_DESC= Enable crypto test vectors PKI_DESC= Enable PKI tools SCEP_DESC= Enable Simple Certificate Enrollment Protocol +SMP_DESC= Enable XML-based management protocol UNBOUND_DESC= Enable DNSSEC-enabled resolver XAUTH_DESC= Enable XAuth password verification @@ -66,6 +70,7 @@ EAPAKA3GPP2_LIB_DEPENDS=libgmp.so:${PORTSDIR}/math/gmp EAPDYNAMIC_CONFIGURE_ON=--enable-eap-dynamic EAPRADIUS_CONFIGURE_ON= --enable-eap-radius EAPSIMFILE_CONFIGURE_ON=--enable-eap-sim --enable-eap-sim-file +GCM_CONFIGURE_ON= --enable-gcm IKEv1_CONFIGURE_OFF= --disable-ikev1 IPSECKEY_CONFIGURE_ON= --enable-ipseckey KERNELLIBIPSEC_CONFIGURE_ON= --enable-kernel-libipsec @@ -74,6 +79,8 @@ LDAP_CONFIGURE_ON= --enable-ldap LDAP_USE= OPENLDAP=yes MYSQL_CONFIGURE_ON= --enable-mysql MYSQL_USE= MYSQL=yes +SMP_LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 +SMP_CONFIGURE_ON= --enable-smp SQLITE_CONFIGURE_ON= --enable-sqlite SQLITE_LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 TESTVECTOR_CONFIGURE_ON=--enable-test-vectors diff --git a/security/strongswan/pkg-plist b/security/strongswan/pkg-plist index bb9213d8d377..1f2e9ea482ba 100644 --- a/security/strongswan/pkg-plist +++ b/security/strongswan/pkg-plist @@ -252,6 +252,11 @@ man/man8/_updown_espmark.8.gz %%CURL%%lib/ipsec/plugins/libstrongswan-curl.so %%CURL%%%%DATADIR%%/templates/config/plugins/curl.conf %%CURL%%@sample %%ETCDIR%%.d/charon/curl.conf.sample +%%GCM%%%%DATADIR%%/templates/config/plugins/gcm.conf +%%GCM%%lib/ipsec/plugins/libstrongswan-gcm.a +%%GCM%%lib/ipsec/plugins/libstrongswan-gcm.la +%%GCM%%lib/ipsec/plugins/libstrongswan-gcm.so +%%GCM%%%%ETCDIR%%.d/charon/gcm.conf.sample %%IKEv1%%lib/ipsec/plugins/libstrongswan-xauth-generic.a %%IKEv1%%lib/ipsec/plugins/libstrongswan-xauth-generic.la %%IKEv1%%lib/ipsec/plugins/libstrongswan-xauth-generic.so @@ -330,6 +335,11 @@ man/man8/_updown_espmark.8.gz %%SCEP%%man/man8/scepclient.8.gz %%SCEP%%%%DATADIR%%/templates/config/strongswan.d/scepclient.conf %%SCEP%%@sample %%ETCDIR%%.d/scepclient.conf.sample +%%SMP%%%%DATADIR%%/templates/config/plugins/smp.conf +%%SMP%%lib/ipsec/plugins/libstrongswan-smp.a +%%SMP%%lib/ipsec/plugins/libstrongswan-smp.la +%%SMP%%lib/ipsec/plugins/libstrongswan-smp.so +%%SMP%%@sample %%ETCDIR%%.d/charon/smp.conf.sample %%UNBOUND%%lib/ipsec/plugins/libstrongswan-unbound.a %%UNBOUND%%lib/ipsec/plugins/libstrongswan-unbound.la %%UNBOUND%%lib/ipsec/plugins/libstrongswan-unbound.so |