summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/syslog-ng
Commit message (Collapse)AuthorAgeFilesLines
* syslog-ng: not deliver syslog-ng-update-virtualenvKai Kang2023-04-071-0/+4
| | | | | | | | | | | | | | 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>
* syslog-ng: upgrade 3.38.1 -> 4.0.1Changqing Li2023-03-132-1/+57
| | | | | | | | * 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>
* .patch: fix Upstream-Status formatting issues reported by patchreview tool ↵Martin Jansa2023-02-241-1/+1
| | | | | | | from oe-core Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* syslog-ng: workaround segfault for ppc64leChen Qi2023-02-012-0/+47
| | | | | | | | | | | | | | | | | | | 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>
* syslog-ng: upgrade 3.37.1 -> 3.38.1wangmy2022-09-131-2/+2
| | | | | | | | 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>
* fix(syslog-ng): warning about conf versionAurélien Bertron2022-07-022-2/+2
| | | | | | 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>
* syslog-ng: upgrade 3.36.1 -> 3.37.1wangmy2022-06-301-1/+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>
* syslog-ng: update from 3.31.2 to 3.26.1Randy MacLeod2022-03-243-87/+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>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* syslog-ng: adjust control socket locationOvidiu Panait2021-11-091-1/+1
| | | | | | | | | | | | | | | | | | | 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] 00d1d63e4f7f ("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>
* Convert to new override syntaxMartin Jansa2021-08-031-22/+22
| | | | | | | | | | 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>
* syslog-ng: Merge .bb and .incPeter Kjellerstedt2021-04-192-143/+132
| | | | | | | | 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>
* syslog-ng: Drop an obsolete patch to add --enable-libnetYi Fan Yu2021-04-173-79/+1
| | | | | | | | | | | | 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>
* syslog-ng: remove CONFIG_TLS override for arm DEBUG_BUILDYi Fan Yu2021-04-172-68/+0
| | | | | | | | | | 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>
* syslog-ng: upgrade 3.24.1 -> 3.31.2Yi Fan Yu2021-04-1713-218/+214
| | | | | | | | | | | | | | 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>
* syslog-ng: add bison-native to dependenciesWenlin Kang2021-01-051-1/+1
| | | | | | | | | 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>
* syslog-ng: Drop obsolete variable ONLINE_PACKAGE_MANAGEMENTOla X Nilsson2020-09-091-4/+0
| | | | | Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* syslog-ng: change shebang to python3Slater, Joseph2020-05-032-0/+19
| | | | | | | 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>
* syslog-ng: Don't install configuration files as executablePeter Kjellerstedt2020-04-161-12/+12
| | | | | | | | 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>
* syslog-ng: Remove config nag on bootJeremy Puhlman2020-02-202-2/+2
| | | | | | | | | [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>
* syslog-ng: Fix multilib header conflict - syslog-ng-config.hzhangxiao2019-11-271-1/+3
| | | | | | | 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>
* syslog-ng: Do not install non-existing systemd fileKhem Raj2019-11-101-1/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* syslog-ng: upgrade 3.19.1 -> 3.24.1Zheng Ruoqin2019-11-084-49/+50
| | | | | | | | | | (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>
* syslog-ng: change conf files to version 3.19Slater, Joseph2019-11-012-4/+14
| | | | | | | 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>
* syslog-ng: add volatile directory init for systemdSlater, Joseph2019-11-013-6/+11
| | | | | | | | | | 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>
* syslog-ng: append syslog-ng.serviceZang Ruochen2019-07-301-0/+2
| | | | | | | -Append syslog-ng.service. Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* syslog-ng: add rconflict for package syslog-ng-libsChangqing Li2019-05-291-0/+1
| | | | | | | syslog-ng-libs also have conflicts Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* syslog-ng: upgrade 3.16.1 -> 3.19.1Changqing Li2019-02-221-2/+2
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* syslog-ng: split one dpg packageHongxu Jia2018-09-181-2/+2
| | | | | | | | | | | 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>
* syslog-ng: fix segment fault during startup on arm64Changqing Li2018-09-172-0/+76
| | | | | | | | | | | | | service start failed since segment fault on arch arm64, syslog-ng have a submodule ivykis, from ivykis V0.42, it use pthread_atfork, but for arm64, this symbol is not included by libpthread, so cause segment fault. refer systemd, replace pthread_atfork with __register_atfork to fix this problem. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* syslog-ng: upgrade 3.15.1 -> 3.16.1changqing.li@windriver.com2018-06-293-83/+15
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* syslog-ng: fix syslog-ng startup problem with systemdchangqing.li@windriver.com2018-06-204-9/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | 1. Fix syslog-ng service cannot startup after upgrade to 3.15.1 1) Align path of syslog-ng.conf between syslog-ng@default and do_install in syslog-ng.inc 2) create a default instance for syslog-ng 3) Install default parameter file to /etc/default according to https://github.com/balabit/syslog-ng/commit /649d1151e79033cc2b81b3353917507266814436 2. Fix "Failed to acquire /run/systemd/journal/syslog socket, disabling systemd-syslog source;" accordint to below content from syslog-ng admin guide. 1) for linux, If the host is running under systemd, syslog-ng OSE reads directly from the systemd journal file using the systemd-journal() source. 2) If possible, use the more reliable systemd-journal() driver instead. 3) The socket activation of systemd is buggy, causing some log messages to get lost during syst Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* syslog-ng: repackage json related conf filesSlater, Joseph2018-06-181-2/+11
| | | | | | | | Only include conf files that need json if it is enabled when building syslog-ng. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* syslog-ng: update to 3.15.1Andrej Valek2018-06-148-69/+131
| | | | | | | | | | | | | | | - Refresh and remove obsolete patches - Fix PAGESIZE variable conflicting - PAGESIZE is a define in some libc libraries - Implement SystemD service files handling - splitted service into default - Remove dependency to eventlog - external libevtlog library linking was removed - Version 3.15.1 supports OpenSSL 1.1 Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Marko Pater <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* syslog-ng: add UPSTREAM_CHECK_URIYi Zhao2018-05-291-0/+2
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* syslog-ng: refresh patchesArmin Kuster2018-04-134-31/+24
| | | | | | | | | | | | | | | | | | | | | | | | | WARNING: syslog-ng-3.8.1-r0 do_patch: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: Applying patch configure.ac-add-option-enable-thread-tls-to-manage-.patch patching file configure.ac Hunk #1 succeeded at 147 with fuzz 2 (offset 27 lines). Hunk #2 succeeded at 489 (offset 105 lines). Now at patch configure.ac-add-option-enable-thread-tls-to-manage-.patch Signed-off-by: Armin Kuster <akuster808@gmail.com>
* recipes: use oe.utils.conditional instead of deprecated base_conditionalMartin Jansa2018-02-011-2/+2
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: provide correct PID directory location to restart/stop syslog-ng ↵Jagadeesh Krishnanjanappa2017-08-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | daemon If "--with-pidfile-dir" configure option is not specified, then the syslog-ng configure script assigns PID directory to /var/lib/syslog-ng; which is where the PID file of syslog-ng process is created. But the syslog-ng initscript (/etc/init.d/syslog-ng) uses /var/lib/syslog-ng/ as PID directory, this results in not stopping/restarting syslog-ng daemons when it was requested to do so. For example: -- snip -- root@qemux86:~# /etc/init.d/syslog status /usr/sbin/syslog-ng (pid 345 344) is running... root@qemux86:~# /etc/init.d/syslog stop Stopping syslog-ng:. root@qemux86:~# /etc/init.d/syslog status /usr/sbin/syslog-ng (pid 345 344) is running... root@qemux86:~# -- snip -- Hence set --with-pidfile-dir to "/var/run/syslog-ng", so that syslog-ng daemon can be stopped/restarted via initscript. Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: fix syntax error in syslog-ng.confYi Zhao2017-03-111-2/+2
| | | | | | | | | | | | | The backtick as a special character causes a syntax error by the parser in comment line: Error performing backtick substitution in configuration file; error='missing closing backtick (`) character', filename='/etc/syslog-ng/syslog-ng.conf', line='55:1' Replace it with single quote and bump the conf version to 3.8. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-071-2/+1
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: Update to 3.8.1Peter Kjellerstedt2017-03-048-163/+27
| | | | | | | | | | | | | | | | * The upstream has changed to github.com. * Remove patches that are no longer needed: - Fix-the-memory-leak-problem-for-mutex.patch - configure.patch - dbifix.patch - fix-a-memory-leak-in-log_driver_free.patch * Update syslog-ng.service-the-syslog-ng-service.patch * openssl is no longer optional, so remove its PACKAGECONFIG. * Add (disabled) PACKAGECONFIGs for the new http and native modules. * Disable the new python and java modules. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: Run autoreconf twice to avoid problems with libtoolPeter Kjellerstedt2017-03-042-3/+10
| | | | | | | | | syslog-ng has sub-projects with their own autotools configurations. Something has been messed up after the switch to RSS and now it requires autoreconf to be run twice to fully update all files. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* python-edbus exquisite elementary libeweather unionfs-fuse xfsprogs gmtk ↵Martin Jansa2017-02-131-0/+2
| | | | | | | | | devilspie2 gnome-backgrounds gnome-desktop gnome-mime-data gtk-engines gtksourceview2 libgnomekbd libidl-native onboard libgpewidget ubi-utils-klibc kexec-tools-klibc gupnp-igd gupnp-tools dvb-apps gstreamer mpd crda netcat-openbsd wireshark gnokii libmbim mosh networkmanager-openvpn libtelepathy dbus-daemon-proxy libdbus-c++ php vala-dbus-binding-tool collectd libgxim pywbem gtkhtml2 fbida fontforge libsexy wayland-fits xstdcmap xf86-video-glamo font-adobe-100dpi font-adobe-utopia-100dpi font-bh-100dpi font-bh-lucidatypewriter-100dpi font-misc-misc crash a2jmidid libsdl2-mixer libsdl-mixer minidlna sylpheed libsdl2-ttf libsdl-ttf ode pidgin postgresql syslog-ng usb-modeswitch xdg-user-dirs gateone python3-cryptography-vectors python3-ndg-httpsclient python-cryptography-vectors python-pbr bundler netdata menulibre openzone xfce4-verve-plugin iperf terminus-font xf86-video-nouveau ipmiutil klibc-utils pmbw multipath-tools gparted, gnome-system-monitor, php, vala-dbus-binding-tool, gtkmathview, lmsensors, postgresql: Blacklist * fails repeatedly as reported in: http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111112.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: drop obsolete pcre PACKAGECONFIG optionAndre McCurdy2017-01-251-1/+0
| | | | | | | pcre is a hard dependency from syslog-ng 3.6 onwards. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: drop attempts to disable LFSAndre McCurdy2017-01-251-4/+0
| | | | | | | | | | Forcefully disabling Large File Support in packages which enable it by default is probably not the right thing to do anymore. Since the syslog-ng configure.in file has been renamed to configure.ac, the existing sed command would fail anyway. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: don't use update-alternatives to manage init scriptMarkus Lehtonen2017-01-101-18/+4
| | | | | | | | | Also, explicitly conflict with other syslog providers. [YOCTO #10433] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* remove True option to getVar callsJoshua Lock2016-12-021-5/+5
| | | | | | | | | getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
* syslog-ng: remove unused patchesAndre McCurdy2016-09-157-731/+0
| | | | | | | Remove various patches no longer referenced by SRC_URI. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: expand service file @variables@ earlierIan Ray2016-06-081-3/+6
| | | | | | | | Move variable expansion of @SBINDIR@, @LOCALSTATEDIR@, and @BASEBINDIR@ earlier during install, to before the systemd service file is installed by an automake rule. Signed-off-by: Ian Ray <ian.ray@ge.com>
* syslog-ng.inc: fix prerm script & class includesIoan-Adrian Ratiu2016-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The order of class includes is very important because it's the order in which classes are evaluated. Both update-rc.d and update-alternatives write to the prerm script, so the class order decides the script code ordering. As they are now, prerm is: #!/bin/sh update-alternatives --remove syslog-init /etc/init.d/syslog.syslog-ng if [ -z "$D" ]; then /etc/init.d/syslog stop fi This causes errors because when syslog-ng is the only alternative it is removed and then the script tries to stop it (No such file or directory) but even if there are other alternatives, the script tries to stop something other than syslog-ng which was removed. By reversing the include order, prerm gets generated correctly and it tries to stop syslog-ng before removing it: if [ -z "$D" ]; then /etc/init.d/syslog stop fi update-alternatives --remove syslog-init /etc/init.d/syslog.syslog-ng Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>