]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - strongswan/strongswan.nm
openvswitch: Add service file for systemd.
[people/amarx/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 = 4.6.2
8 release = 2
9
10 groups = Networking/VPN
11 url = http://www.strongswan.org/
12 license = GPL
13 summary = IPsec and IKEv1 implementation for Linux 2.4 and 2.6 kernels.
14
15 description
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
19 and IKEv2 mode with most other IPsec-based VPN products.
20 end
21
22 source_dl = http://download.strongswan.org/
23
24 build
25 requires
26 bison
27 flex
28 gmp-devel
29 gperf
30 libcap-devel
31 libcurl-devel
32 libgcrypt-devel
33 openldap-devel
34 perl
35 sqlite-devel
36 end
37
38 configure_options += \
39 --sysconfdir=/etc \
40 --libexecdir=/usr/lib \
41 --with-user=nobody \
42 --with-group=nobody \
43 --enable-curl \
44 --enable-ldap \
45 --enable-sqlite \
46 --enable-gcrypt \
47 --enable-cisco-quirks \
48 --with-capabilities=libcap
49
50 if "%{DISTRO_ARCH}" == "i686"
51 configure_options += --enable-padlock
52 end
53
54 test
55 make check
56 end
57 end
58
59 # Plugins and many other files are installed in /usr/lib/ipsec
60 # and loaded by using a RPATH.
61 quality-agent
62 whitelist_rpath
63 /usr/lib/ipsec
64 end
65 end
66
67 packages
68 package %{name}
69
70 package %{name}-debuginfo
71 template DEBUGINFO
72 end
73 end