cf831b344c
- Update to 4.9.3 * Fix buffer overflow/overread vulnerabilities: - CVE-2017-16808 (AoE) - CVE-2018-14468 (FrameRelay) - CVE-2018-14469 (IKEv1) - CVE-2018-14470 (BABEL) - CVE-2018-14466 (AFS/RX) - CVE-2018-14461 (LDP) - CVE-2018-14462 (ICMP) - CVE-2018-14465 (RSVP) - CVE-2018-14881 (BGP) - CVE-2018-14464 (LMP) - CVE-2018-14463 (VRRP) - CVE-2018-14467 (BGP) - CVE-2018-10103 (SMB - partially fixed, but SMB printing disabled) - CVE-2018-10105 (SMB - too unreliably reproduced, SMB printing disabled) - CVE-2018-14880 (OSPF6) - CVE-2018-16451 (SMB) - CVE-2018-14882 (RPL) - CVE-2018-16227 (802.11) - CVE-2018-16229 (DCCP) - CVE-2018-16301 (was fixed in libpcap) - CVE-2018-16230 (BGP) - CVE-2018-16452 (SMB) - CVE-2018-16300 (BGP) - CVE-2018-16228 (HNCP) - CVE-2019-15166 (LMP) - CVE-2019-15167 (VRRP) * Fix for cmdline argument/local issues: - CVE-2018-14879 (tcpdump -V) OBS-URL: https://build.opensuse.org/request/show/734759 OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpdump?expand=0&rev=49
72 lines
2.1 KiB
RPMSpec
72 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package tcpdump
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define min_libpcap_version 1.9.1
|
|
Name: tcpdump
|
|
Version: 4.9.3
|
|
Release: 0
|
|
Summary: A Packet Sniffer
|
|
License: BSD-3-Clause
|
|
Group: Productivity/Networking/Diagnostic
|
|
Url: https://www.tcpdump.org/
|
|
Source: https://www.tcpdump.org/release/%{name}-%{version}.tar.gz
|
|
Source1: tcpdump-qeth
|
|
Source2: https://www.tcpdump.org/release/%{name}-%{version}.tar.gz.sig
|
|
Source3: https://www.tcpdump.org/tcpdump-workers.asc#/%{name}.keyring
|
|
# PATCH-FIX-OPENSUSE tcpdump-CVE-2018-19519.patch - Initialize buf in print-hncp.c:print_prefix
|
|
Patch0: tcpdump-CVE-2018-19519.patch
|
|
BuildRequires: libpcap-devel >= %{min_libpcap_version}
|
|
BuildRequires: libsmi-devel
|
|
BuildRequires: openssl-devel
|
|
Requires: libpcap >= %{min_libpcap_version}
|
|
|
|
%description
|
|
This program can "read" all or only certain packets going over the
|
|
ethernet. It can be used to debug specific network problems.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
export CFLAGS="%{optflags} -Wall -DGUESS_TSO -fstack-protector -fno-strict-aliasing"
|
|
%configure \
|
|
--enable-ipv6
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
%ifarch s390 s390x
|
|
install -D -m 755 %{SOURCE1} %{buildroot}%{_sbindir}
|
|
%endif
|
|
rm %{buildroot}/%{_sbindir}/tcpdump.%{version}
|
|
|
|
%check
|
|
make check %{?_smp_mflags}
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc CHANGES CREDITS README* *.awk
|
|
%{_mandir}/man?/*
|
|
%{_sbindir}/tcpdump
|
|
%ifarch s390 s390x
|
|
%{_sbindir}/tcpdump-qeth
|
|
%endif
|
|
|
|
%changelog
|