mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
strongswam: disable systemd support in meta-oe and reenable it in meta-systemd
* fixes: strongswan-5.0.0: strongswan: Files/directories were installed but not shipped /lib /lib/systemd /lib/systemd/system /lib/systemd/system/strongswan.service Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -5,7 +5,7 @@ SECTION = "console/network"
|
|||||||
LICENSE = "GPLv2"
|
LICENSE = "GPLv2"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||||
DEPENDS = "gmp openssl flex-native flex bison-native"
|
DEPENDS = "gmp openssl flex-native flex bison-native"
|
||||||
PR = "r1"
|
PR = "r2"
|
||||||
|
|
||||||
SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2"
|
SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2"
|
||||||
SRC_URI[md5sum] = "c8b861305def7c0abae04f7bbefec212"
|
SRC_URI[md5sum] = "c8b861305def7c0abae04f7bbefec212"
|
||||||
@@ -15,6 +15,10 @@ EXTRA_OECONF = "--disable-curl --disable-soup --disable-ldap \
|
|||||||
--enable-gmp --disable-mysql --disable-sqlite \
|
--enable-gmp --disable-mysql --disable-sqlite \
|
||||||
--enable-openssl"
|
--enable-openssl"
|
||||||
|
|
||||||
|
SYSTEMD_UNITDIR ??= "no"
|
||||||
|
|
||||||
|
EXTRA_OECONF += "--with-systemdsystemunitdir=${SYSTEMD_UNITDIR}"
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools
|
||||||
|
|
||||||
RRECOMMENDS_${PN} = "kernel-module-ipsec"
|
RRECOMMENDS_${PN} = "kernel-module-ipsec"
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
inherit systemd
|
||||||
|
|
||||||
|
PRINC := "${@int(PRINC) + 1}"
|
||||||
|
|
||||||
|
SYSTEMD_UNITDIR = "${systemd_unitdir}/system"
|
||||||
|
|
||||||
|
SYSTEMD_PACKAGES = "${PN}-systemd"
|
||||||
|
SYSTEMD_SERVICE = "${PN}.service"
|
||||||
Reference in New Issue
Block a user