[nfdump] nfdump: initial import (#1055126)

Denis Fateyev dfateyev at fedoraproject.org
Fri Feb 7 14:52:45 UTC 2014


commit a9d05a10134bd6cdbd6581a1c1c5aaeb8b0bae41
Author: Denis Fateyev <denis at fateyev.com>
Date:   Fri Feb 7 20:52:22 2014 +0600

    nfdump: initial import (#1055126)

 .gitignore  |    1 +
 nfdump.spec |   70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 72 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..afd523f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/nfdump-1.6.11.tar.gz
diff --git a/nfdump.spec b/nfdump.spec
new file mode 100644
index 0000000..de69d03
--- /dev/null
+++ b/nfdump.spec
@@ -0,0 +1,70 @@
+
+%global _hardened_build		1
+
+Name:		nfdump
+Version:	1.6.11
+Release:	1%{?dist}
+Summary:	NetFlow collecting and processing tools
+
+Group:		Applications/System
+License:	BSD, GPLv2
+URL:		http://sourceforge.net/projects/nfdump/
+Source0:	http://sourceforge.net/projects/nfdump/%{name}-%{version}.tar.gz
+
+%{?el5:BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root}
+
+BuildRequires:	byacc
+BuildRequires:	flex
+BuildRequires:	zlib-devel
+BuildRequires:	rrdtool-devel
+BuildRequires:	libpcap-devel
+
+
+%description
+Nfdump is a set of tools to collect and process NetFlow data. It's fast and has
+a powerful filter pcap like syntax. It supports NetFlow versions v1, v5, v7, v9
+and IPFIX as well as a limited set of sflow. It includes support for CISCO ASA
+(NSEL) and CISCO NAT (NEL) devices which export event logging records as v9
+flows. Nfdump is fully IPv6 compatible.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure \
+    --enable-nel \
+    --enable-nsel \
+    --enable-nfprofile \
+    --enable-nftrack \
+    --enable-sflow \
+    --enable-readpcap \
+    --enable-nfpcapd
+
+make %{?_smp_mflags}
+
+
+%install
+%if 0%{?el5}
+rm -rf %{buildroot}
+%endif
+make install DESTDIR=%{buildroot}
+chmod 0644 AUTHORS ChangeLog README
+
+%if 0%{?el5}
+%clean
+rm -rf %{buildroot}
+%endif
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS BSD-license.txt ChangeLog README
+%{_bindir}/*
+%{_mandir}/man1/*.1*
+
+
+%changelog
+* Wed Feb 05 2014 Denis Fateyev <denis at fateyev.com> - 1.6.11-1
+- Initial Fedora RPM release
diff --git a/sources b/sources
index e69de29..4c596b1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2b90d9f799d7f16b854485dffbe08e54  nfdump-1.6.11.tar.gz


More information about the scm-commits mailing list