diff options
Diffstat (limited to 'meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb')
-rw-r--r-- | meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb b/meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb new file mode 100644 index 0000000000..022f709f99 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | SECTION = "console/network" | ||
2 | SUMMARY = "IPsec implementation" | ||
3 | DESCRIPTION = "Openswan is an Open Source implementation of IPsec for the \ | ||
4 | Linux operating system." | ||
5 | HOMEPAGE = "http://www.openswan.org" | ||
6 | LICENSE = "GPLv2" | ||
7 | DEPENDS = "gmp flex-native" | ||
8 | RRECOMMENDS = "kernel-module-ipsec" | ||
9 | RDEPENDS_nylon = "perl" | ||
10 | PR = "r0" | ||
11 | |||
12 | SRC_URI = "http://www.openswan.org/download/old/openswan-${PV}.tar.gz \ | ||
13 | file://openswan-2.4.7-gentoo.patch;patch=1 \ | ||
14 | file://installflags.patch;patch=1 \ | ||
15 | file://ld-library-path-breakage.patch;patch=1" | ||
16 | S = "${WORKDIR}/openswan-${PV}" | ||
17 | |||
18 | PARALLEL_MAKE = "" | ||
19 | EXTRA_OEMAKE = "DESTDIR=${D} \ | ||
20 | USERCOMPILE="${CFLAGS}" \ | ||
21 | FINALCONFDIR=${sysconfdir}/ipsec \ | ||
22 | INC_RCDEFAULT=${sysconfdir}/init.d \ | ||
23 | INC_USRLOCAL=${prefix} \ | ||
24 | INC_MANDIR=share/man WERROR=''" | ||
25 | |||
26 | do_compile () { | ||
27 | oe_runmake programs | ||
28 | } | ||
29 | |||
30 | do_install () { | ||
31 | oe_runmake install | ||
32 | } | ||
33 | |||
34 | FILES_${PN} = "${sysconfdir} ${libdir}/ipsec/* ${sbindir}/* ${libexecdir}/ipsec/*" | ||
35 | FILES_${PN}-dbg += "${libdir}/ipsec/.debug ${libexecdir}/ipsec/.debug" | ||
36 | |||
37 | CONFFILES_${PN} = "${sysconfdir}/ipsec/ipsec.conf" | ||