Compare commits

..

No commits in common. "rawhide" and "f32" have entirely different histories.
rawhide ... f32

4 changed files with 20 additions and 142 deletions

5
.gitignore vendored
View File

@ -41,8 +41,3 @@ syslog-ng_3.1.1.tar.gz
/syslog-ng-3.22.1.tar.gz
/syslog-ng-3.23.1.tar.gz
/syslog-ng-3.25.1.tar.gz
/syslog-ng-3.27.1.tar.gz
/syslog-ng-3.30.1.tar.gz
/syslog-ng-3.33.2.tar.gz
/syslog-ng-3.35.1.tar.gz
/syslog-ng-3.37.1.tar.gz

View File

@ -1 +1 @@
SHA512 (syslog-ng-3.37.1.tar.gz) = beebd89c54a415469dc58630ac1900d632ef351f6a13fad4a95ce7bb1760b16d6cfdcede02225a35e97ebce7dae151c6aa228f3d378463e8b873c4f71ed86ab7
SHA512 (syslog-ng-3.25.1.tar.gz) = 79e09f1ba11080179c572016ce27328a28d479e68e663d39fb16624c03dc37d8439020ede922f78680e31e21629a6c13a4671464a31213c1dcf6acd2c5cd4b13

View File

@ -1,4 +1,4 @@
@version: 3.35
@version: 3.25
@include "scl.conf"
# syslog-ng configuration file.

View File

@ -1,14 +1,14 @@
%global ivykis_ver 0.42.3
%global syslog_ng_major_ver 3
%global syslog_ng_minor_ver 37
%global syslog_ng_minor_ver 25
%global syslog_ng_patch_ver 1
%global syslog_ng_major_minor_ver %{syslog_ng_major_ver}.%{syslog_ng_minor_ver}
%global syslog_ng_ver %{syslog_ng_major_ver}.%{syslog_ng_minor_ver}.%{syslog_ng_patch_ver}
Name: syslog-ng
Version: %{syslog_ng_ver}
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Next-generation syslog server
License: GPLv2+
@ -18,13 +18,13 @@ Source1: syslog-ng.conf
Source2: syslog-ng.logrotate
Source3: syslog-ng.service
BuildRequires: make
BuildRequires: bison
BuildRequires: cyrus-sasl-devel
BuildRequires: flex
BuildRequires: glib2-devel
BuildRequires: hiredis-devel
BuildRequires: ivykis-devel >= %{ivykis_ver}
BuildRequires: java-devel
BuildRequires: json-c-devel
BuildRequires: libcap-devel
BuildRequires: libcurl-devel
@ -37,7 +37,6 @@ BuildRequires: libtool
BuildRequires: libuuid-devel
BuildRequires: libxslt
BuildRequires: mongo-c-driver-devel
BuildRequires: net-snmp-devel
BuildRequires: openssl-devel
BuildRequires: pcre-devel
BuildRequires: perl-generators
@ -47,9 +46,6 @@ BuildRequires: riemann-c-client-devel
BuildRequires: snappy-devel
BuildRequires: systemd-devel
BuildRequires: systemd-units
BuildRequires: librdkafka-devel
BuildRequires: zlib-devel
BuildRequires: paho-c-devel
BuildRequires: /usr/bin/pathfix.py
@ -69,6 +65,8 @@ Conflicts: filesystem < 3
Obsoletes: syslog-ng-json < 3.8
%global __provides_exclude_from ^%{_libdir}/syslog-ng/.*\\.so$
%description
syslog-ng is an enhanced log daemon, supporting a wide range of input and
@ -87,13 +85,6 @@ Key features:
AMQP), files or databases (like PostgreSQL or MongoDB).
%package slog
Summary: secure logging support for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description slog
This module supports secure message transfer and storage (experimental).
%package libdbi
Summary: Libdbi support for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -109,13 +100,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description mongodb
This module supports the mongodb database via libmongo-client.
%package kafka
Summary: Kafka support for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description kafka
This module supports sending logs to Kafka through librdkafka.
%package smtp
Summary: SMTP support for %{name}
@ -125,12 +109,12 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
This module supports sending e-mail alerts through an smtp server.
%package snmp
Summary: SNMP support for %{name}
%package java
Summary: Java destination support for syslog-ng
Requires: %{name}%{?_isa} = %{version}-%{release}
%description snmp
This module adds support for SNMP destination.
%description java
This package provides java destination support for syslog-ng.
%package geoip
@ -174,13 +158,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description amqp
This module supports the AMQP destination.
%package mqtt
Summary: mqtt support for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description mqtt
This module supports sending logs to MQTT through paho-c.
%package python
Summary: Python support for %{name}
@ -220,7 +197,7 @@ rm -rf modules/afmongodb/mongo-c-driver
# Fix python shebang
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" lib/merge-grammar.py
touch -r lib/cfg-grammar.y lib/merge-grammar.py
%build
%configure \
@ -238,8 +215,6 @@ touch -r lib/cfg-grammar.y lib/merge-grammar.py
--enable-spoof-source \
--with-linux-caps=auto \
--enable-sql \
--enable-kafka \
--enable-mqtt \
--enable-json \
--enable-ssl \
--enable-smtp \
@ -252,9 +227,8 @@ touch -r lib/cfg-grammar.y lib/merge-grammar.py
--enable-amqp \
--enable-python \
--with-python=3 \
--disable-java \
--enable-java \
--disable-java-modules \
--enable-afsnmp \
--enable-riemann
make %{_smp_mflags}
@ -388,11 +362,10 @@ fi
%exclude %{_libdir}/syslog-ng/libafsql.so
%exclude %{_libdir}/syslog-ng/libgeoip2-plugin.so
%exclude %{_libdir}/syslog-ng/libhttp.so
%exclude %{_libdir}/syslog-ng/libmod-java.so
%exclude %{_libdir}/syslog-ng/libmod-python.so
%exclude %{_libdir}/syslog-ng/libredis.so
%exclude %{_libdir}/syslog-ng/libriemann.so
%exclude %{_libdir}/syslog-ng/libafsnmp.so
%exclude %{_libdir}/syslog-ng/libkafka.so
%dir %{_datadir}/syslog-ng
%{_datadir}/syslog-ng/syslog-ng.vim
@ -411,24 +384,11 @@ fi
%{_mandir}/man1/dqtool.1*
%{_mandir}/man5/syslog-ng.conf.5*
%{_mandir}/man8/syslog-ng.8*
%{_mandir}/man1/persist-tool.1*
%files slog
%{_bindir}/slogkey
%{_bindir}/slogencrypt
%{_bindir}/slogverify
%{_libdir}/syslog-ng/libsecure-logging.so
%{_mandir}/man1/slogkey.1*
%{_mandir}/man1/slogencrypt.1*
%{_mandir}/man1/slogverify.1*
%{_mandir}/man7/secure-logging.7*
%files libdbi
%{_libdir}/syslog-ng/libafsql.so
%files kafka
%{_libdir}/%{name}/libkafka.so
%files mongodb
%{_libdir}/syslog-ng/libafmongodb.so
@ -437,14 +397,15 @@ fi
%files redis
%{_libdir}/syslog-ng/libredis.so
%files mqtt
%{_libdir}/%{name}/libmqtt.so
%files smtp
%{_libdir}/syslog-ng/libafsmtp.so
%files snmp
%{_libdir}/%{name}/libafsnmp.so
%files java
%attr(755,root,root) %{_libdir}/syslog-ng/libmod-java.so
%dir %{_libdir}/syslog-ng/java-modules/
%{_libdir}/syslog-ng/java-modules/*
%files geoip
@ -482,84 +443,6 @@ fi
%changelog
* Mon Aug 15 2022 Peter Czanik <peter@czanik.hu> - 3.37.1-1
- update to 3.37.1
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.35.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.35.1-4
- Rebuilt for Python 3.11
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.35.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jan 18 2022 Kevin Fenzi <kevin@scrye.com> - 3.35.1-2
- Rebuild for hiredis 1.0.2
* Mon Dec 06 2021 Peter Czanik <peter@czanik.hu> - 3.35.1-1
- update to 3.35.1
* Sun Nov 07 2021 Björn Esser <besser82@fedoraproject.org> - 3.33.2-3
- Rebuild (riemann-c-client)
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 3.33.2-2
- Rebuilt with OpenSSL 3.0.0
* Wed Jul 28 2021 Peter Czanik <peter@czanik.hu> - 3.33.2-1
- update to 3.33.2
- enabled MQTT support
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.30.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sat Jul 10 2021 Björn Esser <besser82@fedoraproject.org> - 3.30.1-7
- Rebuild for versioned symbols in json-c
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.30.1-6
- Rebuilt for Python 3.10
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.30.1-5
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Fri Feb 5 2021 Peter Czanik <peter@czanik.hu> - 3.30.1-4
- fix Kafka support packaging
* Mon Feb 1 2021 Peter Czanik <peter@czanik.hu> - 3.30.1-3
- enabled Kafka support
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.30.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Dec 8 2020 Peter Czanik <peter@czanik.hu> - 3.30.1-0
- update to 3.30.1
* Thu Aug 27 2020 Josef Řídký <jridky@redhat.com> - 3.27.1-5
- Rebuilt for new net-snmp release
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.27.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 3.27.1-3
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Mon Jun 15 2020 Peter Czanik <peter@czanik.hu> - 3.27.1-2
- do not mask syslog-ng modules to fix rhbz#1846777
* Wed Jun 10 2020 Peter Czanik <peter@czanik.hu> - 3.27.1-1
- update to 3.27.1
- add secure logging files
- add persist-tool man page
- fix snmp support
- disable Java bindings (requires ancient JDK)
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.25.1-4
- Rebuilt for Python 3.9
* Tue Apr 21 2020 Björn Esser <besser82@fedoraproject.org> - 3.25.1-3
- Rebuild (json-c)
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.25.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild