summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openswan/openswan_2.4.7.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/openswan/openswan_2.4.7.bb')
-rw-r--r--meta/recipes-connectivity/openswan/openswan_2.4.7.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openswan/openswan_2.4.7.bb b/meta/recipes-connectivity/openswan/openswan_2.4.7.bb
new file mode 100644
index 0000000000..4ebb9c7a45
--- /dev/null
+++ b/meta/recipes-connectivity/openswan/openswan_2.4.7.bb
@@ -0,0 +1,36 @@
1SECTION = "console/network"
2DESCRIPTION = "Openswan is an Open Source implementation of IPsec for the \
3Linux operating system."
4HOMEPAGE = "http://www.openswan.org"
5LICENSE = "GPLv2"
6DEPENDS = "gmp flex-native"
7RRECOMMENDS = "kernel-module-ipsec"
8RDEPENDS_nylon = "perl"
9PR = "r0"
10
11SRC_URI = "http://www.openswan.org/download/old/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"
15S = "${WORKDIR}/openswan-${PV}"
16
17PARALLEL_MAKE = ""
18EXTRA_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
25do_compile () {
26 oe_runmake programs
27}
28
29do_install () {
30 oe_runmake install
31}
32
33FILES_${PN} = "${sysconfdir} ${libdir}/ipsec/* ${sbindir}/* ${libexecdir}/ipsec/*"
34FILES_${PN}-dbg += "${libdir}/ipsec/.debug ${libexecdir}/ipsec/.debug"
35
36CONFFILES_${PN} = "${sysconfdir}/ipsec/ipsec.conf"