c16178
%define rsyslog_statedir %{_sharedstatedir}/%{name}
c16178
%define rsyslog_pkidir %{_sysconfdir}/pki/%{name}
c16178
%define rsyslog_docdir %{_docdir}/%{name}
c16178
c16178
c16178
Summary: Enhanced system logging and kernel message trapping daemon
c16178
Name: rsyslog
d1fb5e
Version: 8.2102.0
15ddf1
Release: 13%{?dist}
c16178
License: (GPLv3+ and ASL 2.0)
c16178
Group: System Environment/Daemons
c16178
ExcludeArch: i686
c16178
URL: http://www.rsyslog.com/
c16178
Source0: http://www.rsyslog.com/files/download/rsyslog/%{name}-%{version}.tar.gz
c16178
Source1: http://www.rsyslog.com/files/download/rsyslog/%{name}-doc-%{version}.tar.gz
c16178
Source2: rsyslog.conf
c16178
Source3: rsyslog.sysconfig
c16178
Source4: rsyslog.log
d1fb5e
Source5: qpid-proton-0.34.0.tar.gz
d1fb5e
Source6: rsyslog.service
c16178
c16178
BuildRequires: autoconf
c16178
BuildRequires: automake
c16178
BuildRequires: bison
c16178
BuildRequires: flex
c16178
BuildRequires: libcurl-devel
ce513f
BuildRequires: libgcrypt-devel
c16178
BuildRequires: libfastjson-devel >= 0.99.8
c16178
BuildRequires: libestr-devel >= 0.1.9
c16178
BuildRequires: libtool
c16178
BuildRequires: libuuid-devel
c16178
BuildRequires: pkgconfig
c16178
BuildRequires: python3-docutils
c16178
# it depens on rhbz#1419228
c16178
BuildRequires: systemd-devel >= 219-39
c16178
BuildRequires: zlib-devel
d1fb5e
BuildRequires: openssl-devel
c16178
d1fb5e
Requires: openssl-libs
c16178
Requires: logrotate >= 3.5.2
c16178
Requires: bash >= 2.0
c16178
Requires: libestr >= 0.1.9
c16178
Requires(post): systemd
c16178
Requires(preun): systemd
c16178
Requires(postun): systemd
c16178
c16178
Provides: syslog
c16178
Obsoletes: sysklogd < 1.5-11
c16178
c16178
# imjournal: adds "journal" when tag/process name is missing
49a8b5
Patch0:  rsyslog-8.1911.0-rhbz1659898-imjournal-default-tag.patch
49a8b5
Patch1:  rsyslog-8.2102.0-rhbz1960536-fdleak-on-fsync.patch
49a8b5
Patch2:  rsyslog-8.2102.0-rhbz1886400-reduce-default-timeout.patch
49a8b5
Patch3:  rsyslog-8.2102.0-rhbz1866877-unexpected-length.patch
49a8b5
Patch4:  rsyslog-8.2102.0-rhbz1984616-imuxsock-ratelimit.patch
49a8b5
Patch5:  rsyslog-8.2102.0-rhbz1984489-remove-abort-on-id-resolution-fail.patch
49a8b5
Patch6:  rsyslog-8.2102.0-rhbz1832368-prioritize-SAN.patch
49a8b5
Patch7:  rsyslog-8.2102.0-rhbz1962318-errfile-maxsize.patch
49a8b5
Patch8:  rsyslog-8.2102.0-rhbz1909639-statefiles-fix.patch
49a8b5
Patch9:  rsyslog-8.2102.0-rhbz1909639-statefiles-doc.patch
49a8b5
Patch10: rsyslog-8.2102.0-nsd_ossl-better-logs.patch
49a8b5
Patch11: rsyslog-8.2102.0-imtcp-param-refactor.patch
49a8b5
Patch12: rsyslog-8.2102.0-nsd_ossl-memory-leak.patch
49a8b5
Patch13: rsyslog-8.2102.0-rhbz2046158-correct-custom-ciphers-behaviour.patch
49a8b5
Patch14: rsyslog-8.37.0-rhbz2081396-CVE-2022-24903.patch
49a8b5
Patch15: rsyslog-8.2102.0-rhbz2046158-gnutls-broken-connection.patch
15ddf1
Patch16: rsyslog-8.2102.0-rhbz2124934-extra-ca-files.patch
15ddf1
Patch17: rsyslog-8.2102.0-rhbz2124934-extra-ca-files-doc.patch
15ddf1
Patch18: rsyslog-8.2102.0-rhbz2157658-imklog.patch
c16178
c16178
%package crypto
c16178
Summary: Encryption support
c16178
Group: System Environment/Daemons
c16178
Requires: %name = %version-%release
c16178
c16178
%package doc
c16178
Summary: HTML Documentation for rsyslog
c16178
Group: Documentation
c16178
#no reason to have arched documentation
c16178
BuildArch: noarch
c16178
c16178
%package elasticsearch
c16178
Summary: ElasticSearch output module for rsyslog
c16178
Group: System Environment/Daemons
c16178
Requires: %name = %version-%release
c16178
c16178
%package gnutls
d1fb5e
Summary: TLS protocol support for rsyslog via GnuTLS library
c16178
Group: System Environment/Daemons
c16178
Requires: %name = %version-%release
c16178
BuildRequires: gnutls-devel
c16178
d1fb5e
%package openssl
d1fb5e
Summary: TLS protocol support for rsyslog via OpenSSL library
d1fb5e
Group: System Environment/Daemons
d1fb5e
Requires: %name = %version-%release
d1fb5e
BuildRequires: openssl-devel
d1fb5e
c16178
%package gssapi
c16178
Summary: GSSAPI authentication and encryption support for rsyslog
c16178
Group: System Environment/Daemons
c16178
Requires: %name = %version-%release
c16178
BuildRequires: krb5-devel
c16178
c16178
%package kafka
c16178
Summary: Provides kafka support for rsyslog
c16178
Group: System Environment/Daemons
c16178
Requires: %name = %version-%release
c16178
BuildRequires: librdkafka-devel
c16178
c16178
%package mmaudit
c16178
Summary: Message modification module supporting Linux audit format
c16178
Group: System Environment/Daemons
c16178
Requires: %name = %version-%release
c16178
c16178
%package mmjsonparse
c16178
Summary: JSON enhanced logging support
c16178
Group: System Environment/Daemons
c16178
Requires: %name = %version-%release
c16178
c16178
%package mmkubernetes
c16178
Summary: Provides the mmkubernetes module
c16178
Group: System Environment/Daemons
c16178
Requires: %name = %version-%release
c16178
c16178
%package mmnormalize
c16178
Summary: Log normalization support for rsyslog
c16178
Group: System Environment/Daemons
c16178
Requires: %name = %version-%release
c16178
BuildRequires: liblognorm-devel
c16178
225632
%package mmfields
225632
Summary: Fields extraction module
225632
Requires: %name = %version-%release
225632
c16178
%package mmsnmptrapd
c16178
Summary: Message modification module for snmptrapd generated messages
c16178
Group: System Environment/Daemons
c16178
Requires: %name = %version-%release
c16178
c16178
%package mysql
c16178
Summary: MySQL support for rsyslog
c16178
Group: System Environment/Daemons
c16178
Requires: %name = %version-%release
c16178
BuildRequires: mariadb-connector-c-devel
c16178
108b33
%package omamqp1
108b33
Summary: AMQP1 support for rsyslog
108b33
Group: System Environment/Daemons
108b33
Requires: %name = %version-%release
108b33
Requires: cyrus-sasl-lib
108b33
Requires: openssl-libs
108b33
BuildRequires: cmake
108b33
BuildRequires: make
108b33
BuildRequires: gcc
108b33
BuildRequires: gcc-c++
108b33
BuildRequires: cyrus-sasl-devel
108b33
BuildRequires: openssl-devel
108b33
BuildRequires: python3
108b33
c16178
%package pgsql
c16178
Summary: PostgresSQL support for rsyslog
c16178
Group: System Environment/Daemons
c16178
Requires: %name = %version-%release
c16178
BuildRequires: postgresql-devel
c16178
c16178
%package relp
c16178
Summary: RELP protocol support for rsyslog
c16178
Group: System Environment/Daemons
c16178
Requires: %name = %version-%release
15ddf1
Requires: librelp >= 1.9.0
15ddf1
BuildRequires: librelp-devel >= 1.9.0
c16178
c16178
%package snmp
c16178
Summary: SNMP protocol support for rsyslog
c16178
Group: System Environment/Daemons
c16178
Requires: %name = %version-%release
c16178
BuildRequires: net-snmp-devel
c16178
ce513f
%package udpspoof
ce513f
Summary: Provides the omudpspoof module
ce513f
Group: System Environment/Daemons
ce513f
Requires: %name = %version-%release
ce513f
BuildRequires: libnet-devel
ce513f
c16178
%description
c16178
Rsyslog is an enhanced, multi-threaded syslog daemon. It supports MySQL,
c16178
syslog/TCP, RFC 3195, permitted sender lists, filtering on any message part,
c16178
and fine grain output format control. It is compatible with stock sysklogd
c16178
and can be used as a drop-in replacement. Rsyslog is simple to set up, with
c16178
advanced features suitable for enterprise-class, encryption-protected syslog
c16178
relay chains.
c16178
c16178
%description crypto
c16178
This package contains a module providing log file encryption and a
c16178
command line tool to process encrypted logs.
c16178
c16178
%description doc
c16178
This subpackage contains documentation for rsyslog.
c16178
c16178
%description elasticsearch
c16178
This module provides the capability for rsyslog to feed logs directly into
c16178
Elasticsearch.
c16178
c16178
%description gnutls
c16178
The rsyslog-gnutls package contains the rsyslog plugins that provide the
65ca46
ability to send and receive syslog messages via TCP or RELP using TLS
d1fb5e
encryption via GnuTLS library. For details refer to rsyslog doc on imtcp
d1fb5e
and omfwd modules.
d1fb5e
d1fb5e
%description openssl
d1fb5e
The rsyslog-openssl package contains the rsyslog plugins that provide the
d1fb5e
ability to send and receive syslog messages via TCP or RELP using TLS
d1fb5e
encryption via OpenSSL library. For details refer to rsyslog doc on imtcp
d1fb5e
and omfwd modules.
c16178
c16178
%description gssapi
c16178
The rsyslog-gssapi package contains the rsyslog plugins which support GSSAPI
c16178
authentication and secure connections. GSSAPI is commonly used for Kerberos
c16178
authentication.
c16178
c16178
%description kafka
ce513f
The rsyslog-kafka package provides modules for Apache Kafka input and output.
c16178
c16178
%description mmaudit
c16178
This module provides message modification supporting Linux audit format
c16178
in various settings.
c16178
c16178
%description mmjsonparse
c16178
This module provides the capability to recognize and parse JSON enhanced
c16178
syslog messages.
c16178
c16178
%description mmkubernetes
c16178
The rsyslog-mmkubernetes package provides module for adding kubernetes
c16178
container metadata.
c16178
c16178
%description mmnormalize
c16178
This module provides the capability to normalize log messages via liblognorm.
c16178
225632
%description mmfields
225632
The mmfield module permits to extract fields. Using this module is of special
225632
advantage if a field-based log format is to be processed, like for example CEF
225632
and either a large number of fields is needed or a specific field is used multiple
225632
times inside filters.
225632
c16178
%description mmsnmptrapd
c16178
This message modification module takes messages generated from snmptrapd and
c16178
modifies them so that they look like they originated from the read originator.
c16178
c16178
%description mysql
c16178
The rsyslog-mysql package contains a dynamic shared object that will add
c16178
MySQL database support to rsyslog.
c16178
108b33
%description omamqp1
108b33
The rsyslog-omamqp1 package contains a dynamic shared object that will add
108b33
AMQP1 support to rsyslog.
108b33
c16178
%description pgsql
c16178
The rsyslog-pgsql package contains a dynamic shared object that will add
c16178
PostgreSQL database support to rsyslog.
c16178
c16178
%description relp
c16178
The rsyslog-relp package contains the rsyslog plugins that provide
c16178
the ability to receive syslog messages via the reliable RELP
c16178
protocol.
c16178
c16178
%description snmp
c16178
The rsyslog-snmp package contains the rsyslog plugin that provides the
c16178
ability to send syslog messages as SNMPv1 and SNMPv2c traps.
c16178
ce513f
%description udpspoof
ce513f
This module is similar to the regular UDP forwarder, but permits to
ce513f
spoof the sender address. Also, it enables to circle through a number
ce513f
of source ports.
ce513f
c16178
%prep
c16178
# set up rsyslog-doc sources
c16178
%setup -q -a 1 -T -c
c16178
c16178
#regenerate the docs
c16178
c16178
#mv build/searchindex.js searchindex_backup.js
c16178
#sphinx-build -b html source build
c16178
#clean up
c16178
#mv searchindex_backup.js build/searchindex.js
c16178
c16178
rm -r LICENSE README.md source build/objects.inv
c16178
mv build doc
c16178
c16178
# set up rsyslog sources
c16178
%setup -q -D
108b33
%setup -q -D -T -b 5
c16178
49a8b5
%patch0  -p1 -b .default-tag
49a8b5
%patch1  -p1 -b .fd-leak-on-fsync
49a8b5
%patch2  -p1 -b .timeout
49a8b5
%patch3  -p1 -b .unexpected-priority-length
49a8b5
%patch4  -p1 -b .imuxsock-rate-limit
49a8b5
%patch5  -p1 -b .abort-on-id-resolution-fail
49a8b5
%patch6  -p1 -b .prioritizeSAN
49a8b5
%patch7  -p1 -b .errfile-maxsize
49a8b5
%patch8  -p1 -b .state-file-leaking
49a8b5
%patch9  -p1 -b .state-file-leaking-doc
49a8b5
%patch10 -p1 -b .ossl-better-logs
49a8b5
%patch11 -p1 -b .imtcp-refactor-params
49a8b5
%patch12 -p1 -b .ossl-memory-leak
49a8b5
%patch13 -p1 -b .ossl-ciphers-behaviour
49a8b5
%patch14 -p1 -b .CVE-24903
49a8b5
%patch15 -p1 -b .gnutls-error-handling
15ddf1
%patch16 -p1 -b .extra-ca-files
15ddf1
%patch17 -p1 -b .extra-ca-files-doc
15ddf1
%patch18 -p1 -b .imklog-heap
c16178
c16178
%build
c16178
%ifarch sparc64
c16178
#sparc64 need big PIE
108b33
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
108b33
%else
108b33
export CFLAGS="$RPM_OPT_FLAGS -fpic"
108b33
%endif
108b33
# build the proton first
108b33
(
d1fb5e
	cd %{_builddir}/qpid-proton-0.34.0
108b33
	mkdir bld
108b33
	cd bld
108b33
108b33
	# Need ENABLE_FUZZ_TESTING=NO to avoid a link failure
108b33
	# Find python include dir and python library from
108b33
	# https://stackoverflow.com/questions/24174394/cmake-is-not-able-to-find-python-libraries
108b33
    cmake .. \
108b33
		-DBUILD_BINDINGS="" \
108b33
		-DBUILD_STATIC_LIBS=YES \
108b33
		-DENABLE_FUZZ_TESTING=NO \
108b33
		-DPYTHON_INCLUDE_DIR=$(python3 -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())")  \
108b33
		-DPYTHON_LIBRARY=$(python3 -c "import distutils.sysconfig as sysconfig; print(sysconfig.get_config_var('LIBDIR'))") \
108b33
		-DCMAKE_AR="/usr/bin/gcc-ar" -DCMAKE_NM="/usr/bin/gcc-nm" -DCMAKE_RANLIB="/usr/bin/gcc-ranlib"
108b33
	make -j8
108b33
)
108b33
%ifarch sparc64
108b33
#sparc64 need big PIE
c16178
export CFLAGS="$RPM_OPT_FLAGS -fPIE"
c16178
%else
c16178
export CFLAGS="$RPM_OPT_FLAGS -fpie"
c16178
%endif
c16178
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
c16178
c16178
sed -i 's/%{version}/%{version}-%{release}/g' configure.ac
c16178
autoreconf -if
c16178
%configure \
c16178
	--prefix=/usr \
c16178
	--disable-static \
c16178
	--disable-testbench \
c16178
	--enable-elasticsearch \
c16178
	--enable-generate-man-pages \
c16178
	--enable-gnutls \
d1fb5e
	--enable-openssl \
c16178
	--enable-gssapi-krb5 \
c16178
	--enable-imdiag \
c16178
	--enable-imfile \
c16178
	--enable-imjournal \
c16178
	--enable-imkafka \
c16178
	--enable-impstats \
c16178
	--enable-imptcp \
c16178
	--enable-mail \
c16178
	--enable-mmanon \
c16178
	--enable-mmaudit \
c16178
	--enable-mmcount \
c16178
	--enable-mmjsonparse \
c16178
	--enable-mmkubernetes \
c16178
	--enable-mmnormalize \
225632
	--enable-mmfields \
c16178
	--enable-mmsnmptrapd \
c16178
	--enable-mmutf8fix \
c16178
	--enable-mysql \
d1fb5e
	--enable-omamqp1 PROTON_LIBS="%{_builddir}/qpid-proton-0.34.0/bld/c/libqpid-proton-core-static.a %{_builddir}/qpid-proton-0.34.0/bld/c/libqpid-proton-proactor-static.a %{_builddir}/qpid-proton-0.34.0/bld/c/libqpid-proton-static.a -lssl -lsasl2 -lcrypto" PROTON_CFLAGS="-I%{_builddir}/qpid-proton-0.34.0/bld/c/include" \
65ca46
	--enable-omhttp \
c16178
	--enable-omjournal \
c16178
	--enable-omkafka \
c16178
	--enable-omprog \
c16178
	--enable-omstdout \
ce513f
	--enable-omudpspoof \
c16178
	--enable-omuxsock \
c16178
	--enable-pgsql \
c16178
	--enable-pmaixforwardedfrom \
c16178
	--enable-pmcisconames \
c16178
	--enable-pmlastmsg \
c16178
	--enable-pmsnare \
c16178
	--enable-relp \
c16178
	--enable-snmp \
c16178
	--enable-unlimited-select \
ce513f
	--enable-usertools
c16178
c16178
make
c16178
c16178
%install
c16178
make DESTDIR=%{buildroot} install
c16178
c16178
install -d -m 755 %{buildroot}%{_sysconfdir}/sysconfig
c16178
install -d -m 755 %{buildroot}%{_sysconfdir}/logrotate.d
d1fb5e
install -d -m 755 %{buildroot}%{_unitdir}
c16178
install -d -m 755 %{buildroot}%{_sysconfdir}/rsyslog.d
c16178
install -d -m 700 %{buildroot}%{rsyslog_statedir}
c16178
install -d -m 700 %{buildroot}%{rsyslog_pkidir}
c16178
install -d -m 755 %{buildroot}%{rsyslog_docdir}/html
c16178
c16178
install -p -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/rsyslog.conf
c16178
install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/rsyslog
c16178
install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/logrotate.d/syslog
d1fb5e
install -p -m 644 %{SOURCE6} %{buildroot}%{_unitdir}/rsyslog.service
c16178
install -p -m 644 plugins/ommysql/createDB.sql %{buildroot}%{rsyslog_docdir}/mysql-createDB.sql
c16178
install -p -m 644 plugins/ompgsql/createDB.sql %{buildroot}%{rsyslog_docdir}/pgsql-createDB.sql
c16178
install -p -m 644 contrib/mmkubernetes/*.rulebase %{buildroot}%{rsyslog_docdir}
c16178
# extract documentation
c16178
cp -r doc/* %{buildroot}%{rsyslog_docdir}/html
c16178
# get rid of libtool libraries
c16178
rm -f %{buildroot}%{_libdir}/rsyslog/*.la
c16178
c16178
# convert line endings from "\r\n" to "\n"
c16178
cat tools/recover_qi.pl | tr -d '\r' > %{buildroot}%{_bindir}/rsyslog-recover-qi.pl
c16178
c16178
%post
c16178
for n in /var/log/{messages,secure,maillog,spooler}
c16178
do
c16178
	[ -f $n ] && continue
c16178
	umask 066 && touch $n
c16178
done
c16178
%systemd_post rsyslog.service
c16178
c16178
%preun
c16178
%systemd_preun rsyslog.service
c16178
c16178
%postun
c16178
%systemd_postun_with_restart rsyslog.service
c16178
c16178
%files
c16178
%doc AUTHORS COPYING* ChangeLog
c16178
%exclude %{rsyslog_docdir}/html
c16178
%exclude %{rsyslog_docdir}/mysql-createDB.sql
c16178
%exclude %{rsyslog_docdir}/pgsql-createDB.sql
c16178
%dir %{_libdir}/rsyslog
c16178
%dir %{_sysconfdir}/rsyslog.d
c16178
%dir %{rsyslog_statedir}
c16178
%dir %{rsyslog_pkidir}
c16178
%{_sbindir}/rsyslogd
c16178
%attr(755,root,root) %{_bindir}/rsyslog-recover-qi.pl
c16178
%{_mandir}/man5/rsyslog.conf.5.gz
c16178
%{_mandir}/man8/rsyslogd.8.gz
c16178
%{_unitdir}/rsyslog.service
c16178
%config(noreplace) %{_sysconfdir}/rsyslog.conf
c16178
%config(noreplace) %{_sysconfdir}/sysconfig/rsyslog
c16178
%config(noreplace) %{_sysconfdir}/logrotate.d/syslog
c16178
# plugins
c16178
%{_libdir}/rsyslog/fmhash.so
c16178
%{_libdir}/rsyslog/fmhttp.so
c16178
%{_libdir}/rsyslog/imdiag.so
c16178
%{_libdir}/rsyslog/imfile.so
c16178
%{_libdir}/rsyslog/imjournal.so
c16178
%{_libdir}/rsyslog/imklog.so
c16178
%{_libdir}/rsyslog/immark.so
c16178
%{_libdir}/rsyslog/impstats.so
c16178
%{_libdir}/rsyslog/imptcp.so
c16178
%{_libdir}/rsyslog/imtcp.so
c16178
%{_libdir}/rsyslog/imudp.so
c16178
%{_libdir}/rsyslog/imuxsock.so
c16178
%{_libdir}/rsyslog/lmnet.so
c16178
%{_libdir}/rsyslog/lmnetstrms.so
c16178
%{_libdir}/rsyslog/lmnsd_ptcp.so
c16178
%{_libdir}/rsyslog/lmregexp.so
c16178
%{_libdir}/rsyslog/lmtcpclt.so
c16178
%{_libdir}/rsyslog/lmtcpsrv.so
c16178
%{_libdir}/rsyslog/lmzlibw.so
c16178
%{_libdir}/rsyslog/mmanon.so
c16178
%{_libdir}/rsyslog/mmcount.so
c16178
%{_libdir}/rsyslog/mmexternal.so
c16178
%{_libdir}/rsyslog/mmutf8fix.so
65ca46
%{_libdir}/rsyslog/omhttp.so
c16178
%{_libdir}/rsyslog/omjournal.so
c16178
%{_libdir}/rsyslog/ommail.so
c16178
%{_libdir}/rsyslog/omprog.so
c16178
%{_libdir}/rsyslog/omstdout.so
c16178
%{_libdir}/rsyslog/omtesting.so
c16178
%{_libdir}/rsyslog/omuxsock.so
c16178
%{_libdir}/rsyslog/pmaixforwardedfrom.so
c16178
%{_libdir}/rsyslog/pmcisconames.so
c16178
%{_libdir}/rsyslog/pmlastmsg.so
c16178
%{_libdir}/rsyslog/pmsnare.so
c16178
c16178
%files crypto
c16178
%{_bindir}/rscryutil
c16178
%{_mandir}/man1/rscryutil.1.gz
c16178
%{_libdir}/rsyslog/lmcry_gcry.so
c16178
c16178
%files doc
c16178
%doc %{rsyslog_docdir}/html
c16178
c16178
%files elasticsearch
c16178
%{_libdir}/rsyslog/omelasticsearch.so
c16178
c16178
%files gssapi
c16178
%{_libdir}/rsyslog/lmgssutil.so
c16178
%{_libdir}/rsyslog/imgssapi.so
c16178
%{_libdir}/rsyslog/omgssapi.so
c16178
c16178
%files gnutls
c16178
%{_libdir}/rsyslog/lmnsd_gtls.so
c16178
d1fb5e
%files openssl
d1fb5e
%{_libdir}/rsyslog/lmnsd_ossl.so
d1fb5e
c16178
%files kafka
c16178
%{_libdir}/rsyslog/imkafka.so
c16178
%{_libdir}/rsyslog/omkafka.so
c16178
c16178
%files mmaudit
c16178
%{_libdir}/rsyslog/mmaudit.so
c16178
c16178
%files mmjsonparse
c16178
%{_libdir}/rsyslog/mmjsonparse.so
c16178
c16178
%files mmkubernetes
c16178
%{_libdir}/rsyslog/mmkubernetes.so
c16178
%doc %{rsyslog_docdir}/k8s_filename.rulebase
c16178
%doc %{rsyslog_docdir}/k8s_container_name.rulebase
c16178
c16178
%files mmnormalize
c16178
%{_libdir}/rsyslog/mmnormalize.so
c16178
225632
%files mmfields
225632
%{_libdir}/rsyslog/mmfields.so
225632
c16178
%files mmsnmptrapd
c16178
%{_libdir}/rsyslog/mmsnmptrapd.so
c16178
c16178
%files mysql
c16178
%doc %{rsyslog_docdir}/mysql-createDB.sql
c16178
%{_libdir}/rsyslog/ommysql.so
c16178
108b33
%files omamqp1
108b33
%{_libdir}/rsyslog/omamqp1.so
108b33
c16178
%files pgsql
c16178
%doc %{rsyslog_docdir}/pgsql-createDB.sql
c16178
%{_libdir}/rsyslog/ompgsql.so
c16178
c16178
%files relp
c16178
%{_libdir}/rsyslog/imrelp.so
c16178
%{_libdir}/rsyslog/omrelp.so
c16178
c16178
%files snmp
c16178
%{_libdir}/rsyslog/omsnmp.so
c16178
ce513f
%files udpspoof
ce513f
%defattr(-,root,root)
ce513f
%{_libdir}/rsyslog/omudpspoof.so
c16178
c16178
%changelog
15ddf1
* Mon Jan 09 2023 Attila Lakatos <alaktos@redhat.com> - 8.2102.0-13
15ddf1
- Make rsyslog-relp require librelp>= 1.9.0
15ddf1
  resolves: rhbz#2029352
15ddf1
- Reorder logrotate parameters to work with POSIXLY_CORRECT env var
15ddf1
  resolves: rhbz#2070496
15ddf1
15ddf1
* Fri Jan 06 2023 Attila Lakatos <alakatos@redhat.com> - 8.2102.0-12
15ddf1
- Fix invalid memory adressing in imklog that could cause abort
15ddf1
  resolves: rhbz#2157658
15ddf1
15ddf1
* Tue Sep 06 2022 Sergio Arroutbi <sarroutb@redhat.com> - 8.2102.0-11
15ddf1
- Enable multiple SSL CA files
15ddf1
  resolves: rhbz#2124934
15ddf1
49a8b5
* Wed Apr 13 2022 Attila Lakatos <alakatos@redhat.com> - 8.2102.0-10
49a8b5
- openssl: Correct gnutlsPriorityString (custom ciphers) behaviour
49a8b5
- Fix error handling in gtlsRecordRecv that can cause 100 percent CPU usage
49a8b5
  resolves: rhbz#2046158
49a8b5
- Address CVE-2022-24903, Heap-based overflow in TCP syslog server
49a8b5
  resolves: rhbz#2081401
49a8b5
49a8b5
* Mon Mar 28 2022 Attila Lakatos <alakatos@redhat.com> - 8.2102.0-9
49a8b5
- Add deleteStateOnFileMove imfile module option
49a8b5
  resolves: rhbz#1909639
49a8b5
- Add inotify_rm_watch() inotify API call when object needs to be destroyed
49a8b5
  resolves: rhbz#2052403
49a8b5
49a8b5
* Fri Mar 04 2022 Sergio Arroutbi <sarroutb@redhat.com> - 8.2102.0-8
49a8b5
- Include maxsize for error files
49a8b5
  resolves: rhbz#1962318
49a8b5
225632
* Mon Nov 22 2021 Attila Lakatos <alakatos@redhat.com> - 8.2102.0-7
225632
- Propagate prioritizeSAN when accepting new connection
225632
  resolves: rhbz#1832368
225632
225632
* Mon Oct 18 2021 Attila Lakatos <alakatos@redhat.com> - 8.2102.0-6
225632
- Enable mmfields module
225632
  resolves: rhbz#1947907
225632
  resolves: rhbz#1866900
225632
d1fb5e
* Wed Aug 04 2021 Attila Lakatos <alakatos@redhat.com> - 8.2102.0-5
d1fb5e
- Do not exit when user/group can not be found
d1fb5e
  resolves: rhbz#1984489
d1fb5e
- Remove abortOnIDResolution fail
d1fb5e
d1fb5e
* Tue Jul 27 2021 Attila Lakatos <alakatos@redhat.com> - 8.2102.0-4
d1fb5e
- Allways use message severity when comparing with ratelimit severity
d1fb5e
  resolves: rhbz#1984616
d1fb5e
d1fb5e
* Mon Jun 28 2021 Attila Lakatos <alakatos@redhat.com> - 8.2102.0-3
d1fb5e
- Priority field must have valid length
d1fb5e
  resolves: rhbz#1866877
d1fb5e
- Allocate more memory on too large groups
d1fb5e
  resolves: rhbz#1944718
d1fb5e
d1fb5e
* Tue May 18 2021 Attila Lakatos <alakatos@redhat.com> - 8.2102.0-2
d1fb5e
  RHEL 8.5.0 ERRATUM
d1fb5e
- rebase to 8.2102.0
d1fb5e
  resolves: rhbz#1932795
d1fb5e
- Enable openssl
d1fb5e
  resolves: rhbz#1891458
d1fb5e
- EKU check for client cert on server side
d1fb5e
  resolves: rhbz#1783348
d1fb5e
- Use GNUTLS_SHUT_WR when ending TLS connections
d1fb5e
  resolves: rhbz#1880434
d1fb5e
- Use librelp with openssl enabled
d1fb5e
  resolves: rhbz#1795607
d1fb5e
- Close dir when fsync=on
d1fb5e
  resolves: rhbz#1960536
d1fb5e
ce513f
* Wed Nov 18 2020 Attila Lakatos <alakatos@redhat.com> - 8.1911.0-7
ce513f
- add back rsyslog-udpspoof package
ce513f
  resolves: rhbz#1869874
ce513f
108b33
* Thu Jun 18 2020 Jiri Vymazal <jvymazal@redhat.com> - 8.1911.0-6
108b33
  RHEL 8.3.0 ERRATUM
108b33
- added patch preventing imfile crash when selinux blocks symlink
108b33
  access
108b33
  resolves: rhbz#1843994
108b33
- fixed config-enabled patch
108b33
  resolves: rhbz#1659383
108b33
108b33
* Thu Jun 04 2020 Jiri Vymazal <jvymazal@redhat.com> - 8.1911.0-5
108b33
  RHEL 8.3.0 ERRATUM
108b33
- added qpid-proton as another source and enabled omamqp1 module
108b33
  in a separate sub-package with it statically linked
108b33
  resolves: rhbz#1713427
ce513f
- extended config.enabled patch to cover rest of the cases
108b33
  resolves: rhbz#1659383
108b33
- added patch making json serialization thread-safe
108b33
  resolves: rhbz#1789675
108b33
- added another patch for imfile state-files id
108b33
  resolves: rhbz#1793569
108b33
- fixed typo in commend-out part of default rsyslog.conf
108b33
108b33
* Wed Dec 11 2019 Jiri Vymazal <jvymazal@redhat.com> - 8.1911.0-3
108b33
  RHEL 8.2.0 ERRATUM
108b33
- added patch reverting rejecting expired certs by default
108b33
  resolves: rhbz#1782353
108b33
- added patch silencing false errors on config.enabled statement
108b33
  resolves: rhbz#1659383
108b33
65ca46
* Tue Dec 03 2019 Jiri Vymazal <jvymazal@redhat.com> - 8.1911.0-2
65ca46
  RHEL 8.2.0 ERRATUM
65ca46
- cleaned old patches, fixed patch names
65ca46
  resolves: rhbz#1740683
65ca46
65ca46
* Mon Dec 02 2019 Jiri Vymazal <jvymazal@redhat.com> - 8.1911.0-1
65ca46
  RHEL 8.2.0 ERRATUM
65ca46
- rebased to 8.1911.0 upstream version, removed, previously
65ca46
  upstreamed patches
65ca46
  resolves: rhbz#1740683
65ca46
  resolves: rhbz#1659383
65ca46
  resolves: rhbz#1746876
65ca46
  resolves: rhbz#1676559
65ca46
  resolves: rhbz#1692072
65ca46
  resolves: rhbz#1692073
65ca46
  resolves: rhbz#1692074
65ca46
  resolves: rhbz#1699242
65ca46
  resolves: rhbz#1738213
65ca46
  resolves: rhbz#1744691
65ca46
  resolves: rhbz#1755218
65ca46
  resolves: rhbz#1768321
65ca46
  resolves: rhbz#1768324
65ca46
- added patch fixing imfile stefiles naming
65ca46
  resolves: rhbz#1763757
65ca46
65ca46
* Fri Aug 30 2019 Jiri Vymazal <jvymazal@redhat.com> - 8.37.0-13
65ca46
  RHEL 8.1.0 ERRATUM
ce513f
- added patch enabling stricter TLS certs checking conforming to
65ca46
  common criteria requirements
65ca46
  resolves: rhbz#1733244
65ca46
65ca46
* Mon Jul 22 2019 Jiri Vymazal <jvymazal@redhat.com> - 8.37.0-12
65ca46
  RHEL 8.1.0 ERRATUM
65ca46
- edited imjournal memleak patch to not cause double-free crash
65ca46
  resolves: rhbz#1729995
65ca46
- added patch calling journald API only when there are no
65ca46
  preceeding errors
65ca46
  resolves: rhbz#1722165
65ca46
- added patch fixing imrelp module when invoked with old syntax
65ca46
  resolves: rhbz#1724218
65ca46
c16178
* Wed Jun 05 2019 Jiri Vymazal <jvymazal@redhat.com> - 8.37.0-11
c16178
  RHEL 8.1.0 ERRATUM
c16178
- fixed memory leak in imjournal by proper cursor releasing
c16178
  resolves: rhbz#1716867
c16178
c16178
* Fri May 10 2019 Jiri Vymazal <jvymazal@redhat.com> - 8.37.0-10
c16178
  RHEL 8.1.0 ERRATUM
c16178
- added option for imfile endmsg.regex
c16178
  resolves: rhbz#1627941
c16178
- added patch enhancing imfile rotation detection
c16178
  resolves: rhbz#1674471
c16178
- added patch fixing msgOffset datatype preventing crash on
c16178
  message with too long other fields
c16178
  resolves: rhbz#1677037
c16178
- added patch introducing "preservecase" option for imudp/imtcp
c16178
  resolves: rhbz#1614181
c16178
c16178
* Mon Dec 17 2018 Jiri Vymazal <jvymazal@redhat.com> - 8.37.0-9
c16178
  RHEL 8.0.0 ERRATUM
c16178
- added back legacy option for imjournal default tag
c16178
  resolves: rhbz#1659898
c16178
c16178
* Fri Dec 14 2018 Jiri Vymazal <jvymazal@redhat.com> - 8.37.0-8
c16178
  RHEL 8.0.0 ERRATUM
c16178
- fixes mmkubenetes handling 404 and 429 errors
c16178
  resolves: rhbz#1622768
c16178
c16178
* Fri Oct 19 2018 Jiri Vymazal <jvymazal@redhat.com> - 8.37.0-7
c16178
- removed version from docdir macro
c16178
  resolves: rhbz#1638023
c16178
c16178
* Mon Aug 27 2018 Jiri Vymazal <jvymazal@redhat.com> - 8.37.0-6
c16178
- updated patch for enhanced imfile symlink support
c16178
  resolves: rhbz#1614179
c16178
c16178
* Fri Aug 10 2018 Jiri Vymazal <jvymazal@redhat.com> - 8.37.0-5
c16178
- rebuild for rebased dependencies
c16178
- dependency cleanup and sorted sub-packages in spec
c16178
  resolves: rhbz#1613880
c16178
c16178
* Fri Aug 10 2018 Jiri Vymazal <jvymazal@redhat.com> - 8.37.0-4
c16178
- enabled mmkubernetes module
c16178
  resolves: rhbz#1614432
c16178
  resolves: rhbz#1614441
c16178
c16178
* Thu Aug 09 2018 Josef Ridky <jridky@redhat.com> - 8.37.0-3
c16178
- Rebuild for Net-SNMP
c16178
c16178
* Thu Aug 09 2018 Jiri Vymazal <jvymazal@redhat.com> - 8.37.0-2
c16178
- added patch for enhanced imfile symlink support
c16178
  resolves: rhbz#1614179
c16178
c16178
* Wed Aug 08 2018 Jiri Vymazal <jvymazal@redhat.com> - 8.37.0-1
c16178
- rebase to 8.37.0
c16178
  resolves: rhbz#1613880
c16178
  resolves: rhbz#1564054
c16178
  resolves: rhbz#1598218
c16178
  - dropped invalid statefile patch - upstreamed
c16178
  - dropped imjournal duplicates patch - upstreamed
c16178
  resolves: rhbz#1544394
c16178
- renumbered default tag patch and fitted onto rebased version
c16178
c16178
* Fri Aug 03 2018 Jiri Vymazal <jvymazal@redhat.com> - 8.36.0-4
c16178
- removed dependency on libee
c16178
  resolves: rhbz#1612032
c16178
c16178
* Wed Aug 01 2018 Jiri Vymazal <jvymazal@redhat.com> - 8.36.0-3
c16178
- dropped json_nonoverwrite patch as there is no reason for
c16178
  keeping it
c16178
- renumbered rest of patches
c16178
- added release number to AC_INIT to have it in package error logs
c16178
c16178
* Mon Jul 16 2018 Charalampos Stratakis <cstratak@redhat.com> - 8.36.0-2
c16178
- Depend on python3-docutils
c16178
c16178
* Mon Jul 02 2018 Jiri Vymazal <jvymazal@redhat.com> - 8.36.0-1
c16178
- changed PID file name to follow upstream
ce513f
- removed config option to disable stdlog as it is now
c16178
  disabled by default
c16178
c16178
* Thu Jun 28 2018 Jiri Vymazal <jvymazal@redhat.com> - 8.36.0-1
c16178
- rebase to 8.36
c16178
- removed hiredis module
c16178
- removed omudpspoof module
c16178
  resolves: rhbz#1593762
c16178
- finished converting config to new-style syntax
c16178
c16178
* Mon May 21 2018 Jiri Vymazal <jvymazal@redhat.com> - 8.35.0-1
c16178
- spec file cleanup
c16178
- enabled kafka and hiredis modules
c16178
  resolves: rhbz#1542497
c16178
  resolves: rhbz#1542504
c16178
- renamed patch fixing imjournal duplicating messages
c16178
  resolves: rhbz#1544394
c16178
c16178
* Thu May 17 2018 Marek Tamaskovic <mtamasko@redhat.com> - 8.35.0-1
c16178
- rebase to 8.35
c16178
- rebased patches from 8.32 to 8.35
c16178
  - fixed imjournal-duplicates
c16178
  - fixed imjournal-default-tag
c16178
  - fixed service patch
c16178
  - fixed in upstream deserialize-property-name
c16178
c16178
* Fri Mar 23 2018 Radovan Sroka <rsroka@redhat.com> - 8.32.0-2
c16178
- rebuild, bumped release number
c16178
c16178
* Tue Feb 06 2018 Radovan Sroka <rsroka@redhat.com> - 8.32.0-1
c16178
- initial clean build with plugins from rhel7
c16178
- removed plugins:
c16178
  - libdbi
c16178
  - omruleset
c16178
  - pmrfc3164sd
ce513f
- imported from fedora26