Accepting request 285999 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/285999
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rsyslog?expand=0&rev=101
This commit is contained in:
Stephan Kulow 2015-02-16 20:14:34 +00:00 committed by Git OBS Bridge
commit f59eb9c954
6 changed files with 95 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71c3c6dac74fba2692f9fefb092cd3d22e2bd71eb702e0da06648de51b8b7b9a
size 1938563

3
rsyslog-8.7.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c77125b67a623569c9bdca8136b9aac013f1c6fd82fb8595e3ea267e61800f9c
size 2003365

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21862b046b3504f136f9b8961466f2b248ac315c67de8742bd4a35c599f3dd48
size 4066598

3
rsyslog-doc-8.7.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f131bfb963eed4fe74d7336ee5261876b436004b78994d47523a82c0f7d666a8
size 4105507

View File

@ -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 Wed Oct 22 02:03:03 UTC 2014 - heinemannj66@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package rsyslog # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@ Name: rsyslog
Summary: The enhanced syslogd for Linux and Unix Summary: The enhanced syslogd for Linux and Unix
License: (GPL-3.0+ and Apache-2.0) License: (GPL-3.0+ and Apache-2.0)
Group: System/Daemons Group: System/Daemons
Version: 8.4.2 Version: 8.7.0
Release: 0 Release: 0
%if 0%{?suse_version} >= 1210 %if 0%{?suse_version} >= 1210
%bcond_without systemd %bcond_without systemd
@ -85,7 +85,7 @@ Requires(pre): /etc/init.d/syslog
Requires(pre): syslog-service >= 2.0 Requires(pre): syslog-service >= 2.0
%endif %endif
%{?systemd_requires} %{?systemd_requires}
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd) >= 209
%if %{with journal} %if %{with journal}
BuildRequires: pkgconfig(libsystemd-journal) >= 197 BuildRequires: pkgconfig(libsystemd-journal) >= 197
%endif %endif
@ -163,7 +163,7 @@ BuildRequires: libnet-devel
# mmnormalize support # mmnormalize support
%if %{with pkgconfig} %if %{with pkgconfig}
BuildRequires: pkgconfig(libee) >= 0.4.0 BuildRequires: pkgconfig(libee) >= 0.4.0
BuildRequires: pkgconfig(lognorm) >= 1.0.0 BuildRequires: pkgconfig(lognorm) >= 1.0.2
%else %else
BuildRequires: libee-devel BuildRequires: libee-devel
BuildRequires: liblognorm-devel BuildRequires: liblognorm-devel
@ -178,9 +178,9 @@ BuildRequires: pkgconfig(libee) >= 0.4.0
BuildRequires: pkgconfig(libestr) >= 0.1.9 BuildRequires: pkgconfig(libestr) >= 0.1.9
BuildRequires: pkgconfig(uuid) >= 2.21.0 BuildRequires: pkgconfig(uuid) >= 2.21.0
%else %else
BuildRequires: libjson-c-devel
BuildRequires: libee-devel BuildRequires: libee-devel
BuildRequires: libestr-devel BuildRequires: libestr-devel
BuildRequires: libjson-c-devel
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
%endif %endif
BuildRequires: python-docutils BuildRequires: python-docutils
@ -529,7 +529,6 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -W -Wall -I../grammar -I../..
--enable-option-checking \ --enable-option-checking \
--enable-largefile \ --enable-largefile \
--enable-regexp \ --enable-regexp \
--enable-zlib \
--enable-klog \ --enable-klog \
--enable-kmsg \ --enable-kmsg \
--enable-inet \ --enable-inet \
@ -566,7 +565,6 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -W -Wall -I../grammar -I../..
--enable-mail \ --enable-mail \
--enable-imfile \ --enable-imfile \
--enable-imptcp \ --enable-imptcp \
--enable-imttcp \
--enable-impstats \ --enable-impstats \
--enable-omprog \ --enable-omprog \
--enable-omuxsock \ --enable-omuxsock \
@ -578,7 +576,6 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -W -Wall -I../grammar -I../..
--enable-pmcisconames \ --enable-pmcisconames \
--enable-pmaixforwardedfrom \ --enable-pmaixforwardedfrom \
--enable-pmsnare \ --enable-pmsnare \
--enable-pmrfc3164sd \
--enable-omruleset \ --enable-omruleset \
%if %{with mmnormalize} %if %{with mmnormalize}
--enable-mmnormalize \ --enable-mmnormalize \
@ -615,6 +612,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -W -Wall -I../grammar -I../..
--enable-mmfields \ --enable-mmfields \
--enable-mmpstrucdata \ --enable-mmpstrucdata \
--enable-mmrfc5424addhmac \ --enable-mmrfc5424addhmac \
--enable-pmciscoios \
%if %{with guardtime} %if %{with guardtime}
--enable-guardtime \ --enable-guardtime \
%endif %endif
@ -815,6 +813,7 @@ fi
# #
# create dirs, touch log default files # create dirs, touch log default files
# #
if [ "$1" = "1" ] ; then # first install
mkdir -p var/log mkdir -p var/log
touch var/log/messages; chmod 640 var/log/messages touch var/log/messages; chmod 640 var/log/messages
touch var/log/mail; chmod 640 var/log/mail 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}" mkdir -p -m750 ".%{rsyslog_rundir}"
touch ".%{rsyslog_sockets_cfg}" touch ".%{rsyslog_sockets_cfg}"
chmod 640 ".%{rsyslog_sockets_cfg}" chmod 640 ".%{rsyslog_sockets_cfg}"
fi # first install
# #
# Enable the rsyslogservice to be started by systemd # Enable the rsyslogservice to be started by systemd
# #
@ -915,7 +915,6 @@ fi
%{rsyslog_module_dir_nodeps}/immark.so %{rsyslog_module_dir_nodeps}/immark.so
%{rsyslog_module_dir_nodeps}/impstats.so %{rsyslog_module_dir_nodeps}/impstats.so
%{rsyslog_module_dir_nodeps}/imtcp.so %{rsyslog_module_dir_nodeps}/imtcp.so
%{rsyslog_module_dir_nodeps}/imttcp.so
%{rsyslog_module_dir_nodeps}/imudp.so %{rsyslog_module_dir_nodeps}/imudp.so
%{rsyslog_module_dir_nodeps}/imuxsock.so %{rsyslog_module_dir_nodeps}/imuxsock.so
%{rsyslog_module_dir_nodeps}/lmnet.so %{rsyslog_module_dir_nodeps}/lmnet.so
@ -944,7 +943,7 @@ fi
%{rsyslog_module_dir_nodeps}/pmlastmsg.so %{rsyslog_module_dir_nodeps}/pmlastmsg.so
%{rsyslog_module_dir_nodeps}/pmaixforwardedfrom.so %{rsyslog_module_dir_nodeps}/pmaixforwardedfrom.so
%{rsyslog_module_dir_nodeps}/pmcisconames.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 %{rsyslog_module_dir_nodeps}/pmsnare.so
%if %{with rfc3195} %if %{with rfc3195}
%{rsyslog_module_dir_nodeps}/im3195.so %{rsyslog_module_dir_nodeps}/im3195.so