1 |
dmorgan |
56593 |
Summary: A network traffic monitoring tool |
2 |
|
|
Name: tcpdump |
3 |
luigiwalser |
1151278 |
Version: 4.9.2 |
4 |
umeabot |
1301341 |
Release: %mkrel 2 |
5 |
dmorgan |
56593 |
Epoch: 2 |
6 |
|
|
Group: Monitoring |
7 |
|
|
License: BSD |
8 |
|
|
URL: http://www.tcpdump.org/ |
9 |
|
|
Source0: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz |
10 |
luigiwalser |
280173 |
BuildRequires: pcap-devel >= 1.2.0 |
11 |
ovitters |
1146747 |
BuildRequires: pkgconfig(openssl) |
12 |
|
|
BuildRequires: pkgconfig(libsmi) |
13 |
dmorgan |
56593 |
|
14 |
|
|
%description |
15 |
|
|
Tcpdump is a command-line tool for monitoring network traffic. Tcpdump can |
16 |
|
|
capture and display the packet headers on a particular network interface or on |
17 |
|
|
all interfaces. Tcpdump can display all of the packet headers, or just the |
18 |
|
|
ones that match particular criteria. |
19 |
|
|
|
20 |
|
|
Install tcpdump if you need a program to monitor network traffic. |
21 |
|
|
|
22 |
|
|
%prep |
23 |
guillomovitch |
173743 |
%setup -q |
24 |
dmorgan |
56593 |
|
25 |
|
|
%build |
26 |
cjw |
847311 |
autoreconf |
27 |
dmorgan |
56593 |
%serverbuild |
28 |
luigiwalser |
280173 |
export CFLAGS="%{optflags} -I. -DIP_MAX_MEMBERSHIPS=20" |
29 |
dmorgan |
56593 |
%configure2_5x \ |
30 |
|
|
--enable-ipv6 |
31 |
|
|
|
32 |
|
|
%make |
33 |
|
|
|
34 |
|
|
%install |
35 |
|
|
%makeinstall_std |
36 |
|
|
# (misc) remove the binary, has this only pollutes completion |
37 |
|
|
# and take useless space in the rpm |
38 |
luigiwalser |
280173 |
rm -f %{buildroot}/%{_sbindir}/%{name}.%{version} |
39 |
dmorgan |
56593 |
|
40 |
|
|
%files |
41 |
sander85 |
589873 |
%doc README.md CHANGES CREDITS LICENSE |
42 |
dmorgan |
56593 |
%{_sbindir}/%{name} |
43 |
|
|
%{_mandir}/man1/tcpdump.1* |