]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - strongswan/strongswan.nm
strongswan: Build padlock plugin only on i686.
[people/arne_f/ipfire-3.x.git] / strongswan / strongswan.nm
index 469264e929de1eaa38e4fa6eb9735140eaa6400f..ef43905afb5e8cf399d90ad0da6094cc86d6fa9c 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = strongswan
-version    = 4.6.0
-release    = 1
+version    = 4.6.2
+release    = 2
 
 groups     = Networking/VPN
 url        = http://www.strongswan.org/
@@ -13,9 +13,9 @@ license    = GPL
 summary    = IPsec and IKEv1 implementation for Linux 2.4 and 2.6 kernels.
 
 description
-       StrongSwan is a complete IPsec and IKEv1 implementation for \
-       Linux 2.4 and 2.6 kernels. It also fully supports the new IKEv2 \
-       protocol with Linux 2.6 kernels. It interoperates in both IKEv1 \
+       StrongSwan is a complete IPsec and IKEv1 implementation for
+       Linux 2.4 and 2.6 kernels. It also fully supports the new IKEv2
+       protocol with Linux 2.6 kernels. It interoperates in both IKEv1
        and IKEv2 mode with most other IPsec-based VPN products.
 end
 
@@ -44,10 +44,13 @@ build
                --enable-ldap \
                --enable-sqlite \
                --enable-gcrypt \
-               --enable-padlock \
                --enable-cisco-quirks \
                --with-capabilities=libcap
 
+       if "%{DISTRO_ARCH}" == "i686"
+               configure_options += --enable-padlock
+       end
+
        test
                make check
        end
@@ -63,4 +66,8 @@ end
 
 packages
        package %{name}
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
 end