95 Commits

Author SHA1 Message Date
Khem Raj 8f3df8b447 recipes: Convert licenses to SPDX expressions
- Automatically convert all licenses to valid SPDX license expressions
  using convert-spdx-licenses.py

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-20 22:35:47 -07:00
Wang Mingyu 13419906af syslog-ng: upgrade 4.11.0 -> 4.12.0
0001-feat-Add-option-in-cmake-to-remove-awk.patch
0002-feat-Add-option-in-autotools-to-remove-awk.patch
removed since they're included in 4.12.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-25 08:45:17 -07:00
Alexander Yurkov bd2d58836d 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>
2026-06-07 18:21:32 -07:00
Alexander Yurkov 30277c1280 syslog-ng: Add backport patches from syslog-ng.
Backport patches from syslog-ng for options to disable awk.
Gawk dependency in syslog-ng can only be turned off in the right way via
options.

Signed-off-by: Alexander Yurkov <alexander.v.yurkov@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-07 18:21:31 -07:00
Andrej Kozemcak 4e9bdb5256 syslog-ng: upgrade 4.10.2 -> 4.11.0
Changelog:
  https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.11.0

Highlights
- kafka-source(): The new kafka() source can directly fetch log messages from the Apache Kafka message bus using the librdkafka client.

Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-17 13:25:20 -07:00
Wang Mingyu 6578a4f717 syslog-ng: upgrade 4.8.2 -> 4.10.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-09 15:11:01 -08:00
Hongxu Jia c1735e638a syslog-ng: switch to libpcre2
The syslog-ng used pcre2 instead of pcre since 2023 [1]

[1] https://github.com/syslog-ng/syslog-ng/commit/cb6de08dc9078644d48ca536b5660e406b1a50d6

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-01 08:45:52 -08:00
Yi Zhao a0a562b264 syslog-ng: add UPSTREAM_CHECK_REGEX
Add UPSTREAM_CHECK_REGEX to check the correct latest stable verison.

Before the patch:
$ devtool latest-version syslog-ng
INFO: Current version: 4.8.2
INFO: Latest version:

After the patch:
$ devtool latest-version syslog-ng
INFO: Current version: 4.8.2
INFO: Latest version: 4.10.2

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-12 09:39:00 -08:00
Khem Raj 7f045f60d4 gensio,audit,syslog-ng: Disable and remove tcp-wrappers support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-11 10:19:40 -08:00
Esben Haabendal 71eef026d9 syslog-ng: Add examples PACKAGECONFIG option
There is not much point in building example modules for most people. But
let's disable them with a PACKAGECONFIG option, so anybody actually
interested can easily get them back.

Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:51 -07:00
Esben Haabendal 3ddaf0456b syslog-ng: Add stomp PACKAGECONFIG option
The STOMP protocol is optional, and should not need to be enabled by
default.

Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:51 -07:00
Yogita Urade 048552501c syslog-ng: upgrade 4.8.1 -> 4.8.2
Includes fix for CVE-2024-47619

Release notes:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.8.2

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-15 07:08:34 -07:00
Randy MacLeod fee1274169 syslog-ng: upgrade 4.7.0 -> 4.8.1
Release notes:
   https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.8.1
   https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.8.0

Update the syslog-ng.conf.[systemd|sysvinit] files to align with
upstream's 4.8 version. This involved changing from stats_freq(0)
to stats(freq(0)) to avoid:
   > WARNING: Your configuration file uses an obsoleted keyword, ...
as was done in:
   2d3a8c783 packaging: Update the sample Debian config to not throw warning
The comments and the greater authentication/encryption defaults kept.
Note that the latter are comment lines.
Also kept a line from the 'Sources' section:
   file("/proc/kmsg" program_override("kernel"));
but it's not clear if that's needed. It was in the original meta-oe version of
the file from 2018, version 3.15 but not the upstream syslog-ng-3.15.1.

With systemd enabled using poky-altcfg, there's a warning:
   /etc/tmpfiles.d/syslog-ng.conf:1:
      Line references path below legacy directory /var/run/,
      updating /var/run/syslog-ng → /run/syslog-ng;
      please update the tmpfiles.d/ drop-in file accordingly.
but that was present in the previous version and I won't take time
to fix it right now since systemd + syslog-ng isn't a common combination.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-27 17:16:16 -07:00
Ross Burton bd4030df3a syslog-ng: remove obsolete double-run of configure
There do not appear to be libtool problems with syslog-ng, so the
requirement to double-run autoreconf from 2017 must have been resolved.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:27:39 -08:00
Khem Raj b3445bee96 syslog-ng: Remove references to ACLOCALEXTRAPATH
ACLOCALEXTRAPATH is gone in core with commit 878e1517d4890b31332a506ce903d57e1d7dff87

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:27:39 -08:00
J. S. 2f189944d4 syslog-ng: upgrade 4.6.0 -> 4.7.0
Changelog :
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.7.0

Dropped patch - merged in this version :
* 0001-macros-guard-ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch

New json-c dependency fixes configure failure.

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Khem Raj ffc64e9c6f recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00
Martin Jansa 12519f09cd syslog-ng: ignore incompatible-pointer-types issues with gcc-14
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-09 17:10:59 -07:00
Peter Marko 66d4d29d2a syslog-ng: fix build without ipv6 in distro features
Sumbitted to https://github.com/syslog-ng/syslog-ng/pull/4880

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-04 23:55:06 -07:00
Changqing Li 2487e65ee3 syslog-ng: upgrade 4.0.1 -> 4.6.0
License-Update:
Add a docker license header

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-04 19:44:34 -08:00
Peter Marko 8371516578 syslog-ng: ignore CVE-2022-38725
This CVE is fixed in 3.38.1, however cve-check indicates it as
not fixed because there is also cpe for premium version.
There is currently no method to filter this away in cve-check.

Relevant CPEs:
cpe:2.3:a:oneidentity:syslog-ng:*:*:*:*:-:*:*:*       < 3.38.1
cpe:2.3:a:oneidentity:syslog-ng:*:*:*:*:premium:*:*:* < 7.0.32

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-04 13:24:40 -08:00
Kai Kang 9becb31475 syslog-ng: not deliver syslog-ng-update-virtualenv
syslog-ng-update-virtualenv causes install conflict when multilib
enabled:

Error: Transaction test error:
  file /usr/bin/syslog-ng-update-virtualenv conflicts between attempted
  installs of lib32-syslog-ng-4.0.1-r0.core2_32 and syslog-ng-4.0.1-r0.core2_64

Since python support is disabled, not deliver it.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-07 16:58:15 -07:00
Changqing Li 2aa2bbca81 syslog-ng: upgrade 3.38.1 -> 4.0.1
* upgrade 3.38.1 to 4.0.1
* fix buildpath warning

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-13 09:07:40 -07:00
Martin Jansa 285b7cd79f .patch: fix Upstream-Status formatting issues reported by patchreview tool from oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-24 08:45:44 -08:00
Chen Qi f05ea5c2e8 syslog-ng: workaround segfault for ppc64le
For now syslog-ng segfaults on ppc64le. The problem could be reproduced
by simply adding syslog-ng to IMAGE_INSTALL and then building and starting
an image for qemuppc64.

The underlying root cause is unknown yet. This workaround, on the other hand,
helps improve the situation a little bit in the sense that users can at least
use syslog-ng on ppc64le targets.

Note that this workaround should be dropped once the upstream issues[1][2]
are fixed. This has also stated very clearly in the patch.

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=30062
[2] https://github.com/syslog-ng/syslog-ng/issues/4285

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-01 09:11:49 -08:00
wangmy eba216f040 syslog-ng: upgrade 3.37.1 -> 3.38.1
License-Update:
Add description to intention with the choice of licenses and the location of a license file.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-13 09:55:03 -07:00
Aurélien Bertron e80ce510e1 fix(syslog-ng): warning about conf version
The service warned on startup about running in compatibility mode since the configuration version was "3.31" instead of "3.36".

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-02 11:37:03 -04:00
wangmy 184b000b88 syslog-ng: upgrade 3.36.1 -> 3.37.1
Changelog:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-3.37.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-30 13:39:28 -04:00
Randy MacLeod 11fa965565 syslog-ng: update from 3.31.2 to 3.26.1
Drop two patches that are upstream now:
   90459087f scl: fix wrong ownership during installation
   c1054d3f6 python: s/python/python3/ shebang (exclude tests)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-24 09:45:25 -07:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Ovidiu Panait b57d824fdf syslog-ng: adjust control socket location
Commit [1] changed the pidfile dir to /var/run/syslog-ng. This also changed
the location where the control socket is searched for, causing the following
error with systemd:

root@qemux86-64:~# syslog-ng-ctl config
Error connecting control socket, socket='/var/run/syslog-ng/syslog-ng.ctl',
error='No such file or directory'

Update the systemd service file to point to the new location.

[1] 00d1d63e4f ("syslog-ng: provide correct PID directory location to
                   restart/stop syslog-ng daemon")

Signed-off-by: lmorales <luisalejandro.moralespena@windriver.com>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-09 11:23:54 -08:00
Martin Jansa c61dc077bb 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>
2021-08-03 10:21:25 -07:00
Peter Kjellerstedt e75d617ad2 syslog-ng: Merge .bb and .inc
There is only one version of the recipe, and a number of URLs were
unnecessarily duplicated in the .inc file and the .bb file.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-19 14:18:05 -07:00
Yi Fan Yu c126dcd1f9 syslog-ng: Drop an obsolete patch to add --enable-libnet
libnet is a dependency to --enable-spoof-source.

The correct flag to enable/disable in ./configure
is --enable-spoof-source.

Adjust PACKAGECONFIG accordingly.

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-17 07:43:10 -07:00
Yi Fan Yu 6c626c0e12 syslog-ng: remove CONFIG_TLS override for arm DEBUG_BUILD
when enabling DEBUG_BUILD, an assembler failure used to be seen.
But this patch was in meta-oe c0ce7599, dating in 2014...

Cannot reproduce the failure anymore with qemuarm.

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-17 07:43:10 -07:00
Yi Fan Yu 01d3f9daa0 syslog-ng: upgrade 3.24.1 -> 3.31.2
License-Update:
Reword and clarify which subdir is LGPLv.1 and GPLv2.

Patch-Removal:
* 0001-syslog-ng-fix-segment-fault-during-service-start.patch
https://github.com/buytenh/ivykis/commit/a5e9caddbdb4d9d85133a440edec6aa7c1f018ac

Submit pending patches upstream.

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-17 07:43:10 -07:00
Wenlin Kang f49be4279d syslog-ng: add bison-native to dependencies
Add bison-native in dependencies, this is required by the syslog-ng
Open Source documentation(https://www.syslog-ng.com/technical-documents
/list/syslog-ng-open-source-edition)

Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-05 21:32:55 -08:00
Ola X Nilsson ae69bbdfaf syslog-ng: Drop obsolete variable ONLINE_PACKAGE_MANAGEMENT
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-09 10:12:51 -07:00
Slater, Joseph 0ced8fb161 syslog-ng: change shebang to python3
The file is executable and can be put on a target.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-03 14:29:17 -07:00
Peter Kjellerstedt e17b7701d0 syslog-ng: Don't install configuration files as executable
Also remove unnecessary slashes before ${sysconfdir} and
${localstatedir}.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-16 08:43:06 -07:00
Jeremy Puhlman 19f622749e syslog-ng: Remove config nag on boot
[2020-02-16T22:13:56.331425] WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslo
g-ng 3.24 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, a
nd once completed change the @version header at the top of the configuration file

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-20 21:00:52 -08:00
zhangxiao b6c9a83e36 syslog-ng: Fix multilib header conflict - syslog-ng-config.h
Header file conflict between 32-bit and 64-bit versions.

Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-27 20:07:43 -08:00
Khem Raj 3a9262866d syslog-ng: Do not install non-existing systemd file
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-10 07:52:39 -08:00
Zheng Ruoqin 75afdfd44d syslog-ng: upgrade 3.19.1 -> 3.24.1
(1) Refresh three patches for new version.
    fix-config-libnet.patch
    syslog-ng.service-the-syslog-ng-service.patch
    0001-syslog-ng-fix-segment-fault-during-service-start.patch

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-08 09:03:54 -08:00
Slater, Joseph ef9f2b31b2 syslog-ng: change conf files to version 3.19
Also add dns_cache(no) option to eliminate initialization warning.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:53 -07:00
Slater, Joseph 98853a4f5d syslog-ng: add volatile directory init for systemd
systemd requires volatile file/directory specifications to
be in a tmpfiles.d directory.  We put ours in /etc/tmpfiles.d.

Also eliminate SRC_URI duplication in .bb and .inc files.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:53 -07:00
Zang Ruochen 0f080a699e syslog-ng: append syslog-ng.service
-Append syslog-ng.service.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-30 19:15:24 -07:00
Changqing Li a5007f6fd6 syslog-ng: add rconflict for package syslog-ng-libs
syslog-ng-libs also have conflicts

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-29 02:06:24 -07:00
Changqing Li bf591cf548 syslog-ng: upgrade 3.16.1 -> 3.19.1
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-22 18:14:52 -08:00
Hongxu Jia d6b6620565 syslog-ng: split one dpg package
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-18 20:17:03 -07:00