]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - pkgs/strongswan/strongswan.nm
dbus-glib: Update to 0.94.
[people/amarx/ipfire-3.x.git] / pkgs / strongswan / strongswan.nm
CommitLineData
c6a74bfb
MT
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include $(PKGROOT)/Include
26
27PKG_NAME = strongswan
57aeb76f
MT
28PKG_VER = 4.5.2
29PKG_REL = 2
c6a74bfb
MT
30
31PKG_MAINTAINER =
bb7d617c 32PKG_GROUPS = Networking/VPN
c6a74bfb
MT
33PKG_URL = http://www.strongswan.org/
34PKG_LICENSE = GPL
35PKG_SUMMARY = IPsec and IKEv1 implementation for Linux 2.4 and 2.6 kernels.
36
a154f66f
MT
37PKG_BUILD_DEPS+= bison flex gmp-devel gperf libcap-devel libcurl-devel \
38 libgcrypt-devel openldap-devel perl sqlite-devel
c6a74bfb
MT
39
40define PKG_DESCRIPTION
41 StrongSwan is a complete IPsec and IKEv1 implementation for \
42 Linux 2.4 and 2.6 kernels. It also fully supports the new IKEv2 \
43 protocol with Linux 2.6 kernels. It interoperates in both IKEv1 \
44 and IKEv2 mode with most other IPsec-based VPN products.
45endef
46
47PKG_TARBALL = $(THISAPP).tar.bz2
48
49CONFIGURE_OPTIONS += \
50 --sysconfdir=/etc \
51 --libexecdir=/usr/lib \
52 --with-user=nobody \
53 --with-group=nobody \
54 --enable-curl \
55 --enable-ldap \
56 --enable-sqlite \
57 --enable-gcrypt \
58 --enable-padlock \
59 --enable-cisco-quirks \
60 --with-capabilities=libcap
61
62define STAGE_PREPARE_CMDS
63 cd $(DIR_APP) && for i in $$(find . -name "*.[ch]"); do \
64 sed -e "s/getline/_&/g" -i $$i; done
65endef
66
67define STAGE_TEST
68 cd $(DIR_APP) && make check
69endef