]>
Commit | Line | Data |
---|---|---|
bd32dcf9 | 1 | Summary: Display various tables of DNS traffic on your network |
c674adf4 | 2 | Summary(pl.UTF-8): Wyświetlanie różnych zestawień ruchu DNS w sieci |
5b7295d2 | 3 | Name: dnstop |
a8a172a8 | 4 | Version: 20110502 |
c3abe106 | 5 | Release: 2 |
5b7295d2 | 6 | License: BSD-like |
0d433ab9 | 7 | Group: Networking/Utilities |
7ddcc6e2 | 8 | Source0: http://dns.measurement-factory.com/tools/dnstop/src/%{name}-%{version}.tar.gz |
a8a172a8 | 9 | # Source0-md5: 28cb54f3780b27e15df8924235e4e37b |
5b7295d2 PG |
10 | URL: http://dns.measurement-factory.com/tools/dnstop/ |
11 | BuildRequires: libpcap-devel | |
0d433ab9 | 12 | BuildRequires: ncurses-devel |
5b7295d2 PG |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %description | |
16 | dnstop is a libpcap application (ala tcpdump) that displays various | |
17 | tables of DNS traffic on your network, including tables of source and | |
18 | destination IP addresses, query types, top level domains and second | |
19 | level domains. | |
20 | ||
c5a18d67 | 21 | %description -l pl.UTF-8 |
bd32dcf9 | 22 | dnstop to aplikacja oparta na libpcap (podobnie jak tcpdump) |
c5a18d67 JR |
23 | wyświetlająca zestawienia ruchu DNS w sieci wraz z tabelami źródłowych |
24 | i docelowych adresów IP, rodzajów zapytań, domen głównych i drugiego | |
bd32dcf9 JB |
25 | poziomu. |
26 | ||
5b7295d2 PG |
27 | %prep |
28 | %setup -q | |
29 | ||
30 | %build | |
69e58894 | 31 | %configure |
5b7295d2 PG |
32 | %{__make} \ |
33 | CC="%{__cc}" \ | |
f503b90b | 34 | CFLAGS="%{rpmcppflags} %{rpmcflags} -I/usr/include/ncurses \ |
a8a172a8 | 35 | -DUSE_IPV6=1" \ |
36 | LIBS="-lresolv -lnsl -lpcap -lncurses -ltinfo" | |
5b7295d2 PG |
37 | |
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} | |
41 | ||
42 | install dnstop $RPM_BUILD_ROOT%{_sbindir} | |
43 | install dnstop.8 $RPM_BUILD_ROOT%{_mandir}/man8 | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc CHANGES | |
51 | %attr(755,root,root) %{_sbindir}/* | |
52 | %{_mandir}/man8/* |