Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nfdump for openSUSE:Factory checked in at 2022-10-11 18:03:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nfdump (Old) and /work/SRC/openSUSE:Factory/.nfdump.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nfdump" Tue Oct 11 18:03:16 2022 rev:8 rq:1009677 version:1.7.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/nfdump/nfdump.changes 2022-05-22 20:28:08.842327740 +0200 +++ /work/SRC/openSUSE:Factory/.nfdump.new.2275/nfdump.changes 2022-10-11 18:05:44.958104156 +0200 @@ -1,0 +2,42 @@ +Fri Sep 30 13:46:10 UTC 2022 - Martin Hauke <[email protected]> + +- Update to version 1.7.0.1 + * Fix build issues in nfdump-1.7.0 +- Drop patches: + * 0001-Add-missing-variable-initialization.patch + * 0002-Handle-fscanf-return-value-in-pidfile.c.patch + * 0003-Fix-snprintf-length-argument.patch + * fix-build.patch + +------------------------------------------------------------------- +Fri Sep 30 08:08:34 UTC 2022 - Martin Hauke <[email protected]> + +- Update to version 1.7.0 + * nfdump is now a multi-threaded program and uses parallel + threads mainly for reading, writing and processing flows as + well as for sorting. This may result in a 2 to 3 times faster + flow processing, depending on the tasks. The speed improvement + also heavily depends on the hardware (SSD/HD) and flow + compression option. + * For netflow v9 and IPFIX, nfdump now supports flexible length + fields. This improves compatibility with some exporters such + as yaf and others. The netflow v9 decoder is more flexible in + decoding. + * Support for Cisco Network Based Application Recognition (NBAR). + * Supports Maxmind geo location information to tag/geolocate IP + addresses and AS numbers. + * nfpcapd automatically uses TPACKET_V3 for Linux. This improves + packet processing. It adds new options to collect MAC and VLAN + information as well as the first packet of the payload. + * Metric exports: By default, every 60s a flow summary statistics + can be sent to a UNIX socket. The corresponding program may be + nfinflux to insert these metrics into an influxDB or nfexporter + for Prometheus monitoring. +- Add patches: + * 0001-Add-missing-variable-initialization.patch + * 0002-Handle-fscanf-return-value-in-pidfile.c.patch + * 0003-Fix-snprintf-length-argument.patch +- Build with support for influxdb +- Build libnfdump as shared library + +------------------------------------------------------------------- Old: ---- fix-build.patch nfdump-1.6.24.tar.gz New: ---- nfdump-1.7.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nfdump.spec ++++++ --- /var/tmp/diff_new_pack.UtK2B4/_old 2022-10-11 18:05:45.382104842 +0200 +++ /var/tmp/diff_new_pack.UtK2B4/_new 2022-10-11 18:05:45.386104848 +0200 @@ -19,15 +19,15 @@ %define nfcapddatadir %{_localstatedir}/lib/nfcapd %define sfcapddatadir %{_localstatedir}/lib/sfcapd %define nfhomedir %{_var}/lib/%{name} +%define sover 1_7_0 Name: nfdump -Version: 1.6.24 +Version: 1.7.0.1 Release: 0 Summary: CLI tools to collect and process netflow data License: BSD-3-Clause Group: Productivity/Networking/Diagnostic URL: https://github.com/phaag/nfdump Source: https://github.com/phaag/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -Patch0: fix-build.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bison @@ -37,6 +37,7 @@ BuildRequires: rrdtool BuildRequires: rrdtool-devel BuildRequires: pkgconfig(bzip2) +BuildRequires: pkgconfig(libcurl) Requires: rrdtool %description @@ -44,9 +45,24 @@ They are part of the NFSEN project which is explained more detailed at http://www.terena.nl/tech/task-forces/tf-csirt/meeting12/nfsen-Haag.pdf +%package -n libnfdump%{sover} +Summary: Shared Library part of libnfdump +Group: System/Libraries + +%description -n libnfdump%{sover} +Shared Library part of libnfdump. + +%package devel +Summary: Development files for libnfdump +Group: Development/Libraries/C and C++ +Requires: libnfdump%{sover} = %{version} + +%description devel +This package contains libraries and header files for developing +applications that use libnfdump. + %prep %setup -q -%patch0 -p1 chmod a-x AUTHORS COPYING LICENSE README.md ChangeLog %build @@ -56,7 +72,7 @@ --enable-nftrack \ --enable-nsel \ --enable-sflow \ - --enable-shared=no + --enable-influxdb %make_build %install @@ -65,16 +81,24 @@ %{buildroot}%{nfhomedir} \ %{buildroot}%{nfcapddatadir} \ %{buildroot}%{sfcapddatadir} -rm "%{buildroot}/%{_libdir}"/libnfdump.a -rm "%{buildroot}/%{_libdir}"/libnfdump.la +rm -v "%{buildroot}/%{_libdir}"/libnfdump.{a,la} + +%check +#%%make_build check %pre %{_sbindir}/groupadd -r %{name} &>/dev/null || : %{_sbindir}/useradd -g %{name} -s /bin/false -r -c "User for Netflow Dumper" -d %{nfhomedir} %{name} &>/dev/null || : +%post -n libnfdump%{sover} -p /sbin/ldconfig +%postun -n libnfdump%{sover} -p /sbin/ldconfig + %files %license COPYING LICENSE %doc AUTHORS README.md ChangeLog +# nfdump.conf.dist: As the name implies it's not really a config file but a template. +# Used the %%config macro only to avoid "W: non-conffile-in-etc /etc/nfdump.conf.dist" warning. +%config %{_sysconfdir}/nfdump.conf.dist %{_bindir}/nfanon %{_bindir}/nfcapd %{_bindir}/nfdump @@ -83,7 +107,6 @@ %{_bindir}/nfreplay %{_bindir}/nftrack %{_bindir}/sfcapd -%{_mandir}/man1/ft2nfdump.1%{?ext_man} %{_mandir}/man1/nfanon.1%{?ext_man} %{_mandir}/man1/nfcapd.1%{?ext_man} %{_mandir}/man1/nfdump.1%{?ext_man} @@ -95,4 +118,10 @@ %dir %attr(-,%{name},%{name}) %{sfcapddatadir} %dir %attr(-,%{name},%{name}) %{nfhomedir} +%files -n libnfdump%{sover} +%{_libdir}/libnfdump-*.so + +%files devel +%{_libdir}/libnfdump.so + %changelog ++++++ nfdump-1.6.24.tar.gz -> nfdump-1.7.0.1.tar.gz ++++++ ++++ 169920 lines of diff (skipped)
