diff options
Diffstat (limited to 'meta/packages/openswan/openswan_2.2.0.bb')
-rw-r--r-- | meta/packages/openswan/openswan_2.2.0.bb | 37 |
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 @@ | |||
1 | SECTION = "console/network" | ||
2 | DESCRIPTION = "Openswan is an Open Source implementation of IPsec for the \ | ||
3 | Linux operating system." | ||
4 | HOMEPAGE = "http://www.openswan.org" | ||
5 | LICENSE = "GPLv2" | ||
6 | MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>" | ||
7 | DEPENDS = "gmp flex-native" | ||
8 | RRECOMMENDS = "kernel-module-ipsec" | ||
9 | RDEPENDS_nylon = "perl" | ||
10 | PR = "r4" | ||
11 | |||
12 | SRC_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" | ||
17 | S = "${WORKDIR}/openswan-${PV}" | ||
18 | |||
19 | PARALLEL_MAKE = "" | ||
20 | EXTRA_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 | |||
27 | do_compile () { | ||
28 | oe_runmake programs | ||
29 | } | ||
30 | |||
31 | do_install () { | ||
32 | oe_runmake install | ||
33 | } | ||
34 | |||
35 | FILES_${PN} += "${libdir}/ipsec/" | ||
36 | |||
37 | CONFFILES_${PN} = "${sysconfdir}/ipsec/ipsec.conf" | ||