Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package syslog-ng for openSUSE:Factory checked in at 2023-07-27 16:51:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/syslog-ng (Old) and /work/SRC/openSUSE:Factory/.syslog-ng.new.32662 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "syslog-ng" Thu Jul 27 16:51:42 2023 rev:124 rq:1100854 version:4.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/syslog-ng/syslog-ng.changes 2023-07-14 15:36:14.902148014 +0200 +++ /work/SRC/openSUSE:Factory/.syslog-ng.new.32662/syslog-ng.changes 2023-07-27 16:52:01.922229049 +0200 @@ -1,0 +2,12 @@ +Tue Jul 25 12:35:44 UTC 2023 - peter czanik <[email protected]> + +- update to version 4.3.0 + * OpenTelemetry support + * BPF support to accelerate UDP source + * logscale destination + * scl.conf moved from /etc/syslog-ng + * use pcre2 instead of pcre +- change BuildRequires from pcre-devel to pcre2-devel +- add BuildRrequires for OpenTelemetry and BPF + +------------------------------------------------------------------- Old: ---- syslog-ng-4.2.0.tar.gz New: ---- syslog-ng-4.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ syslog-ng.spec ++++++ --- /var/tmp/diff_new_pack.fP8rPs/_old 2023-07-27 16:52:03.650238812 +0200 +++ /var/tmp/diff_new_pack.fP8rPs/_new 2023-07-27 16:52:03.718239196 +0200 @@ -34,6 +34,15 @@ %bcond_with mqtt %endif +# OpenTelemetry and BPF dependencies only in TW +%if 0%{?suse_version} > 1500 +%bcond_without otel +%bcond_without bpf +%else +%bcond_with otel +%bcond_with bpf +%endif + # missing dependencies on SLES 15 %if 0%{?sle_version} >= 150000 && !0%{?is_opensuse} %bcond_with dbi @@ -67,7 +76,7 @@ %bcond_with mongodb %bcond_with amqp Name: syslog-ng -Version: 4.2.0 +Version: 4.3.0 Release: 0 Summary: Enhanced system logging daemon License: GPL-2.0-only @@ -88,7 +97,7 @@ BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: net-snmp-devel -BuildRequires: pcre-devel +BuildRequires: pcre2-devel BuildRequires: pkgconfig BuildRequires: python3 BuildRequires: tcpd-devel @@ -147,6 +156,17 @@ BuildRequires: python3-websocket-client %endif +%if %{with bpf} +BuildRequires: bpftool +BuildRequires: clang13 +BuildRequires: libbpf-devel +%endif + +%if %{with otel} +BuildRequires: grpc-devel +BuildRequires: protobuf-devel +%endif + %description syslog-ng is an enhanced log daemon, supporting a wide range of input and output methods: syslog, unstructured text, message queues, databases (SQL @@ -163,11 +183,11 @@ * hand on messages for further processing using message queues (like AMQP), files or databases (like PostgreSQL or MongoDB). -%package -n libevtlog-4_2-0 +%package -n libevtlog-4_3-0 Summary: Syslog-ng event logger library runtime Group: System/Libraries -%description -n libevtlog-4_2-0 +%description -n libevtlog-4_3-0 The EventLog library provides an alternative to the simple syslog() API provided on UNIX systems. Compared to syslog, EventLog adds structured messages. @@ -231,6 +251,22 @@ This package provides the libredis module providing support for logging to a redis destination. +%package opentelemetry +Summary: OpenTelemetry support for syslog-ng +Group: System/Daemons +Requires: %{name} = %{version} + +%description opentelemetry +This package provides OpenTelemetry support for syslog-ng + +%package bpf +Summary: Faster UDP log collection for syslog-ng +Group: System/Daemons +Requires: %{name} = %{version} + +%description bpf +This package provides faster UDP log collection for syslog-ng using bpf + %package python Summary: Python destination support for syslog-ng Group: System/Daemons @@ -328,6 +364,8 @@ export AM_YFLAGS=-d +export BPFTOOL=/usr/sbin/bpftool + %configure \ --prefix=%{_prefix} \ --enable-ipv6 \ @@ -343,6 +381,13 @@ --without-compile-date \ --enable-ssl \ --enable-afsnmp \ +%if %{with otel} + --enable-cpp \ + --enable-grpc \ +%endif +%if %{with bpf} + --enable-ebpf \ +%endif --disable-native \ %if %{with mqtt} --enable-mqtt \ @@ -516,8 +561,8 @@ # %{service_del_postun syslog-ng.service} -%post -n libevtlog-4_2-0 -p /sbin/ldconfig -%postun -n libevtlog-4_2-0 -p /sbin/ldconfig +%post -n libevtlog-4_3-0 -p /sbin/ldconfig +%postun -n libevtlog-4_3-0 -p /sbin/ldconfig %files ## @@ -594,11 +639,11 @@ %dir %{_datadir}/syslog-ng/include/scl/mariadb/ %dir %{_datadir}/syslog-ng/include/scl/python/ %dir %{_datadir}/syslog-ng/include/scl/splunk/ +%dir %{_datadir}/syslog-ng/include/scl/logscale/ %dir %{_datadir}/syslog-ng/xsd %dir %{_sysconfdir}/syslog-ng %dir %{_sysconfdir}/syslog-ng/conf.d %config(noreplace) %{_sysconfdir}/syslog-ng/syslog-ng.conf -%config(noreplace) %{_sysconfdir}/syslog-ng/scl.conf %{_unitdir}/syslog-ng.service %dir %{_localstatedir}/lib/syslog-ng %attr(0755,root,root) %dir %ghost %{syslog_ng_rundir} @@ -697,10 +742,12 @@ %attr(644,root,root) %{_datadir}/syslog-ng/include/scl/mariadb/audit.conf %attr(644,root,root) %{_datadir}/syslog-ng/include/scl/python/python-modules.conf %attr(644,root,root) %{_datadir}/syslog-ng/include/scl/splunk/splunk.conf +%attr(644,root,root) %{_datadir}/syslog-ng/include/scl/logscale/logscale.conf %attr(644,root,root) %{_datadir}/syslog-ng/smart-multi-line.fsm %attr(644,root,root) %{_datadir}/syslog-ng/xsd/* +%attr(644,root,root) %{_datadir}/syslog-ng/include/scl.conf -%files -n libevtlog-4_2-0 +%files -n libevtlog-4_3-0 %{_libdir}/libevtlog-*.so.* %files snmp @@ -725,6 +772,20 @@ %endif +%if %{with otel} + +%files opentelemetry +%attr(755,root,root) %{_libdir}/syslog-ng/libotel.so + +%endif + +%if %{with bpf} + +%files bpf +%attr(755,root,root) %{_libdir}/syslog-ng/libebpf.so + +%endif + %files devel %attr(644,root,root) %{_libdir}/libsyslog-ng.la %attr(644,root,root) %{_libdir}/libevtlog.la ++++++ syslog-ng-4.2.0.tar.gz -> syslog-ng-4.3.0.tar.gz ++++++ ++++ 120685 lines of diff (skipped) ++++++ syslog-ng.conf.default ++++++ --- /var/tmp/diff_new_pack.fP8rPs/_old 2023-07-27 16:52:06.498254904 +0200 +++ /var/tmp/diff_new_pack.fP8rPs/_new 2023-07-27 16:52:06.502254926 +0200 @@ -1,4 +1,4 @@ -@version:4.2 +@version:4.3 @include "scl.conf" #
