aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/syslog-ng
AgeCommit message (Collapse)Author
2016-11-03syslog-ng: remove unused patchesAndre McCurdy
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> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-03syslog-ng: expand service file @variables@ earlierIan Ray
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> Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-09syslog-ng.inc: fix prerm script & class includesIoan-Adrian Ratiu
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> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-02meta-oe: use bb.utils.contains() instead of base_contains()Ross Burton
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> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-01-27syslog-ng: 3.5.4.1 -> 3.6.4Dai Caiyun
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>
2015-12-18syslog-ng: add UPDATE_ALTERNATIVE for syslog-serviceSteffen Sledz
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>
2015-07-16syslog-ng_3.5.4.1: modify to fix the errorLi xin
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>
2015-05-11syslog-ng: add util-linux to DEPENDS listDmitry Eremin-Solenikov
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>
2015-02-12syslog-ng: Add a PACKAGECONFIG for syslog-ng-libsChong.Lu@windriver.com
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>
2014-11-19syslog-ng: Fix memory leak when udp connection is used [ LIN7-1379 ]Xufeng Zhang
When udp connection is used, there are several memory leaks happen after run a long time. Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30syslog-ng: add gawk to RDEPENDSChong.Lu@windriver.com
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>
2014-08-13syslog-ng: fix do_compi1e of qemuarm while DEBUG_BUILDHongxu Jia
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>
2014-08-11syslog-ng: fix a multilib build failure and a QA issueJackie Huang
* 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>
2014-08-11syslog-ng: update configure.patch for older patch toolRobert Yang
The previous configure.patch can't be applied by older "patch" tool since the line number is incorrect, for example, the "patch 2.5.4" on CentOS 5.10. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-30syslog-ng: Improved initscript VERBOSE handling.Richard Tollerton
The messages echoed when starting and stopping syslog-ng are currently printed regardless of the setting of VERBOSE. Adjust the initscript so they're only printed when VERBOSE is enabled. Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Ben Shelton <ben.shelton@ni.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-24syslog-ng: Various fixesRichard Purdie
* 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>
2014-07-24syslog-ng: uprev to 3.5.4.1Jackie Huang
- 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>
2014-07-24syslog-ng: move back from nonworkingJackie Huang
Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-02-01gnome-terminal, system-tools-backends, slim, benchfft, syslog-ng: move to ↵Martin Jansa
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>
2012-07-16syslog-ng: move systemd support to meta-systemdAndreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-06-05recipes: bump PR to fix -systemd postinsts where SYSTEMD_SERVICE was used ↵Martin Jansa
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>
2012-02-23syslog-ng: remove unneeded systemd code / use ${systemd_unitdir}Andreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-12-06syslog-ng: enable systemd supportMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-12-06syslog-ng: upgrade to latest version from 3.2 series and rework modules.conf fixMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-10-18syslog-ng: move conflicting file modules.conf to own packages and fix ↵Martin Jansa
unpackaged files Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-04-20syslog-ng: Runtime correctionsMichael Lippautz
* Ships with a working syslog-ng.conf * Stops any running syslogd upon installation Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
2011-04-20syslog-ng: Update to 3.2.2Michael Lippautz
* 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>