diff options
| author | Alexander Yurkov <alexander.v.yurkov@gmail.com> | 2026-05-29 12:09:46 +0000 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-06-07 18:21:32 -0700 |
| commit | bd2d58836d9a34b628d85caf677d8c183fb8c3c6 (patch) | |
| tree | 7bd06867f236e36c8b2f381dc3cc1aa1383fc296 | |
| parent | 30277c128040fa02b7880c4dff016578177e235e (diff) | |
| download | meta-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.bb | 3 |
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," | |||
| 67 | PACKAGECONFIG[geoip] = "--enable-geoip,--disable-geoip,geoip," | 67 | PACKAGECONFIG[geoip] = "--enable-geoip,--disable-geoip,geoip," |
| 68 | PACKAGECONFIG[native] = "--enable-native,--disable-native,," | 68 | PACKAGECONFIG[native] = "--enable-native,--disable-native,," |
| 69 | PACKAGECONFIG[examples] = "--enable-example-modules,--disable-example-modules,," | 69 | PACKAGECONFIG[examples] = "--enable-example-modules,--disable-example-modules,," |
| 70 | PACKAGECONFIG[scl-syslogconf-awk] = "--enable-scl-syslogconf-awk,--disable-scl-syslogconf-awk,,gawk" | ||
| 70 | 71 | ||
| 71 | do_install:append() { | 72 | do_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 | ||
| 110 | FILES:${PN} += "${datadir}/include/scl/ ${datadir}/xsd ${datadir}/tools ${systemd_unitdir}/system/multi-user.target.wants/*" | 111 | FILES:${PN} += "${datadir}/include/scl/ ${datadir}/xsd ${datadir}/tools ${systemd_unitdir}/system/multi-user.target.wants/*" |
| 111 | RDEPENDS:${PN} += "gawk ${@bb.utils.contains('PACKAGECONFIG','json','${PN}-jconf','',d)}" | 112 | RDEPENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG','json','${PN}-jconf','',d)}" |
| 112 | 113 | ||
| 113 | FILES:${PN}-jconf += " \ | 114 | FILES:${PN}-jconf += " \ |
| 114 | ${datadir}/${BPN}/include/scl/cim \ | 115 | ${datadir}/${BPN}/include/scl/cim \ |
