Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2015 10:03:53 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379892 - head/security/strongswan
Message-ID:  <201502251003.t1PA3raQ009678@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Wed Feb 25 10:03:52 2015
New Revision: 379892
URL: https://svnweb.freebsd.org/changeset/ports/379892
QAT: https://qat.redports.org/buildarchive/r379892/

Log:
  - 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)

Modified:
  head/security/strongswan/Makefile
  head/security/strongswan/pkg-plist

Modified: head/security/strongswan/Makefile
==============================================================================
--- head/security/strongswan/Makefile	Wed Feb 25 10:03:34 2015	(r379891)
+++ head/security/strongswan/Makefile	Wed Feb 25 10:03:52 2015	(r379892)
@@ -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 V
 
 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 plu
 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:${PORT
 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

Modified: head/security/strongswan/pkg-plist
==============================================================================
--- head/security/strongswan/pkg-plist	Wed Feb 25 10:03:34 2015	(r379891)
+++ head/security/strongswan/pkg-plist	Wed Feb 25 10:03:52 2015	(r379892)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502251003.t1PA3raQ009678>