diff options
Diffstat (limited to 'meta/packages/openswan/openswan_2.4.7.bb')
-rw-r--r-- | meta/packages/openswan/openswan_2.4.7.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/packages/openswan/openswan_2.4.7.bb b/meta/packages/openswan/openswan_2.4.7.bb new file mode 100644 index 0000000000..353e0eacdd --- /dev/null +++ b/meta/packages/openswan/openswan_2.4.7.bb | |||
@@ -0,0 +1,36 @@ | |||
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 | DEPENDS = "gmp flex-native" | ||
7 | RRECOMMENDS = "kernel-module-ipsec" | ||
8 | RDEPENDS_nylon = "perl" | ||
9 | PR = "r0" | ||
10 | |||
11 | SRC_URI = "http://www.openswan.org/download/openswan-${PV}.tar.gz \ | ||
12 | file://openswan-2.4.7-gentoo.patch;patch=1 \ | ||
13 | file://installflags.patch;patch=1 \ | ||
14 | file://ld-library-path-breakage.patch;patch=1" | ||
15 | S = "${WORKDIR}/openswan-${PV}" | ||
16 | |||
17 | PARALLEL_MAKE = "" | ||
18 | EXTRA_OEMAKE = "DESTDIR=${D} \ | ||
19 | USERCOMPILE="${CFLAGS}" \ | ||
20 | FINALCONFDIR=${sysconfdir}/ipsec \ | ||
21 | INC_RCDEFAULT=${sysconfdir}/init.d \ | ||
22 | INC_USRLOCAL=${prefix} \ | ||
23 | INC_MANDIR=share/man WERROR=''" | ||
24 | |||
25 | do_compile () { | ||
26 | oe_runmake programs | ||
27 | } | ||
28 | |||
29 | do_install () { | ||
30 | oe_runmake install | ||
31 | } | ||
32 | |||
33 | FILES_${PN} = "${sysconfdir} ${libdir}/ipsec/* ${sbindir}/* ${libexecdir}/ipsec/*" | ||
34 | FILES_${PN}-dbg += "${libdir}/ipsec/.debug ${libexecdir}/ipsec/.debug" | ||
35 | |||
36 | CONFFILES_${PN} = "${sysconfdir}/ipsec/ipsec.conf" | ||