]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - strongswan/strongswan.nm
newt: Fix packaging of python-newt on x86_64.
[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
7290e7dc
AF
7version = 4.6.3
8release = 1
c6a74bfb 9
802ea3af
MT
10groups = Networking/VPN
11url = http://www.strongswan.org/
12license = GPL
13summary = IPsec and IKEv1 implementation for Linux 2.4 and 2.6 kernels.
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
MT
22source_dl = http://download.strongswan.org/
23
24build
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 \
802ea3af
MT
47 --enable-cisco-quirks \
48 --with-capabilities=libcap
926324f9 49
f94138e7
MT
50 if "%{DISTRO_ARCH}" == "i686"
51 configure_options += --enable-padlock
52 end
53
802ea3af
MT
54 test
55 make check
56 end
57end
c6a74bfb 58
802ea3af
MT
59# Plugins and many other files are installed in /usr/lib/ipsec
60# and loaded by using a RPATH.
61quality-agent
62 whitelist_rpath
63 /usr/lib/ipsec
64 end
65end
c6a74bfb 66
802ea3af
MT
67packages
68 package %{name}
1f9bc2f0
MT
69
70 package %{name}-debuginfo
71 template DEBUGINFO
72 end
802ea3af 73end