%global _hardened_build 1 Name: dnstop Version: 20140915 Release: 4%{?dist} Summary: Displays information about DNS traffic on your network Group: Applications/System License: BSD URL: http://dns.measurement-factory.com/tools/dnstop/ Source0: http://dns.measurement-factory.com/tools/dnstop/src/dnstop-%{version}.tar.gz Patch1: dnstop-20140915-fix-warnings.patch Patch2: dnstop-20140915-usage.patch BuildRequires: libpcap-devel BuildRequires: ncurses-devel %description dnstop is a libpcap application (ala tcpdump) that displays various tables of DNS traffic on your network. dnstop supports both IPv4 and IPv6 addresses. To help find especially undesirable DNS queries, dnstop provides a number of filters. dnstop can either read packets from the live capture device, or from a tcpdump savefile. %prep %setup -q %patch1 -p1 %patch2 -p1 %build %configure make %{?_smp_mflags} %install mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8 make install DESTDIR=$RPM_BUILD_ROOT %files %doc LICENSE CHANGES %{_bindir}/dnstop %{_mandir}/man8/dnstop.8* %changelog * Fri Feb 10 2017 Fedora Release Engineering - 20140915-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 20140915-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 20140915-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Sep 15 2014 Paul Wouters - 20140915-1 - Updated to 20140915 with new-gtlds filter support - Updated warning patch (partially merged upstream) - Added usage patch that was missing the new filter name new-gtlds - Enabled hardening as this application takes in network input. * Sat Aug 16 2014 Fedora Release Engineering - 20121017-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 20121017-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Mar 04 2014 Conrad Meyer - 20121017-4 - Actual cleanup; drop EL5-age SPEC bits * Mon Mar 03 2014 Denis Fateyev - 20121017-3 - Spec cleanup, epel branches * Sat Aug 03 2013 Fedora Release Engineering - 20121017-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Feb 17 2013 Conrad Meyer - 20121017-1 - Bump to latest upstream version - Fix build (latest dnstop correctly prefixes mandir, bindir with DESTDIR) - Fix warnings (pointer target signedness, unchecked read(2)) * Wed Feb 13 2013 Fedora Release Engineering - 20110502-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 20110502-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 20110502-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sat Jul 16 2011 Conrad Meyer - 20110502-1 - Bump to latest upstream version. * Fri Mar 25 2011 Niels de Vos - 20090128-3 - Fiy Failed To Build From Source (#660807) * Tue Feb 08 2011 Fedora Release Engineering - 20090128-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 24 2009 Conrad Meyer - 20090128-1 - Initial package.