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