From 71f888f77ab827d228914d75917d39e26e80edd4 Mon Sep 17 00:00:00 2001 From: Peter Haag Date: Sun, 26 Nov 2023 15:56:46 +0100 Subject: [PATCH] Update nfdump.spec. Thanks rexy74! --- extra/nfdump.spec | 55 ++++++++++++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 24 deletions(-) diff --git a/extra/nfdump.spec b/extra/nfdump.spec index 4d0add80..8204b794 100644 --- a/extra/nfdump.spec +++ b/extra/nfdump.spec @@ -1,44 +1,51 @@ -Name: nfdump -Summary: A set of command-line tools to collect and process netflow data -Version: 1.6.19 -Release: 1 -License: BSD -Group: Applications/System -Source: %{name}-%{version}.tar.gz -BuildRequires: flex -BuildRoot: %{_tmppath}/%{name}-root -Packager: Colin Bloch -Prefix: /usr -Url: https://github.com/phaag/nfdump +Name: nfdump +Version: 1.7.3 +Release: %mkrel 0 +Summary: NetFlow collecting and processing tools +License: BSD +Packager: Richard REY (Rexy) +Group: Networking/Other +Source0: %{name}-%{version}.tar.gz +BuildRequires: lib64rrdtool-devel +BuildRoot: %{_tmppath}/%{name}-root +Url: https://github.com/phaag/nfdump %description -The nfdump tools collect and process netflow data on the command line. -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 +nfdump is a toolset in order to collect and process netflow/ipfix and sflow data +sent from netflow/sflow compatible devices. +The toolset contains several collectors to collect flow data: +- nfcapd supports netflow v1, v5/v7,v9 and IPFIX +- sfcapd support sflow +- nfpcapd converts pcap data read from a host interface or from pcap files. +nfdump is now a multi-threaded program and uses parallel threads mainly for reading, writing and processing flows as well as for sorting. %prep rm -rf $RPM_BUILD_ROOT - %setup -q %build ./autogen.sh -./configure --prefix=$RPM_BUILD_ROOT/%{prefix} --libdir=$RPM_BUILD_ROOT/%{_libdir} -make +%define configure_args --enable-nfprofile --enable-nftrack --disable-rpath --disable-static +%configure %{configure_args} +%make_build %install -make install +%make_install +chmod 0644 AUTHORS ChangeLog README.md +rm -f %{buildroot}%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc INSTALL README.md ToDo BSD-license.txt AUTHORS ChangeLog -%{prefix}/bin/* -%{prefix}/share/man/man1/* +%license LICENSE +%doc AUTHORS ChangeLog README.md +%{_bindir}/* %{_libdir}/* +%{_sysconfdir}/* +%{_mandir}/man1/* %changelog -* Thu Jan 03 2019 Richard REY -- Version 1.6.19 (used in ALCASAR 3.3.3) +* Sun Nov 26 2023 Richard REY +- Version 1.7.3 for ALCASAR 3.6.1