summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/strongswan/strongswan_5.1.1.bb
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
commit1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch)
tree0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-networking/recipes-support/strongswan/strongswan_5.1.1.bb
downloadmeta-openembedded-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-networking/recipes-support/strongswan/strongswan_5.1.1.bb')
-rw-r--r--meta-networking/recipes-support/strongswan/strongswan_5.1.1.bb45
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/strongswan/strongswan_5.1.1.bb b/meta-networking/recipes-support/strongswan/strongswan_5.1.1.bb
new file mode 100644
index 0000000000..a2a2333d63
--- /dev/null
+++ b/meta-networking/recipes-support/strongswan/strongswan_5.1.1.bb
@@ -0,0 +1,45 @@
1DESCRIPTION = "strongSwan is an OpenSource IPsec implementation for the \
2Linux operating system."
3SUMMARY = "strongSwan is an OpenSource IPsec implementation"
4HOMEPAGE = "http://www.strongswan.org"
5SECTION = "console/network"
6LICENSE = "GPLv2"
7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
8DEPENDS = "gmp openssl flex-native flex bison-native"
9
10SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2 \
11 file://fix-funtion-parameter.patch \
12"
13
14SRC_URI[md5sum] = "e3af3d493d22286be3cd794533a8966a"
15SRC_URI[sha256sum] = "fbf2a668221fc4a36a34bdeac2dfeda25b96f572d551df022585177953622406"
16
17EXTRA_OECONF = "--enable-gmp \
18 --enable-openssl \
19 --without-lib-prefix \
20"
21
22EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}"
23
24PACKAGECONFIG ??= "sqlite3 curl \
25 ${@base_contains('DISTRO_FEATURES', 'ldap', 'ldap', '', d)} \
26"
27PACKAGECONFIG[sqlite3] = "--enable-sqlite,--disable-sqlite,sqlite3,"
28PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,openldap,"
29PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl,"
30PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4,"
31PACKAGECONFIG[mysql] = "--enable-mysql,--disable-mysql,mysql5,"
32
33inherit autotools systemd
34
35RRECOMMENDS_${PN} = "kernel-module-ipsec"
36
37FILES_${PN} += "${libdir}/ipsec/lib*${SOLIBS} ${libdir}/ipsec/plugins/*.so"
38FILES_${PN}-dbg += "${libdir}/ipsec/.debug ${libdir}/ipsec/plugins/.debug ${libexecdir}/ipsec/.debug"
39FILES_${PN}-dev += "${libdir}/ipsec/lib*${SOLIBSDEV} ${libdir}/ipsec/*.la ${libdir}/ipsec/plugins/*.la"
40FILES_${PN}-staticdev += "${libdir}/ipsec/*.a ${libdir}/ipsec/plugins/*.a"
41
42RPROVIDES_${PN} += "${PN}-systemd"
43RREPLACES_${PN} += "${PN}-systemd"
44RCONFLICTS_${PN} += "${PN}-systemd"
45SYSTEMD_SERVICE_${PN} = "${BPN}.service"