1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
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. #
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. #
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/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
32 PKG_GROUP = Networking/VPN
33 PKG_URL = http://www.strongswan.org/
35 PKG_SUMMARY = IPsec and IKEv1 implementation for Linux 2.4 and 2.6 kernels.
37 PKG_BUILD_DEPS+= bison flex gmp-devel gperf libcap-devel libcurl-devel \
38 libgcrypt-devel openldap-devel perl sqlite-devel
40 define 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.
47 PKG_TARBALL = $(THISAPP).tar.bz2
49 CONFIGURE_OPTIONS += \
51 --libexecdir=/usr/lib \
59 --enable-cisco-quirks \
60 --with-capabilities=libcap
62 define STAGE_PREPARE_CMDS
63 cd $(DIR_APP) && for i in $$(find . -name "*.[ch]"); do \
64 sed -e "s/getline/_&/g" -i $$i; done
68 cd $(DIR_APP) && make check