]> git.pld-linux.org Git - packages/dnstop.git/commitdiff
- initial, nice dns quick-stats
authorPaweł Gołaszewski <blues@pld-linux.org>
Mon, 6 Nov 2006 12:44:19 +0000 (12:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dnstop.spec -> 1.1

dnstop.spec [new file with mode: 0644]

diff --git a/dnstop.spec b/dnstop.spec
new file mode 100644 (file)
index 0000000..70e0863
--- /dev/null
@@ -0,0 +1,42 @@
+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/*
This page took 0.059185 seconds and 4 git commands to generate.