summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/zabbix
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-07-29 17:04:53 +0200
committerKhem Raj <raj.khem@gmail.com>2021-08-03 10:21:25 -0700
commitc61dc077bbd81260e4f167fa2251643ba0ba6974 (patch)
tree66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-oe/recipes-connectivity/zabbix
parentc5f7cfb8db54cfa4257797db5bd87828dea43296 (diff)
downloadmeta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz
Convert to new override syntax
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/zabbix')
-rw-r--r--meta-oe/recipes-connectivity/zabbix/zabbix_5.2.6.bb16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta-oe/recipes-connectivity/zabbix/zabbix_5.2.6.bb b/meta-oe/recipes-connectivity/zabbix/zabbix_5.2.6.bb
index 37bb9a282..b5ab15df4 100644
--- a/meta-oe/recipes-connectivity/zabbix/zabbix_5.2.6.bb
+++ b/meta-oe/recipes-connectivity/zabbix/zabbix_5.2.6.bb
@@ -34,12 +34,12 @@ SRC_URI[sha256sum] = "76cb704f2a04fbc87bb3eff44fa71339c355d467f7bbd8fb53f8927c76
34inherit autotools-brokensep linux-kernel-base pkgconfig systemd useradd 34inherit autotools-brokensep linux-kernel-base pkgconfig systemd useradd
35 35
36SYSTEMD_PACKAGES = "${PN}" 36SYSTEMD_PACKAGES = "${PN}"
37SYSTEMD_SERVICE_${PN} = "zabbix-agent.service" 37SYSTEMD_SERVICE:${PN} = "zabbix-agent.service"
38SYSTEMD_AUTO_ENABLE = "enable" 38SYSTEMD_AUTO_ENABLE = "enable"
39 39
40USERADD_PACKAGES = "${PN}" 40USERADD_PACKAGES = "${PN}"
41GROUPADD_PARAM_${PN} = "-r zabbix" 41GROUPADD_PARAM:${PN} = "-r zabbix"
42USERADD_PARAM_${PN} = "-r -g zabbix -d /var/lib/zabbix \ 42USERADD_PARAM:${PN} = "-r -g zabbix -d /var/lib/zabbix \
43 -s /sbin/nologin -c \"Zabbix Monitoring System\" zabbix \ 43 -s /sbin/nologin -c \"Zabbix Monitoring System\" zabbix \
44" 44"
45 45
@@ -60,13 +60,13 @@ EXTRA_OECONF = " \
60 --with-libpcre=${STAGING_EXECPREFIXDIR} \ 60 --with-libpcre=${STAGING_EXECPREFIXDIR} \
61 --with-iconv=${STAGING_EXECPREFIXDIR} \ 61 --with-iconv=${STAGING_EXECPREFIXDIR} \
62" 62"
63CFLAGS_append = " -lldap -llber -pthread" 63CFLAGS:append = " -lldap -llber -pthread"
64 64
65do_configure_prepend() { 65do_configure:prepend() {
66 export KERNEL_VERSION="${KERNEL_VERSION}" 66 export KERNEL_VERSION="${KERNEL_VERSION}"
67} 67}
68 68
69do_install_append() { 69do_install:append() {
70 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 70 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
71 install -d ${D}${systemd_unitdir}/system 71 install -d ${D}${systemd_unitdir}/system
72 install -m 0644 ${WORKDIR}/zabbix-agent.service ${D}${systemd_unitdir}/system/ 72 install -m 0644 ${WORKDIR}/zabbix-agent.service ${D}${systemd_unitdir}/system/
@@ -74,6 +74,6 @@ do_install_append() {
74 fi 74 fi
75} 75}
76 76
77FILES_${PN} += "${libdir}" 77FILES:${PN} += "${libdir}"
78 78
79RDEPENDS_${PN} = "logrotate" 79RDEPENDS:${PN} = "logrotate"