diff options
author | Armin Kuster <akuster@mvista.com> | 2014-12-02 15:31:34 -0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-12-09 11:34:42 +0100 |
commit | d6afd2bdb631e2fba76e987370883a7337c440d5 (patch) | |
tree | f4a8381931655e261d6276ecfd7397d90bc98a30 /meta-networking/recipes-support/strongswan/strongswan_5.2.1.bb | |
parent | 2d4a6ccec484e695e63431624e44bb28bcb4098a (diff) | |
download | meta-openembedded-d6afd2bdb631e2fba76e987370883a7337c440d5.tar.gz |
strongswan: update package to 5.2.1
see https://wiki.strongswan.org/projects/strongswan/wiki/Changelog52
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/strongswan/strongswan_5.2.1.bb')
-rw-r--r-- | meta-networking/recipes-support/strongswan/strongswan_5.2.1.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/strongswan/strongswan_5.2.1.bb b/meta-networking/recipes-support/strongswan/strongswan_5.2.1.bb new file mode 100644 index 0000000000..6b913190c2 --- /dev/null +++ b/meta-networking/recipes-support/strongswan/strongswan_5.2.1.bb @@ -0,0 +1,45 @@ +DESCRIPTION = "strongSwan is an OpenSource IPsec implementation for the \ +Linux operating system." +SUMMARY = "strongSwan is an OpenSource IPsec implementation" +HOMEPAGE = "http://www.strongswan.org" +SECTION = "console/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" +DEPENDS = "gmp openssl flex-native flex bison-native" + +SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2 \ + file://fix-funtion-parameter.patch \ +" + +SRC_URI[md5sum] = "dd3717c0aa59ab4591ca1812941ebb82" +SRC_URI[sha256sum] = "ea51ab33b5bb39fecaf10668833a9936583b42145948ae9da1ab98f74e939215" + +EXTRA_OECONF = "--enable-gmp \ + --enable-openssl \ + --without-lib-prefix \ +" + +EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" + +PACKAGECONFIG ??= "sqlite3 curl \ + ${@base_contains('DISTRO_FEATURES', 'ldap', 'ldap', '', d)} \ +" +PACKAGECONFIG[sqlite3] = "--enable-sqlite,--disable-sqlite,sqlite3," +PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,openldap," +PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl," +PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4," +PACKAGECONFIG[mysql] = "--enable-mysql,--disable-mysql,mysql5," + +inherit autotools systemd pkgconfig + +RRECOMMENDS_${PN} = "kernel-module-ipsec" + +FILES_${PN} += "${libdir}/ipsec/lib*${SOLIBS} ${libdir}/ipsec/plugins/*.so" +FILES_${PN}-dbg += "${libdir}/ipsec/.debug ${libdir}/ipsec/plugins/.debug ${libexecdir}/ipsec/.debug" +FILES_${PN}-dev += "${libdir}/ipsec/lib*${SOLIBSDEV} ${libdir}/ipsec/*.la ${libdir}/ipsec/plugins/*.la" +FILES_${PN}-staticdev += "${libdir}/ipsec/*.a ${libdir}/ipsec/plugins/*.a" + +RPROVIDES_${PN} += "${PN}-systemd" +RREPLACES_${PN} += "${PN}-systemd" +RCONFLICTS_${PN} += "${PN}-systemd" +SYSTEMD_SERVICE_${PN} = "${BPN}.service" |