From ef244600c26a75834836888d7457e0a7f6cb16bf Mon Sep 17 00:00:00 2001 From: Alexander Yurkov Date: Fri, 29 May 2026 12:09:46 +0000 Subject: [PATCH] syslog-ng: Add an option to make awk optional. Breaking change: Awk will now be turned off by default. The change is introduced to avoid licensing issues: Syslog-ng is GPLv2, gawk is GPLv3. Signed-off-by: Alexander Yurkov Signed-off-by: Khem Raj --- meta-oe/recipes-support/syslog-ng/syslog-ng_4.11.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng_4.11.0.bb b/meta-oe/recipes-support/syslog-ng/syslog-ng_4.11.0.bb index 9c6f62856b..65cb8f7db2 100644 --- a/meta-oe/recipes-support/syslog-ng/syslog-ng_4.11.0.bb +++ b/meta-oe/recipes-support/syslog-ng/syslog-ng_4.11.0.bb @@ -67,6 +67,7 @@ PACKAGECONFIG[json] = "--enable-json,--disable-json,json-c," PACKAGECONFIG[geoip] = "--enable-geoip,--disable-geoip,geoip," PACKAGECONFIG[native] = "--enable-native,--disable-native,," PACKAGECONFIG[examples] = "--enable-example-modules,--disable-example-modules,," +PACKAGECONFIG[scl-syslogconf-awk] = "--enable-scl-syslogconf-awk,--disable-scl-syslogconf-awk,,gawk" do_install:append() { install -d ${D}${sysconfdir}/${BPN} @@ -108,7 +109,7 @@ do_install:append() { } FILES:${PN} += "${datadir}/include/scl/ ${datadir}/xsd ${datadir}/tools ${systemd_unitdir}/system/multi-user.target.wants/*" -RDEPENDS:${PN} += "gawk ${@bb.utils.contains('PACKAGECONFIG','json','${PN}-jconf','',d)}" +RDEPENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG','json','${PN}-jconf','',d)}" FILES:${PN}-jconf += " \ ${datadir}/${BPN}/include/scl/cim \