/[packages]/updates/8/tcpdump/current/SPECS/tcpdump.spec
ViewVC logotype

Contents of /updates/8/tcpdump/current/SPECS/tcpdump.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 173407 - (show annotations) (download)
Mon Nov 28 01:39:25 2011 UTC (12 years, 4 months ago) by fwang
Original Path: cauldron/tcpdump/current/SPECS/tcpdump.spec
File size: 1155 byte(s)
new version 4.2.0
1 Summary: A network traffic monitoring tool
2 Name: tcpdump
3 Version: 4.2.0
4 Release: %mkrel 1
5 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 Source1: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz.sig
11 BuildRequires: pcap-devel >= 1.0.0-3
12 BuildRequires: openssl-devel
13 BuildRequires: libsmi-devel
14
15 %description
16 Tcpdump is a command-line tool for monitoring network traffic. Tcpdump can
17 capture and display the packet headers on a particular network interface or on
18 all interfaces. Tcpdump can display all of the packet headers, or just the
19 ones that match particular criteria.
20
21 Install tcpdump if you need a program to monitor network traffic.
22
23 %prep
24 %setup -q -n %{name}-%{version}
25
26 %build
27 %serverbuild
28 export CFLAGS="%optflags -DIP_MAX_MEMBERSHIPS=20"
29 %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 rm -f %{buildroot}/%_sbindir/%name.%version
39
40 %files
41 %doc README CHANGES CREDITS LICENSE
42 %{_sbindir}/%{name}
43 %{_mandir}/man1/tcpdump.1*

  ViewVC Help
Powered by ViewVC 1.1.30