diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-04-15 19:06:25 +0100 |
---|---|---|
committer | Joe MacDonald <joe.macdonald@windriver.com> | 2013-04-29 14:02:39 -0400 |
commit | e6867fa02618c29a4469342bd3323f51445f9875 (patch) | |
tree | 1383b294100f0d26040d49bea3fb7e5ecc9bc6a3 /meta-networking | |
parent | 36d5c2f3736bc1121f700fd11130bd4675afba0a (diff) | |
download | meta-openembedded-e6867fa02618c29a4469342bd3323f51445f9875.tar.gz |
strongswan: move to meta-networking
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-support/strongswan/strongswan_5.0.0.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/strongswan/strongswan_5.0.0.bb b/meta-networking/recipes-support/strongswan/strongswan_5.0.0.bb new file mode 100644 index 000000000..eb49494ef --- /dev/null +++ b/meta-networking/recipes-support/strongswan/strongswan_5.0.0.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | DESCRIPTION = "strongSwan is an OpenSource IPsec implementation for the \ | ||
2 | Linux operating system." | ||
3 | HOMEPAGE = "http://www.strongswan.org" | ||
4 | SECTION = "console/network" | ||
5 | LICENSE = "GPLv2" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
7 | DEPENDS = "gmp openssl flex-native flex bison-native" | ||
8 | PR = "r5" | ||
9 | |||
10 | SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2" | ||
11 | SRC_URI[md5sum] = "c8b861305def7c0abae04f7bbefec212" | ||
12 | SRC_URI[sha256sum] = "efc13c86e715b5e596d9d8535640c830f83e977fe521afd2c70d68926c4b573e" | ||
13 | |||
14 | EXTRA_OECONF = "--disable-curl --disable-soup --disable-ldap \ | ||
15 | --enable-gmp --disable-mysql --disable-sqlite \ | ||
16 | --enable-openssl" | ||
17 | |||
18 | EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" | ||
19 | |||
20 | inherit autotools systemd | ||
21 | |||
22 | RRECOMMENDS_${PN} = "kernel-module-ipsec" | ||
23 | |||
24 | PACKAGES += "${PN}-plugins" | ||
25 | FILES_${PN} += "${libdir}/ipsec/lib*${SOLIBS}" | ||
26 | FILES_${PN}-dev += "${libdir}/ipsec/lib*${SOLIBSDEV} ${libdir}/ipsec/*.la" | ||
27 | FILES_${PN}-staticdev += "${libdir}/ipsec/*.a" | ||
28 | FILES_${PN}-dbg += "${libdir}/ipsec/.debug ${libdir}/ipsec/plugins/.debug ${libexecdir}/ipsec/.debug" | ||
29 | FILES_${PN}-plugins += "${libdir}/ipsec/plugins/*" | ||
30 | |||
31 | INSANE_SKIP_${PN}-plugins = "staticdev" | ||
32 | |||
33 | RPROVIDES_${PN} += "${PN}-systemd" | ||
34 | RREPLACES_${PN} += "${PN}-systemd" | ||
35 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
36 | SYSTEMD_SERVICE_${PN} = "${PN}.service" | ||