Name: netsniff-ng Version: 0.5.8 Release: 6%{?dist} Summary: Packet sniffing beast Group: Applications/Internet License: GPLv2 URL: http://netsniff-ng.org/ Source0: https://github.com/borkmann/netsniff-ng/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: ncurses-devel libnl3-devel libpcap-devel GeoIP-devel zlib-devel flex bison %description The netsniff-ng toolkit currently consists of the following utilities: * netsniff-ng: the zero-copy sniffer, pcap capturer and replayer itself. * trafgen: a high performance zero-copy network packet generator. * astraceroute: an autonomous system (AS) and geo-ip trace route utility. * ifpps: a top-like kernel networking and system statistics tool. * bpfc: a tiny Berkeley Packet Filter compiler supporting Linux extensions. %global commit a225505ea3fd319db87f0828ead3a653f020c4bf %global shortcommit %(c=%{commit}; echo ${c:0:7}) %prep %setup -qn %{name}-%{commit} %build ./configure make DISTRO=1 %{?_smp_mflags} %install make PREFIX="%{buildroot}" install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, -) %doc AUTHORS COPYING README %{_sbindir}/* %config(noreplace) %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/* %{_mandir}/man8/* %changelog * Fri Jan 24 2014 Daniel Mach - 0.5.8-6 - Mass rebuild 2014-01-24 * Fri Dec 27 2013 Daniel Mach - 0.5.8-5 - Mass rebuild 2013-12-27 * Mon Aug 26 2013 Daniel Borkmann - 0.5.8-4 - GeoIP was added to RHEL7, so we can make use of that to enable astraceroute and features in netsniff-ng. - For this we also need zlib in order to make the updater work. * Mon Aug 05 2013 Daniel Borkmann - 0.5.8-3 - Package Wrangler feedback from Thomas Graf - Note: %configure does not work with upstream's build system here as CFLAGS will be overwritten. Changes would need to be proposed to upstream first. * Wed Jul 31 2013 Daniel Borkmann - 0.5.8-2 - Rebased on 0.5.8-rc2 release. * Tue Jul 23 2013 Daniel Borkmann - 0.5.8-1 - Initial netsniff-ng spec file for RHEL, import of 0.5.8-rc1. Note that RHEL packaging differs significantly from Fedora as we only do a partial build and have a small fraction of dependencies that are available on RHEL.