summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
Commit message (Collapse)AuthorAgeFilesLines
* syslog-ng: Merge .bb and .incPeter Kjellerstedt2021-04-191-138/+0
| | | | | | | | 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-171-1/+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-171-5/+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-171-1/+1
| | | | | | | | | | | | | | 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: 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: 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: add volatile directory init for systemdSlater, Joseph2019-11-011-0/+6
| | | | | | | | | | 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: 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 syslog-ng startup problem with systemdchangqing.li@windriver.com2018-06-201-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-141-8/+13
| | | | | | | | | | | | | | | - 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>
* 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>
* 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-041-7/+10
| | | | | | | | | | | | | | | | * 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-041-1/+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>
* 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: 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>
* meta-oe: use bb.utils.contains() instead of base_contains()Ross Burton2016-04-281-3/+3
| | | | | | | | base_contains() is a compatibility wrapper and may warn in the future, so replace all instances with bb.utils.contains(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: 3.5.4.1 -> 3.6.4Dai Caiyun2016-01-271-1/+5
| | | | | | | | | | | | | | | | | | | | | | Upgrade syslog-ng from 3.5.4.1 to 3.6.4. 1) Modify the syslog-ng.service-the-syslog-ng-service.patch,since the datas has been changed. 2) Delete these patches,since they are not needed any more. afsql-afsql_dd_insert_db-refactor.patch deinit-the-new-config-when-reverting-to-the.patch free-global-LogTemplateOptions.patch still-free-the-unconsumed-item.patch syslog-ng-verify-the-list-before-del.patch rewrite-expr-grammar.ym-Free-up-token.patch logwriter-dont-allocate-a-new-buffer.patch 3) Fix WARNING: QA Issue: syslog-ng-libs rdepends on libpcre, but it isn't a build dependency? [build-deps] QA Issue: syslog-ng rdepends on libpcre, but it isn't a build dependency? [build-deps] 4) Fix ERROR: QA Issue: non -staticdev package contains static .a library: work/i586-poky-linux/syslog-ng/3.6.4-r0/packages-split/syslog-ng/usr/lib/syslog-ng/libtest/libsyslog-ng-test.a' [staticdev] Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: add UPDATE_ALTERNATIVE for syslog-serviceSteffen Sledz2015-12-181-1/+7
| | | | | | | | | Use ALTERNATIVE mechanism in OE to manage the syslog service to avoid conflicts with other syslog implementations like rsyslog or busybox. Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng_3.5.4.1: modify to fix the errorLi xin2015-07-161-2/+2
| | | | | | | | | 1) modified "--localstatedir" from /var/run to /var/lib 2) delete "Type=notify" from syslog-ng.service. Otherwise syslog-ng.service can't be start successfully. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: add util-linux to DEPENDS listDmitry Eremin-Solenikov2015-05-111-1/+2
| | | | | | | | | | Add util-linux to the DEPENDS list to get rid of the following QA warning: syslog-ng-3.5.4.1: syslog-ng-libs rdepends on util-linux-libuuid, but it isn't a build dependency? [build-deps] Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: Add a PACKAGECONFIG for syslog-ng-libsChong.Lu@windriver.com2015-02-121-0/+1
| | | | | | | | | This solves the following warning: WARNING: QA Issue: syslog-ng-libs rdepends on geoip, but it isn't a build dependency? [build-deps] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: add gawk to RDEPENDSChong.Lu@windriver.com2014-10-301-0/+1
| | | | | | | | | | This solves the following warning: syslog-ng-3.5.4.1: syslog-ng requires /usr/bin/awk, but no providers in its RDEPENDS [file-rdeps] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: fix do_compi1e of qemuarm while DEBUG_BUILDHongxu Jia2014-08-131-0/+5
| | | | | | | | | | | | | | | The thread local storage caused arm-gcc broken while compiling syslog-ng with option '-g -O'. ... dnscache.s: Assembler messages: dnscache.s:100: Error: invalid operands (.text and *UND* sections) for `-' ... Add option --enable-thread-tls in configure to explicitly disable thread local storage for arm while DEBUG_BUILD enabled. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: fix a multilib build failure and a QA issueJackie Huang2014-08-111-5/+11
| | | | | | | | | | | | | | | | | * Use BPN instead of PN to fix the multilib build failure: ERROR: Function failed: SYSTEMD_SERVICE_lib32-syslog-ng value lib32-syslog-ng.service does not exist * Do not add syslog-init for systemd to fix the QA issue: WARNING: syslog-ng: alternative target (/etc/init.d/syslog or /etc/init.d/syslog.syslog-ng) does not exist, skipping... WARNING: syslog-ng: NOT adding alternative provide /etc/init.d/syslog: /etc/init.d/syslog.syslog-ng does not exist WARNING: alt_link == alt_target: /etc/init.d/syslog == /etc/init.d/syslog Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: Various fixesRichard Purdie2014-07-241-0/+4
| | | | | | | | | | | * Add PACKAGECONFIG for floating json dependency * Add PACKAGECONFIG for floating tcp-wrappers dependency * Disable mongodb host infection problem * Disable rabbitmq host infection problem * Add patch for dbi host include flags issue (making dbi conditionall really work) * Fix configure automake flags handling Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* syslog-ng: uprev to 3.5.4.1Jackie Huang2014-07-241-71/+63
| | | | | | | | | | | | | | | | | | - initscript: add status, PIDFILE and xconsole - syslog-ng.conf: dump the version - Fix some memory leak problems we found - Some backport patches - scl: fix wrong ownership issue - libnet: add libnet enable option and add it in PACKAGECONFIG - add HOMEPAGE - remove INC_PR - change some config into PACKAGECONFIG - add PACKAGE syslog-ng-libs to fix QA issue - use volatiles - inherit update-rc.d and update-alternative Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: move back from nonworkingJackie Huang2014-07-241-0/+98
| | | | | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gnome-terminal, system-tools-backends, slim, benchfft, syslog-ng: move to ↵Martin Jansa2013-02-011-90/+0
| | | | | | | | | nonworking directories * this set does not build with distroless qemuarm as reported in 'State of bitbake world' thread, nobody volunteered to fix them Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: move systemd support to meta-systemdAndreas Müller2012-07-161-7/+2
| | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
* recipes: bump PR to fix -systemd postinsts where SYSTEMD_SERVICE was used ↵Martin Jansa2012-06-051-1/+1
| | | | | | | | without PN* suffix Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* syslog-ng: remove unneeded systemd code / use ${systemd_unitdir}Andreas Müller2012-02-231-7/+2
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* syslog-ng: enable systemd supportMartin Jansa2011-12-061-1/+11
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: upgrade to latest version from 3.2 series and rework modules.conf fixMartin Jansa2011-12-061-6/+6
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: move conflicting file modules.conf to own packages and fix ↵Martin Jansa2011-10-181-0/+11
| | | | | | unpackaged files Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* syslog-ng: Runtime correctionsMichael Lippautz2011-04-201-1/+2
| | | | | | | * Ships with a working syslog-ng.conf * Stops any running syslogd upon installation Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
* syslog-ng: Update to 3.2.2Michael Lippautz2011-04-201-0/+78
* Re-import from org.oe.dev * Adapt EXTRA_OECONF (disable most auto-detections) * Add LIC_FILES_CHKSUM * Move syslog-ng dl to .inc Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>