diff options
| author | Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com> | 2016-12-30 07:40:28 +0100 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-01-19 09:25:44 +0100 |
| commit | 0e84e385b7e5366d11fb2898f911b491513c2ddd (patch) | |
| tree | 3b915bbeee3fa702aa306f50659c30e84bd88b96 /meta-networking/recipes-support/strongswan/strongswan_5.5.1.bb | |
| parent | c0e27d549e575a334f4dc9b35aa183371002ee53 (diff) | |
| download | meta-openembedded-0e84e385b7e5366d11fb2898f911b491513c2ddd.tar.gz | |
strongswan: update to 5.5.1
Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/strongswan/strongswan_5.5.1.bb')
| -rw-r--r-- | meta-networking/recipes-support/strongswan/strongswan_5.5.1.bb | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/strongswan/strongswan_5.5.1.bb b/meta-networking/recipes-support/strongswan/strongswan_5.5.1.bb new file mode 100644 index 0000000000..9c11904268 --- /dev/null +++ b/meta-networking/recipes-support/strongswan/strongswan_5.5.1.bb | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | DESCRIPTION = "strongSwan is an OpenSource IPsec implementation for the \ | ||
| 2 | Linux operating system." | ||
| 3 | SUMMARY = "strongSwan is an OpenSource IPsec implementation" | ||
| 4 | HOMEPAGE = "http://www.strongswan.org" | ||
| 5 | SECTION = "net" | ||
| 6 | LICENSE = "GPLv2" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
| 8 | DEPENDS = "gmp openssl flex-native flex bison-native" | ||
| 9 | |||
| 10 | SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2 \ | ||
| 11 | file://fix-funtion-parameter.patch \ | ||
| 12 | " | ||
| 13 | |||
| 14 | SRC_URI[md5sum] = "4eba9474f7dc6c8c8d7037261358e68d" | ||
| 15 | SRC_URI[sha256sum] = "720b301991f77bdedd8d551a956f52e2d11686a0ec18e832094f86cf2b842ab7" | ||
| 16 | |||
| 17 | EXTRA_OECONF = " \ | ||
| 18 | --without-lib-prefix \ | ||
| 19 | " | ||
| 20 | |||
| 21 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" | ||
| 22 | |||
| 23 | |||
| 24 | PACKAGECONFIG ??= "charon curl gmp openssl stroke sqlite3 \ | ||
| 25 | ${@bb.utils.contains('DISTRO_FEATURES', 'ldap', 'ldap', '', d)} \ | ||
| 26 | " | ||
| 27 | PACKAGECONFIG[aesni] = "--enable-aesni,--disable-aesni," | ||
| 28 | PACKAGECONFIG[charon] = "--enable-charon,--disable-charon," | ||
| 29 | PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl," | ||
| 30 | PACKAGECONFIG[gmp] = "--enable-gmp,--disable-gmp,gmp," | ||
| 31 | PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,openldap," | ||
| 32 | PACKAGECONFIG[mysql] = "--enable-mysql,--disable-mysql,mysql5," | ||
| 33 | PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl," | ||
| 34 | PACKAGECONFIG[scep] = "--enable-scepclient,--disable-scepclient," | ||
| 35 | PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4," | ||
| 36 | PACKAGECONFIG[sqlite3] = "--enable-sqlite,--disable-sqlite,sqlite3," | ||
| 37 | PACKAGECONFIG[stroke] = "--enable-stroke,--disable-stroke," | ||
| 38 | PACKAGECONFIG[swanctl] = "--enable-swanctl,--disable-swanctl,,libgcc" | ||
| 39 | |||
| 40 | # requires swanctl | ||
| 41 | PACKAGECONFIG[systemd-charon] = "--enable-systemd,--disable-systemd,systemd," | ||
| 42 | |||
| 43 | inherit autotools systemd pkgconfig | ||
| 44 | |||
| 45 | RRECOMMENDS_${PN} = "kernel-module-ipsec" | ||
| 46 | |||
| 47 | FILES_${PN} += "${libdir}/ipsec/lib*${SOLIBS} ${libdir}/ipsec/plugins/*.so" | ||
| 48 | FILES_${PN}-dbg += "${libdir}/ipsec/.debug ${libdir}/ipsec/plugins/.debug ${libexecdir}/ipsec/.debug" | ||
| 49 | FILES_${PN}-dev += "${libdir}/ipsec/lib*${SOLIBSDEV} ${libdir}/ipsec/*.la ${libdir}/ipsec/plugins/*.la" | ||
| 50 | FILES_${PN}-staticdev += "${libdir}/ipsec/*.a ${libdir}/ipsec/plugins/*.a" | ||
| 51 | |||
| 52 | RPROVIDES_${PN} += "${PN}-systemd" | ||
| 53 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 54 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
| 55 | SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'swanctl', '${BPN}-swanctl.service', '${BPN}.service', d)}" | ||
