]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - strongswan/strongswan.nm
strongswan: Update to 5.0.0rc1.
[people/ms/ipfire-3.x.git] / strongswan / strongswan.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = strongswan
7 version = 5.0.0
8 release = 0.1.rc1
9 thisapp = %{name}-%{version}rc1
10
11 groups = Networking/VPN
12 url = http://www.strongswan.org/
13 license = GPL
14 summary = IPsec (IKEv1 + IKEv2) implementation for Linux.
15
16 description
17 StrongSwan is a complete IPsec and IKEv1 implementation for
18 Linux 2.4 and 2.6 kernels. It also fully supports the new IKEv2
19 protocol with Linux 2.6 kernels. It interoperates in both IKEv1
20 and IKEv2 mode with most other IPsec-based VPN products.
21 end
22
23 source_dl = http://download.strongswan.org/
24 sources = %{thisapp}.tar.bz2
25
26 build
27 requires
28 bison
29 flex
30 gmp-devel
31 gperf
32 libcap-devel
33 libcurl-devel
34 libgcrypt-devel
35 openldap-devel
36 perl
37 sqlite-devel
38 end
39
40 configure_options += \
41 --sysconfdir=/etc \
42 --libexecdir=/usr/lib \
43 --with-user=nobody \
44 --with-group=nobody \
45 --enable-curl \
46 --enable-ldap \
47 --enable-sqlite \
48 --enable-gcrypt \
49 --enable-cisco-quirks \
50 --with-capabilities=libcap
51
52 if "%{DISTRO_ARCH}" == "i686"
53 configure_options += --enable-padlock
54 end
55
56 test
57 make check
58 end
59 end
60
61 # Plugins and many other files are installed in /usr/lib/ipsec
62 # and loaded by using a RPATH.
63 quality-agent
64 whitelist_rpath
65 /usr/lib/ipsec
66 end
67 end
68
69 packages
70 package %{name}
71
72 package %{name}-debuginfo
73 template DEBUGINFO
74 end
75 end