/[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 1132600 - (show annotations) (download)
Sat Jul 29 21:25:33 2017 UTC (6 years, 8 months ago) by luigiwalser
Original Path: cauldron/tcpdump/current/SPECS/tcpdump.spec
File size: 1087 byte(s)
4.9.1
1 Summary: A network traffic monitoring tool
2 Name: tcpdump
3 Version: 4.9.1
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 BuildRequires: pcap-devel >= 1.2.0
11 BuildRequires: openssl-devel
12 BuildRequires: libsmi-devel
13
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 %setup -q
24
25 %build
26 autoreconf
27 %serverbuild
28 export CFLAGS="%{optflags} -I. -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.md CHANGES CREDITS LICENSE
42 %{_sbindir}/%{name}
43 %{_mandir}/man1/tcpdump.1*

  ViewVC Help
Powered by ViewVC 1.1.30