From a2bf6074685a82e272e9ef46dfbab08912f680233a50bb96133c6f1df9afc2c6 Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Fri, 13 Feb 2015 18:39:13 +0000 Subject: [PATCH] Accepting request 285998 from home:AndreasStieger:branches:Base:System rsyslog 8.7.0 OBS-URL: https://build.opensuse.org/request/show/285998 OBS-URL: https://build.opensuse.org/package/show/Base:System/rsyslog?expand=0&rev=213 --- rsyslog-8.4.2.tar.gz | 3 -- rsyslog-8.7.0.tar.gz | 3 ++ rsyslog-doc-8.4.2.tar.gz | 3 -- rsyslog-doc-8.7.0.tar.gz | 3 ++ rsyslog.changes | 80 ++++++++++++++++++++++++++++++++++++++++ rsyslog.spec | 19 +++++----- 6 files changed, 95 insertions(+), 16 deletions(-) delete mode 100644 rsyslog-8.4.2.tar.gz create mode 100644 rsyslog-8.7.0.tar.gz delete mode 100644 rsyslog-doc-8.4.2.tar.gz create mode 100644 rsyslog-doc-8.7.0.tar.gz diff --git a/rsyslog-8.4.2.tar.gz b/rsyslog-8.4.2.tar.gz deleted file mode 100644 index 39e1bb1..0000000 --- a/rsyslog-8.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:71c3c6dac74fba2692f9fefb092cd3d22e2bd71eb702e0da06648de51b8b7b9a -size 1938563 diff --git a/rsyslog-8.7.0.tar.gz b/rsyslog-8.7.0.tar.gz new file mode 100644 index 0000000..0741e47 --- /dev/null +++ b/rsyslog-8.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c77125b67a623569c9bdca8136b9aac013f1c6fd82fb8595e3ea267e61800f9c +size 2003365 diff --git a/rsyslog-doc-8.4.2.tar.gz b/rsyslog-doc-8.4.2.tar.gz deleted file mode 100644 index d3dc185..0000000 --- a/rsyslog-doc-8.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:21862b046b3504f136f9b8961466f2b248ac315c67de8742bd4a35c599f3dd48 -size 4066598 diff --git a/rsyslog-doc-8.7.0.tar.gz b/rsyslog-doc-8.7.0.tar.gz new file mode 100644 index 0000000..143c706 --- /dev/null +++ b/rsyslog-doc-8.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f131bfb963eed4fe74d7336ee5261876b436004b78994d47523a82c0f7d666a8 +size 4105507 diff --git a/rsyslog.changes b/rsyslog.changes index d951d09..f4d3280 100644 --- a/rsyslog.changes +++ b/rsyslog.changes @@ -1,3 +1,83 @@ +------------------------------------------------------------------- +Fri Feb 13 10:31:00 UTC 2015 - astieger@suse.com + +- rsyslog 8.7.0: + - add message metadata "system" to msg object + this permits to store metadata alongside the message + - imfile: add support for "filename" metadata + this is useful in cases where wildcards are used + - imptcp: make stats counter names consistent with what imudp, imtcp uses + - added new module "omkafka" to support writing to Apache Kafka + - omfwd: add new "udp.senddelay" parameter + - mmnormalize enhancements + - RainerScript "foreach" iterator and array reading support + Thanks to Janmejay Singh for the patch. + - now requires liblognorm >= 1.0.2 + - add support for systemd >= 209 library names + - BSD "ntp" facility (value 12) is now also supported in filter + Note: this patch was released under ASL 2.0 (see email-conversation). + - bugfix: global(localHostName="xxx") was not respected in all modules + - bugfix: emit correct error message on config-file-not-found + - bugfix: impstats emitted invalid JSON format (if JSON was selected) + - bugfix: (small) memory leak in omfile's outchannel code + - bugfix: imuxsock did not deactivate some code not supported by platform +- includes changes from 8.6.0: + - configuration-setting rsyslogd command line options deprecated + - new and enhanced plugins for 0mq. These are currently experimantal. + - empty rulesets have been permitted. They no longer raise a syntax error. + - add parameter -N3 to enable config check of partial config file + Use for config include files. Disables checking if any action exists at + all. + - rsyslogd -e option has finally been removed + It is deprectated since many years. + - testbench improvements + - testbench is now by default disabled + - add new RainerScript functions warp() and replace() + - mmnormalize can now also work on a variable + - new property date options for day ordinal and week number + - remove --enable-zlib configure option, we always require it + - slight source-tree restructuring: contributed modules are now in their + own ./contrib directory. The idea is to make it clearer to the end user + which plugins are supported by the rsyslog project (those in ./plugins). + - bugfix: imudp makes rsyslog hang on shutdown when more than 1 thread used + - bugfix: not all files closed on auto-backgrounding startup + - bugfix: typo in queue configuration parameter + - bugfix: unitialized buffer off-by-one error in hostname generation + - bugfix imuxsock: possible segfault when SysSock.Use="off" + - bugfix: RainerScript: invalid ruleset names were accepted + - bugfix: some module entry points were not called for all modules + - bugfix omlibdbi: connection was taken down in wrong thread + - imttcp was removed because it was an incompleted experimental module + - pmrfc3164sd because it was a custom module nobody used + - omoracle was removed because it was orphaned and did not build/work + for quite some years and nobody was interested in fixing it +- includes changes from 8.5.0: + - imfile greatly refactored and support for wildcards added + - PRI-handling code refactored for more clarity and robustness + - ommail: add support for RainerScript config system [action() object] + - refactored the auto-backgrounding method + - make gntls tcp syslog driver emit more error messages + - bugfix: imfile did not complain if configured file did not exist + - bugfix: build failure on systems which don't have json_tokener_errors + - imgssapi: log remote peer address in some error messages +- includes changes from 8.4.3: + - ommail: minor bugfixes & improvements + - bugfix imkmsg: infinite loop on OpenVZ VMs + - bugfix: typo in queue configuration parameter made parameter unusable + - bugfix: unitialized buffer off-by-one error in hostname generation + - bugfix imfile: segfault on startup in "inotify" mode + - bugfix imfile: could make rsyslog exit in inotify mode + - bugfix: rsgtutil sometimes crashed in verify mode if file did not exist + - bugfix imklog: pri was miscalculated + - bugfix: imjournal did not build properly + - bugfix: mmcount did no longer build + - bugfix imuxsock: possible segfault when SysSock.Use="off" + +------------------------------------------------------------------- +Thu Dec 4 23:23:32 UTC 2014 - andreas.stieger@gmx.de + +- set file permissions only on first install [boo#899316] + ------------------------------------------------------------------- Wed Oct 22 02:03:03 UTC 2014 - heinemannj66@gmail.com diff --git a/rsyslog.spec b/rsyslog.spec index 29cef79..d00dde1 100644 --- a/rsyslog.spec +++ b/rsyslog.spec @@ -1,7 +1,7 @@ # # spec file for package rsyslog # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Name: rsyslog Summary: The enhanced syslogd for Linux and Unix License: (GPL-3.0+ and Apache-2.0) Group: System/Daemons -Version: 8.4.2 +Version: 8.7.0 Release: 0 %if 0%{?suse_version} >= 1210 %bcond_without systemd @@ -85,7 +85,7 @@ Requires(pre): /etc/init.d/syslog Requires(pre): syslog-service >= 2.0 %endif %{?systemd_requires} -BuildRequires: pkgconfig(systemd) +BuildRequires: pkgconfig(systemd) >= 209 %if %{with journal} BuildRequires: pkgconfig(libsystemd-journal) >= 197 %endif @@ -163,7 +163,7 @@ BuildRequires: libnet-devel # mmnormalize support %if %{with pkgconfig} BuildRequires: pkgconfig(libee) >= 0.4.0 -BuildRequires: pkgconfig(lognorm) >= 1.0.0 +BuildRequires: pkgconfig(lognorm) >= 1.0.2 %else BuildRequires: libee-devel BuildRequires: liblognorm-devel @@ -178,9 +178,9 @@ BuildRequires: pkgconfig(libee) >= 0.4.0 BuildRequires: pkgconfig(libestr) >= 0.1.9 BuildRequires: pkgconfig(uuid) >= 2.21.0 %else -BuildRequires: libjson-c-devel BuildRequires: libee-devel BuildRequires: libestr-devel +BuildRequires: libjson-c-devel BuildRequires: libuuid-devel %endif BuildRequires: python-docutils @@ -529,7 +529,6 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -W -Wall -I../grammar -I../.. --enable-option-checking \ --enable-largefile \ --enable-regexp \ - --enable-zlib \ --enable-klog \ --enable-kmsg \ --enable-inet \ @@ -566,7 +565,6 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -W -Wall -I../grammar -I../.. --enable-mail \ --enable-imfile \ --enable-imptcp \ - --enable-imttcp \ --enable-impstats \ --enable-omprog \ --enable-omuxsock \ @@ -578,7 +576,6 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -W -Wall -I../grammar -I../.. --enable-pmcisconames \ --enable-pmaixforwardedfrom \ --enable-pmsnare \ - --enable-pmrfc3164sd \ --enable-omruleset \ %if %{with mmnormalize} --enable-mmnormalize \ @@ -615,6 +612,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -W -Wall -I../grammar -I../.. --enable-mmfields \ --enable-mmpstrucdata \ --enable-mmrfc5424addhmac \ + --enable-pmciscoios \ %if %{with guardtime} --enable-guardtime \ %endif @@ -815,6 +813,7 @@ fi # # create dirs, touch log default files # +if [ "$1" = "1" ] ; then # first install mkdir -p var/log touch var/log/messages; chmod 640 var/log/messages touch var/log/mail; chmod 640 var/log/mail @@ -842,6 +841,7 @@ touch var/log/NetworkManager; chmod 640 var/log/NetworkManager mkdir -p -m750 ".%{rsyslog_rundir}" touch ".%{rsyslog_sockets_cfg}" chmod 640 ".%{rsyslog_sockets_cfg}" +fi # first install # # Enable the rsyslogservice to be started by systemd # @@ -915,7 +915,6 @@ fi %{rsyslog_module_dir_nodeps}/immark.so %{rsyslog_module_dir_nodeps}/impstats.so %{rsyslog_module_dir_nodeps}/imtcp.so -%{rsyslog_module_dir_nodeps}/imttcp.so %{rsyslog_module_dir_nodeps}/imudp.so %{rsyslog_module_dir_nodeps}/imuxsock.so %{rsyslog_module_dir_nodeps}/lmnet.so @@ -944,7 +943,7 @@ fi %{rsyslog_module_dir_nodeps}/pmlastmsg.so %{rsyslog_module_dir_nodeps}/pmaixforwardedfrom.so %{rsyslog_module_dir_nodeps}/pmcisconames.so -%{rsyslog_module_dir_nodeps}/pmrfc3164sd.so +%{rsyslog_module_dir_nodeps}/pmciscoios.so %{rsyslog_module_dir_nodeps}/pmsnare.so %if %{with rfc3195} %{rsyslog_module_dir_nodeps}/im3195.so