18 Commits

Author SHA1 Message Date
Xufeng Zhang ac82cbf88d syslog-ng: Fix memory leak when udp connection is used [ LIN7-1379 ]
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2014-12-01 14:24:53 +01:00
Chong.Lu@windriver.com 4e72df8d74 syslog-ng: add gawk to RDEPENDS
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-10-30 09:00:09 +01:00
Hongxu Jia c0ce759952 syslog-ng: fix do_compi1e of qemuarm while DEBUG_BUILD
The thread local storage caused arm-gcc broken while compiling
syslog-ng with option '-g -O'.
...
dnscache.s: Assembler messages:
dnscache.s💯 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-13 23:28:05 +02:00
Jackie Huang 4d3f0e3f13 syslog-ng: fix a multilib build failure and a QA issue
* 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-11 11:00:42 +02:00
Robert Yang 80310a3480 syslog-ng: update configure.patch for older patch tool
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-08-11 11:00:41 +02:00
Richard Tollerton e42efe2374 syslog-ng: Improved initscript VERBOSE handling.
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-30 09:21:04 +02:00
Richard Purdie d98907203c syslog-ng: Various fixes
* 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-24 15:31:50 +02:00
Jackie Huang 1a6e16bcb1 syslog-ng: uprev to 3.5.4.1
- 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-24 15:31:50 +02:00
Jackie Huang b8a40ca5d4 syslog-ng: move back from nonworking
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-24 15:31:50 +02:00
Martin Jansa 92ea562baf gnome-terminal, system-tools-backends, slim, benchfft, syslog-ng: move to 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>
2013-02-01 17:44:21 +01:00
Andreas Müller d1f914398d syslog-ng: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Martin Jansa 21b85f3426 recipes: bump PR to fix -systemd postinsts where SYSTEMD_SERVICE was used 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-06-05 10:46:52 +02:00
Andreas Müller 12c93f70c4 syslog-ng: remove unneeded systemd code / use ${systemd_unitdir}
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-23 16:46:32 +01:00
Martin Jansa fe86b9e787 syslog-ng: enable systemd support
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-12-06 11:21:10 +01:00
Martin Jansa af50ba2d39 syslog-ng: upgrade to latest version from 3.2 series and rework modules.conf fix
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-12-06 11:21:10 +01:00
Martin Jansa 1ab4e30380 syslog-ng: move conflicting file modules.conf to own packages and fix unpackaged files
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-10-18 01:31:10 +02:00
Michael Lippautz 55fac53f40 syslog-ng: Runtime corrections
* Ships with a working syslog-ng.conf
* Stops any running syslogd upon installation

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
2011-04-20 15:40:36 +02:00
Michael Lippautz 86738fa85f syslog-ng: Update to 3.2.2
* 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>
2011-04-20 11:12:53 +02:00