]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = strongswan |
9901f43c MT |
7 | version = 5.0.0 |
8 | release = 0.1.rc1 | |
9 | thisapp = %{name}-%{version}rc1 | |
c6a74bfb | 10 | |
802ea3af MT |
11 | groups = Networking/VPN |
12 | url = http://www.strongswan.org/ | |
13 | license = GPL | |
9901f43c | 14 | summary = IPsec (IKEv1 + IKEv2) implementation for Linux. |
c6a74bfb | 15 | |
802ea3af | 16 | description |
f59c3c04 SS |
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 | |
c6a74bfb | 20 | and IKEv2 mode with most other IPsec-based VPN products. |
802ea3af | 21 | end |
c6a74bfb | 22 | |
802ea3af | 23 | source_dl = http://download.strongswan.org/ |
9901f43c | 24 | sources = %{thisapp}.tar.bz2 |
802ea3af MT |
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 \ | |
802ea3af MT |
49 | --enable-cisco-quirks \ |
50 | --with-capabilities=libcap | |
926324f9 | 51 | |
f94138e7 MT |
52 | if "%{DISTRO_ARCH}" == "i686" |
53 | configure_options += --enable-padlock | |
54 | end | |
55 | ||
802ea3af MT |
56 | test |
57 | make check | |
58 | end | |
59 | end | |
c6a74bfb | 60 | |
802ea3af MT |
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 | |
c6a74bfb | 68 | |
802ea3af MT |
69 | packages |
70 | package %{name} | |
1f9bc2f0 MT |
71 | |
72 | package %{name}-debuginfo | |
73 | template DEBUGINFO | |
74 | end | |
802ea3af | 75 | end |