From 58aa581416aab8729dae0127053002c7530c7d13 Mon Sep 17 00:00:00 2001 From: Jiri Vymazal Date: Fri, 3 Feb 2017 11:07:02 +0100 Subject: [PATCH] * Fri Feb 03 2017 Jiri Vymazal - 8.24.0-3 - new kafka sub-package, adding omkafka module see: rhbz#1418720 --- rsyslog.spec | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/rsyslog.spec b/rsyslog.spec index 8f2cfc7..9ec9f72 100644 --- a/rsyslog.spec +++ b/rsyslog.spec @@ -12,7 +12,7 @@ Summary: Enhanced system logging and kernel message trapping daemon Name: rsyslog Version: 8.24.0 -Release: 2%{?dist} +Release: 3%{?dist} License: (GPLv3+ and ASL 2.0) Group: System Environment/Daemons URL: http://www.rsyslog.com/ @@ -166,6 +166,12 @@ Group: System Environment/Daemons Requires: %name = %version-%release BuildRequires: qpid-proton-c-devel +%package kafka +Summary: Provides the omkafka module +Group: System Environment/Daemons +Requires: %name = %version-%release +BuildRequires: librdkafka-devel + %description Rsyslog is an enhanced, multi-threaded syslog daemon. It supports MySQL, syslog/TCP, RFC 3195, permitted sender lists, filtering on any message part, @@ -255,6 +261,9 @@ of source ports. 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. + %prep # set up rsyslog-doc sources %setup -q -a 1 -T -c @@ -328,6 +337,7 @@ export HIREDIS_LIBS="-L%{_libdir} -lhiredis" --disable-testbench \ --enable-unlimited-select \ --enable-usertools \ + --enable-omkafka \ make V=1 @@ -519,7 +529,15 @@ done %defattr(-,root,root) %{_libdir}/rsyslog/omamqp1.so +%files kafka +%defattr(-,root,root) +%{_libdir}/rsyslog/omkafka.so + %changelog +* Fri Feb 03 2017 Jiri Vymazal - 8.24.0-3 +- new kafka sub-package, adding omkafka module + see: rhbz#1418720 + * Mon Jan 16 2017 Jiri Vymazal - 8.24.0-2 - reverted symlink to syslog.service - not needed see: rhbz#1343132