/[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 818730 - (show annotations) (download)
Tue Mar 17 21:18:23 2015 UTC (9 years, 1 month ago) by luigiwalser
Original Path: cauldron/tcpdump/current/SPECS/tcpdump.spec
File size: 1794 byte(s)
add patches from debian to fix CVE-2015-0261 and CVE-2015-215[3-5]
1 Summary: A network traffic monitoring tool
2 Name: tcpdump
3 Version: 4.6.2
4 Release: %mkrel 6
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 Patch9: 0009-Do-more-bounds-checking-and-length-checking.patch
12 Patch10: 0010-Do-bounds-checking-and-length-checking.patch
13 Patch11: 0011-Add-initial-bounds-check-get-rid-of-union-aodv.patch
14 Patch12: 0012-Clean-up-error-message-printing.patch
15 Patch13: 0013-Further-cleanups.patch
16 Patch14: 0014-Not-using-offsetof-any-more-so-no-need-for-stddef.h.patch
17 Patch15: 0015-Report-a-too-long-unreachable-destination-list.patch
18 Patch16: tcpdump-4.6.2-CVE-2014-9140.patch
19 Patch17: tcpdump-4.6.2-CVE-2015-0261.patch
20 Patch18: tcpdump-4.6.2-CVE-2015-2153.patch
21 Patch19: tcpdump-4.6.2-CVE-2015-2154.patch
22 Patch20: tcpdump-4.6.2-CVE-2015-2155.patch
23 BuildRequires: pcap-devel >= 1.2.0
24 BuildRequires: openssl-devel
25 BuildRequires: libsmi-devel
26
27 %description
28 Tcpdump is a command-line tool for monitoring network traffic. Tcpdump can
29 capture and display the packet headers on a particular network interface or on
30 all interfaces. Tcpdump can display all of the packet headers, or just the
31 ones that match particular criteria.
32
33 Install tcpdump if you need a program to monitor network traffic.
34
35 %prep
36 %setup -q
37 %apply_patches
38
39 %build
40 %serverbuild
41 export CFLAGS="%{optflags} -I. -DIP_MAX_MEMBERSHIPS=20"
42 %configure2_5x \
43 --enable-ipv6
44
45 %make
46
47 %install
48 %makeinstall_std
49 # (misc) remove the binary, has this only pollutes completion
50 # and take useless space in the rpm
51 rm -f %{buildroot}/%{_sbindir}/%{name}.%{version}
52
53 %files
54 %doc README.md CHANGES CREDITS LICENSE
55 %{_sbindir}/%{name}
56 %{_mandir}/man1/tcpdump.1*

  ViewVC Help
Powered by ViewVC 1.1.30