%define name dns-analyzer %define version 0.3.0 %define release 1mdk Summary: Analyze DNS traffic from tcpdump trace files. Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Networking/Other URL: http://www.nlnetlabs.nl/dns-analyzer/ Source: %{name}-%{version}.tar.bz2 BuildRequires: libpcap-devel BuildRequires: libstdc++-devel BuildRoot: %{_tmppath}/%{name}-root %description The DNS Analyzer is a tool to analyze DNS traffic from tcpdump/libpcap trace files. The purpose of the DNS Analyzer is to analyze DNS trace files from the DNS root servers to find traffic that is unnecessary. The DNS Analyzer can also be used to convert trace files into R data files. R can be used to perform fine-grained statistical analysis of the data. Some sample R functions are provided in the R/dns.R file that can be found in the source distribution. %prep %setup -q %build %configure2_5x %make %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %makeinstall install -m0755 packet2c %{buildroot}%{_bindir}/ %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr (-,root,root) %doc CODING ChangeLog README %{_bindir}/dns-analyzer %{_bindir}/packet2c %{_mandir}/man1/dns-analyzer.1* %changelog * Fri Jun 04 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.3.0-1mdk - 0.3.0 - built against new deps and with gcc v3.4.x - fix deps - drop P0, another fix is in there * Sun Nov 02 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.2.0-1mdk - initial cooker contrib