/[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 1345063 - (show annotations) (download)
Wed Dec 26 04:06:09 2018 UTC (5 years, 3 months ago) by daviddavid
Original Path: cauldron/tcpdump/current/SPECS/tcpdump.spec
File size: 1151 byte(s)
- add patch to fix CVE-2018-19519 (mga#24077)

1 Summary: A network traffic monitoring tool
2 Name: tcpdump
3 Epoch: 2
4 Version: 4.9.2
5 Release: %mkrel 3
6 Group: Monitoring
7 License: BSD
8 URL: http://www.tcpdump.org/
9 Source0: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
10 Patch0: tcpdump-CVE-2018-19519.patch
11 BuildRequires: pkgconfig(libpcap)
12 BuildRequires: pkgconfig(openssl)
13 BuildRequires: pkgconfig(libsmi)
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
25 %autopatch -p1
26
27 %build
28 autoreconf
29 %serverbuild
30 export CFLAGS="%{optflags} -I. -DIP_MAX_MEMBERSHIPS=20"
31 %configure2_5x \
32 --enable-ipv6
33
34 %make_build
35
36 %install
37 %make_install
38 # (misc) remove the binary, has this only pollutes completion
39 # and take useless space in the rpm
40 rm -f %{buildroot}%{_sbindir}/%{name}.%{version}
41
42 %files
43 %doc README.md CHANGES CREDITS LICENSE
44 %{_sbindir}/%{name}
45 %{_mandir}/man1/tcpdump.1*

  ViewVC Help
Powered by ViewVC 1.1.30