summaryrefslogtreecommitdiffstats
path: root/meta/packages/openswan/openswan_2.2.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/openswan/openswan_2.2.0.bb')
-rw-r--r--meta/packages/openswan/openswan_2.2.0.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/packages/openswan/openswan_2.2.0.bb b/meta/packages/openswan/openswan_2.2.0.bb
new file mode 100644
index 0000000000..197fed95f6
--- /dev/null
+++ b/meta/packages/openswan/openswan_2.2.0.bb
@@ -0,0 +1,37 @@
1SECTION = "console/network"
2DESCRIPTION = "Openswan is an Open Source implementation of IPsec for the \
3Linux operating system."
4HOMEPAGE = "http://www.openswan.org"
5LICENSE = "GPLv2"
6MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
7DEPENDS = "gmp flex-native"
8RRECOMMENDS = "kernel-module-ipsec"
9RDEPENDS_nylon = "perl"
10PR = "r4"
11
12SRC_URI = "http://www.openswan.org/download/old/openswan-${PV}.tar.gz \
13 file://openswan-2.2.0-gentoo.patch;patch=1 \
14 file://gcc4-fixes.patch;patch=1 \
15 file://makefile-whitespace-fix.patch;patch=1 \
16 file://ld-library-path-breakage.patch;patch=1"
17S = "${WORKDIR}/openswan-${PV}"
18
19PARALLEL_MAKE = ""
20EXTRA_OEMAKE = "DESTDIR=${D} \
21 USERCOMPILE="${CFLAGS}" \
22 FINALCONFDIR=${sysconfdir}/ipsec \
23 INC_RCDEFAULT=${sysconfdir}/init.d \
24 INC_USRLOCAL=${prefix} \
25 INC_MANDIR=share/man WERROR=''"
26
27do_compile () {
28 oe_runmake programs
29}
30
31do_install () {
32 oe_runmake install
33}
34
35FILES_${PN} += "${libdir}/ipsec/"
36
37CONFFILES_${PN} = "${sysconfdir}/ipsec/ipsec.conf"