]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - strongswan/strongswan.nm
less: Update to version 481
[people/amarx/ipfire-3.x.git] / strongswan / strongswan.nm
CommitLineData
c6a74bfb 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
c6a74bfb
MT
4###############################################################################
5
802ea3af 6name = strongswan
5e7474d8 7version = 5.3.2
ea1f181e 8release = 1
c6a74bfb 9
802ea3af
MT
10groups = Networking/VPN
11url = http://www.strongswan.org/
12license = GPL
9901f43c 13summary = IPsec (IKEv1 + IKEv2) implementation for Linux.
c6a74bfb 14
802ea3af 15description
f59c3c04
SS
16 StrongSwan is a complete IPsec and IKEv1 implementation for
17 Linux 2.4 and 2.6 kernels. It also fully supports the new IKEv2
18 protocol with Linux 2.6 kernels. It interoperates in both IKEv1
c6a74bfb 19 and IKEv2 mode with most other IPsec-based VPN products.
802ea3af 20end
c6a74bfb 21
802ea3af 22source_dl = http://download.strongswan.org/
9901f43c 23sources = %{thisapp}.tar.bz2
802ea3af
MT
24
25build
26 requires
5e7474d8
MT
27 autoconf
28 automake
802ea3af
MT
29 bison
30 flex
31 gmp-devel
32 gperf
33 libcap-devel
34 libcurl-devel
35 libgcrypt-devel
ba0b224a 36 libtool
802ea3af 37 openldap-devel
ba0b224a 38 openssl-devel
802ea3af
MT
39 perl
40 sqlite-devel
ba0b224a
MT
41 systemd-devel
42 systemd-units
802ea3af
MT
43 end
44
45 configure_options += \
802ea3af
MT
46 --enable-curl \
47 --enable-ldap \
ba0b224a 48 --enable-openssl \
802ea3af
MT
49 --enable-sqlite \
50 --enable-gcrypt \
5e7474d8
MT
51 --enable-ccm \
52 --enable-ctr \
53 --enable-gcm \
54 --enable-xauth-eap \
55 --enable-xauth-noauth \
56 --enable-eap-radius \
57 --enable-eap-tls \
58 --enable-eap-ttls \
59 --enable-eap-peap \
60 --enable-eap-mschapv2 \
61 --enable-eap-identity \
62 --with-capabilities=libcap \
63 --enable-swanctl \
64 --enable-kernel-libipsec
926324f9 65
f94138e7
MT
66 if "%{DISTRO_ARCH}" == "i686"
67 configure_options += --enable-padlock
68 end
69
5e7474d8
MT
70 # The testsuite does not run through in the build system
71 # on ARM systems.
72 #test
73 # make check
74 #end
802ea3af 75end
c6a74bfb 76
802ea3af
MT
77packages
78 package %{name}
ba0b224a
MT
79 script postin
80 systemctl daemon-reload >/dev/null 2>&1 || :
81 end
82
83 script postup
84 systemctl daemon-reload >/dev/null 2>&1 || :
85 systemctl reload-or-try-restart strongswan.service >/dev/null 2>&1 || :
86 end
87
88 script preun
89 systemctl disable --no-reload strongswan.service >/dev/null 2>&1 || :
90 systemctl stop strongswan.service >/dev/null 2>&1 || :
91 end
92
93 script postun
94 systemctl daemon-reload >/dev/null 2>&1 || :
95 end
96 end
1f9bc2f0
MT
97
98 package %{name}-debuginfo
99 template DEBUGINFO
100 end
802ea3af 101end