Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1a897757bb |
||
|
|
a504d74d55 |
||
|
|
eaab51b6ca |
||
|
|
5ff78ade86 |
5 changed files with 54 additions and 31 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -73,3 +73,7 @@ rsyslog-4.6.3.tar.gz
|
|||
/rsyslog-doc-8.2001.0.tar.gz
|
||||
/rsyslog-8.2002.0.tar.gz
|
||||
/rsyslog-doc-8.2002.0.tar.gz
|
||||
/rsyslog-8.2008.0.tar.gz
|
||||
/rsyslog-doc-8.2008.0.tar.gz
|
||||
/rsyslog-8.2010.0.tar.gz
|
||||
/rsyslog-doc-8.2010.0.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
diff -up rsyslog-7.4.1/rsyslog.service.in.orig rsyslog-7.4.1/rsyslog.service.in
|
||||
--- rsyslog-7.4.1/rsyslog.service.in.orig 2013-06-17 15:28:54.430023493 +0200
|
||||
+++ rsyslog-7.4.1/rsyslog.service.in 2013-06-17 15:30:05.874378084 +0200
|
||||
@@ -6,7 +6,9 @@ Requires=syslog.socket
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
-ExecStart=@sbindir@/rsyslogd -n -iNONE
|
||||
+EnvironmentFile=-/etc/sysconfig/rsyslog
|
||||
+ExecStart=@sbindir@/rsyslogd -n $SYSLOGD_OPTIONS
|
||||
+UMask=0066
|
||||
StandardOutput=null
|
||||
Restart=on-failure
|
||||
|
||||
22
rsyslog.service
Normal file
22
rsyslog.service
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[Unit]
|
||||
Description=System Logging Service
|
||||
;Requires=syslog.socket
|
||||
Documentation=man:rsyslogd(8)
|
||||
Documentation=https://www.rsyslog.com/doc/
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
EnvironmentFile=-/etc/sysconfig/rsyslog
|
||||
ExecStart=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS
|
||||
ExecReload=/usr/bin/kill -HUP $MAINPID
|
||||
UMask=0066
|
||||
StandardOutput=null
|
||||
Restart=on-failure
|
||||
|
||||
# Increase the default a bit in order to allow many simultaneous
|
||||
# files to be monitored, we might need a lot of fds.
|
||||
LimitNOFILE=16384
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
;Alias=syslog.service
|
||||
41
rsyslog.spec
41
rsyslog.spec
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
Summary: Enhanced system logging and kernel message trapping daemon
|
||||
Name: rsyslog
|
||||
Version: 8.2002.0
|
||||
Version: 8.2010.0
|
||||
Release: 1%{?dist}
|
||||
License: (GPLv3+ and ASL 2.0)
|
||||
URL: http://www.rsyslog.com/
|
||||
|
|
@ -17,6 +17,7 @@ Source1: http://www.rsyslog.com/files/download/rsyslog/%{name}-doc-%{version}.ta
|
|||
Source2: rsyslog.conf
|
||||
Source3: rsyslog.sysconfig
|
||||
Source4: rsyslog.log
|
||||
Source5: rsyslog.service
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: autoconf
|
||||
|
|
@ -34,7 +35,7 @@ BuildRequires: python3-docutils
|
|||
# make sure systemd is in a version that isn't affected by rhbz#974132
|
||||
BuildRequires: systemd-devel >= 204-8
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: qpid-proton-c-devel
|
||||
BuildRequires: qpid-proton-c-devel
|
||||
|
||||
Requires: logrotate >= 3.5.2
|
||||
Requires: bash >= 2.0
|
||||
|
|
@ -43,9 +44,6 @@ Requires: bash >= 2.0
|
|||
Provides: syslog
|
||||
Obsoletes: sysklogd < 1.5-11
|
||||
|
||||
# tweak the upstream service file to honour configuration from /etc/sysconfig/rsyslog
|
||||
Patch0: rsyslog-8.34.0-sd-service.patch
|
||||
|
||||
%package crypto
|
||||
Summary: Encryption support
|
||||
Requires: %name = %version-%release
|
||||
|
|
@ -228,15 +226,15 @@ spoof the sender address. Also, it enables to circle through a number
|
|||
of source ports.
|
||||
|
||||
%description omamqp1
|
||||
The omamqp1 output module can be used to send log messages via an AMQP
|
||||
The omamqp1 output module can be used to send log messages via an AMQP
|
||||
1.0-compatible messaging bus.
|
||||
|
||||
%description kafka
|
||||
The rsyslog-kafka package provides module for Apache Kafka output.
|
||||
The rsyslog-kafka package provides module for Apache Kafka output.
|
||||
|
||||
%description mmkubernetes
|
||||
The rsyslog-mmkubernetes package provides module for adding kubernetes
|
||||
container metadata.
|
||||
The rsyslog-mmkubernetes package provides module for adding kubernetes
|
||||
container metadata.
|
||||
|
||||
%prep
|
||||
# set up rsyslog-doc sources
|
||||
|
|
@ -245,7 +243,6 @@ rm -r LICENSE README.md source build/objects.inv
|
|||
mv build doc
|
||||
# set up rsyslog sources
|
||||
%setup -q -D
|
||||
%patch0 -p1
|
||||
|
||||
autoreconf -iv
|
||||
|
||||
|
|
@ -320,6 +317,7 @@ make V=1 DESTDIR=%{buildroot} install
|
|||
|
||||
install -d -m 755 %{buildroot}%{_sysconfdir}/sysconfig
|
||||
install -d -m 755 %{buildroot}%{_sysconfdir}/logrotate.d
|
||||
install -d -m 755 %{buildroot}%{_unitdir}
|
||||
install -d -m 755 %{buildroot}%{_sysconfdir}/rsyslog.d
|
||||
install -d -m 700 %{buildroot}%{rsyslog_statedir}
|
||||
install -d -m 700 %{buildroot}%{rsyslog_pkidir}
|
||||
|
|
@ -328,6 +326,7 @@ install -d -m 755 %{buildroot}%{rsyslog_docdir}/html
|
|||
install -p -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/rsyslog.conf
|
||||
install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/rsyslog
|
||||
install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/logrotate.d/rsyslog
|
||||
install -p -m 644 %{SOURCE5} %{buildroot}%{_unitdir}/rsyslog.service
|
||||
install -p -m 644 plugins/ommysql/createDB.sql %{buildroot}%{rsyslog_docdir}/mysql-createDB.sql
|
||||
install -p -m 644 plugins/ompgsql/createDB.sql %{buildroot}%{rsyslog_docdir}/pgsql-createDB.sql
|
||||
dos2unix tools/recover_qi.pl
|
||||
|
|
@ -337,8 +336,6 @@ install -p -m 644 contrib/mmkubernetes/*.rulebase %{buildroot}%{rsyslog_docdir}
|
|||
cp -r doc/* %{buildroot}%{rsyslog_docdir}/html
|
||||
# get rid of libtool libraries
|
||||
rm -f %{buildroot}%{_libdir}/rsyslog/*.la
|
||||
# get rid of socket activation by default
|
||||
sed -i '/^Alias/s/^/;/;/^Requires=syslog.socket/s/^/;/' %{buildroot}%{_unitdir}/rsyslog.service
|
||||
# imdiag and liboverride is only used for testing
|
||||
rm -f %{buildroot}%{_libdir}/rsyslog/imdiag.so
|
||||
rm -f %{buildroot}%{_libdir}/rsyslog/liboverride_gethostname.so
|
||||
|
|
@ -487,6 +484,20 @@ done
|
|||
%doc %{rsyslog_docdir}/k8s_container_name.rulebase
|
||||
|
||||
%changelog
|
||||
* Wed Nov 25 2020 Attila Lakatos <alakatos@redhat.com> - 8.2010.0-1
|
||||
- rebase to upstream version 8.2010.0
|
||||
resolves: rhbz#1890330
|
||||
|
||||
* Fri Sep 18 2020 Attila Lakatos <alakatos@redhat.com> - 8.2008.0-2
|
||||
- rebuild rsyslog
|
||||
|
||||
* Thu Sep 17 2020 Attila Lakatos <alakatos@redhat.com> - 8.2008.0-1
|
||||
- rebase to upstream version 8.2008.0
|
||||
resolves: rhbz#1829092
|
||||
resolves: rhbz#1823862
|
||||
resolves: rhbz#1876773
|
||||
- add service file back(upstream does not ship it anymore)
|
||||
|
||||
* Fri Mar 27 2020 Jiri Vymazal <jvymazal@redhat.com> - 8.2002.0-1
|
||||
- rebase to upstream version 8.2002.0
|
||||
resolves: rhbz#1807097
|
||||
|
|
@ -639,7 +650,7 @@ done
|
|||
* Tue Apr 18 2017 Radovan Sroka <rsroka@redhat.com> - 8.26.0-1
|
||||
- rebase to 8.26.0
|
||||
- added doc patch rhbz#1436113
|
||||
- dropped chdir patch, https://github.com/rsyslog/rsyslog/pull/1420
|
||||
- dropped chdir patch, https://github.com/rsyslog/rsyslog/pull/1420
|
||||
- moved dependency libgcrypt to rsyslog core
|
||||
|
||||
* Wed Mar 01 2017 Jiri Vymazal <jvymazal@redhat.com> - 8.25.0-2
|
||||
|
|
@ -693,7 +704,7 @@ done
|
|||
|
||||
* Tue Dec 20 2016 Radovan Sroka <rsroka@redhat.com> - 8.23.0-1
|
||||
- rebase to 8.23.0
|
||||
- change build requires from libfastjson to libfastjson-devel
|
||||
- change build requires from libfastjson to libfastjson-devel
|
||||
|
||||
* Thu Nov 10 2016 Tomas Sykora <tosykora@redhat.com> 8.22.0-1
|
||||
- rebase to 8.22.0
|
||||
|
|
@ -702,7 +713,7 @@ done
|
|||
|
||||
* Wed Oct 05 2016 Radovan Sroka <rsroka@redhat.com> 8.21.0-1
|
||||
- rebase to 8.21.0
|
||||
- dropped rsyslog-8.12.0-gnutls-detection.patch
|
||||
- dropped rsyslog-8.12.0-gnutls-detection.patch
|
||||
- dropped rsyslog-8.8.0-immutable-json-props.patch
|
||||
- remove from specs but nor from git
|
||||
- could be useful in future
|
||||
|
|
|
|||
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
|||
SHA512 (rsyslog-8.2002.0.tar.gz) = a01bb2f67d21ab6d96dd1302bc351b509892834ef44956983db912a63ba23201653ca1e6b176a574c47568665b4d92579bb8bb0fe6911646bc841a3754c2754f
|
||||
SHA512 (rsyslog-doc-8.2002.0.tar.gz) = 5d6bd8fe09b49644f000416c87c8600cd3df3facb07845afd85012279df203a44b234e94a7be90ad83709d5f2ad1a2bf8cb51571c5c0cd76383f76f81455945e
|
||||
SHA512 (rsyslog-8.2010.0.tar.gz) = e3c8ed6b631053e38abfe8ce183a1544d04a0207dc988d36f5141a7ea8c987915f4c0429ccd094b7e374c277b7ee5b50e65e7205c156af01ffe9bdf8338831c8
|
||||
SHA512 (rsyslog-doc-8.2010.0.tar.gz) = 072fb05a0117dc0970a4e5e302abbaf5dc065c2a0962c4160e7efb86fedad89a2caa546cd2bf4af07b7f5e2fa5267cf02889d911f7a6916725e6aea1760ab253
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue