summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Yurkov <alexander.v.yurkov@gmail.com>2026-05-29 12:09:46 +0000
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-06-07 18:21:32 -0700
commitbd2d58836d9a34b628d85caf677d8c183fb8c3c6 (patch)
tree7bd06867f236e36c8b2f381dc3cc1aa1383fc296
parent30277c128040fa02b7880c4dff016578177e235e (diff)
downloadmeta-openembedded-bd2d58836d9a34b628d85caf677d8c183fb8c3c6.tar.gz
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 <alexander.v.yurkov@gmail.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
-rw-r--r--meta-oe/recipes-support/syslog-ng/syslog-ng_4.11.0.bb3
1 files changed, 2 insertions, 1 deletions
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,"
67PACKAGECONFIG[geoip] = "--enable-geoip,--disable-geoip,geoip," 67PACKAGECONFIG[geoip] = "--enable-geoip,--disable-geoip,geoip,"
68PACKAGECONFIG[native] = "--enable-native,--disable-native,," 68PACKAGECONFIG[native] = "--enable-native,--disable-native,,"
69PACKAGECONFIG[examples] = "--enable-example-modules,--disable-example-modules,," 69PACKAGECONFIG[examples] = "--enable-example-modules,--disable-example-modules,,"
70PACKAGECONFIG[scl-syslogconf-awk] = "--enable-scl-syslogconf-awk,--disable-scl-syslogconf-awk,,gawk"
70 71
71do_install:append() { 72do_install:append() {
72 install -d ${D}${sysconfdir}/${BPN} 73 install -d ${D}${sysconfdir}/${BPN}
@@ -108,7 +109,7 @@ do_install:append() {
108} 109}
109 110
110FILES:${PN} += "${datadir}/include/scl/ ${datadir}/xsd ${datadir}/tools ${systemd_unitdir}/system/multi-user.target.wants/*" 111FILES:${PN} += "${datadir}/include/scl/ ${datadir}/xsd ${datadir}/tools ${systemd_unitdir}/system/multi-user.target.wants/*"
111RDEPENDS:${PN} += "gawk ${@bb.utils.contains('PACKAGECONFIG','json','${PN}-jconf','',d)}" 112RDEPENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG','json','${PN}-jconf','',d)}"
112 113
113FILES:${PN}-jconf += " \ 114FILES:${PN}-jconf += " \
114${datadir}/${BPN}/include/scl/cim \ 115${datadir}/${BPN}/include/scl/cim \