]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - strongswan/strongswan.nm
strongswan: 5.6.3 and enable ChaCha20Poly1305 plugin
[ipfire-3.x.git] / strongswan / strongswan.nm
index a2a48eb2799f36ccdf12e3e9736ca1eca5f85427..62795d77540acb7ac731c9ddbfab41754ee11010 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = strongswan
-version    = 5.5.3
-release    = 2
+version    = 5.6.3
+release    = 1
 
 groups     = Networking/VPN
 url        = http://www.strongswan.org/
@@ -40,7 +40,7 @@ build
                perl
                sqlite-devel
                systemd-devel >= 221-2
-               unbound-devel
+               unbound-devel >= 1.7
        end
 
        configure_options += \
@@ -54,6 +54,7 @@ build
                --enable-ccm \
                --enable-ctr \
                --enable-gcm \
+               --enable-chapoly \
                --enable-unity \
                --enable-xauth-eap \
                --enable-xauth-noauth \
@@ -67,7 +68,10 @@ build
                --disable-rc2 \
                --with-capabilities=libcap \
                --enable-unbound \
-               --enable-systemd
+               --enable-systemd \
+               --disable-charon \
+               --disable-stroke \
+               --disable-scepclient
 
        if "%{DISTRO_ARCH}" == "i686"
                configure_options += --enable-padlock
@@ -80,6 +84,13 @@ build
        #end
 
        install_cmds
+               mv -v %{BUILDROOT}%{unitdir}/strongswan{-swanctl,}.service
+
+               # Create directory for connections
+               mkdir -pv %{BUILDROOT}%{sysconfdir}/swanctl/connections
+               echo "include connections/*.conf" > \
+                       %{BUILDROOT}%{sysconfdir}/swanctl/swanctl.conf
+
                # Drop unneeded files.
                rm -rvf %{BUILDROOT}%{libdir}/ipsec/lib*.so