SPECS: dnstop.spec (NEW) - initial, nice dns quick-stats
blues
blues at pld-linux.org
Mon Nov 6 13:44:24 CET 2006
Author: blues Date: Mon Nov 6 12:44:24 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, nice dns quick-stats
---- Files affected:
SPECS:
dnstop.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/dnstop.spec
diff -u /dev/null SPECS/dnstop.spec:1.1
--- /dev/null Mon Nov 6 13:44:24 2006
+++ SPECS/dnstop.spec Mon Nov 6 13:44:19 2006
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+Summary: displays various tables of DNS traffic on your network
+Name: dnstop
+Version: 20060517
+Release: 1
+License: BSD-like
+Group: Applications/Networking
+Source0: http://dns.measurement-factory.com/tools/dnstop/src/%{name}-20060517.tar.gz
+# Source0-md5: 42181157acfe8e51fd8948ad4de7506d
+URL: http://dns.measurement-factory.com/tools/dnstop/
+BuildRequires: libpcap-devel
+BuildRequires: ncurses-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+dnstop is a libpcap application (ala tcpdump) that displays various
+tables of DNS traffic on your network, including tables of source and
+destination IP addresses, query types, top level domains and second
+level domains.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
+
+install dnstop $RPM_BUILD_ROOT%{_sbindir}
+install dnstop.8 $RPM_BUILD_ROOT%{_mandir}/man8
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES
+%attr(755,root,root) %{_sbindir}/*
+%{_mandir}/man8/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/11/06 12:44:19 blues
+- initial, nice dns quick-stats
+
================================================================
More information about the pld-cvs-commit
mailing list