mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
syslog-ng: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
committed by
Koen Kooi
parent
2dae284c9e
commit
d1f914398d
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7ec1bcc46f28b11f4722e20d9b7dd4d5"
|
||||
# update-rc.d and update-alternatives is important
|
||||
RDEPENDS_${PN} += " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"
|
||||
|
||||
INC_PR = "r8"
|
||||
INC_PR = "r9"
|
||||
|
||||
inherit autotools systemd
|
||||
inherit autotools
|
||||
|
||||
SRC_URI = "http://www.balabit.com/downloads/files/syslog-ng/sources/${PV}/source/${PN}_${PV}.tar.gz"
|
||||
|
||||
@@ -25,8 +25,6 @@ EXTRA_OECONF = " \
|
||||
--disable-linux-caps \
|
||||
--disable-pcre \
|
||||
--disable-sql \
|
||||
--enable-systemd \
|
||||
--with-systemdsystemunitdir=${systemd_unitdir}/system \
|
||||
"
|
||||
|
||||
do_configure_prepend() {
|
||||
@@ -44,9 +42,6 @@ do_install_append() {
|
||||
install -m 755 ${WORKDIR}/initscript ${D}/${sysconfdir}/init.d/syslog.${PN}
|
||||
}
|
||||
|
||||
SYSTEMD_PACKAGES = "${PN}-systemd"
|
||||
SYSTEMD_SERVICE = "${PN}.service"
|
||||
|
||||
FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
|
||||
${sysconfdir} ${sharedstatedir} ${localstatedir} \
|
||||
${base_bindir}/* ${base_sbindir}/* \
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
inherit systemd
|
||||
|
||||
PRINC := "${@int(PRINC) + 1}"
|
||||
|
||||
EXTRA_OECONF += " \
|
||||
--enable-systemd \
|
||||
--with-systemdsystemunitdir=${systemd_unitdir}/system \
|
||||
"
|
||||
|
||||
SYSTEMD_PACKAGES = "${PN}-systemd"
|
||||
SYSTEMD_SERVICE = "${PN}.service"
|
||||
Reference in New Issue
Block a user