Andreas Stieger
5fd1eb44e5
- update to 4.4.0 - RPKI-RTR (RFC6810) is now official (TCP Port 323) - Fix detection of OpenSSL libcrypto. - Add DNSSL (RFC6106) support. - Add "radius" as an option for -T. - Update Action codes for handle_action function according to 802.11s amendment. - Decode DHCPv6 AFTR-Name option (RFC6334). - Updates for Babel. - Fix printing of infinite lifetime in ICMPv6. - Added support for SPB, SPBM Service Identifier, and Unicast Address sub-TLV in ISIS. - Decode RIPv2 authentication up to RFC4822. - Fix RIP Request/full table decoding issues. - On Linux systems with cap-ng.h, drop root privileges using Linux Capabilities. - Add support for reading multiple files. OBS-URL: https://build.opensuse.org/request/show/198498 OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpdump?expand=0&rev=14
67 lines
1.8 KiB
RPMSpec
67 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package tcpdump
|
|
#
|
|
# Copyright (c) 2013 SUSE LINUX Products 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: tcpdump
|
|
Version: 4.4.0
|
|
Release: 0
|
|
Url: http://www.tcpdump.org/
|
|
Summary: A Packet Sniffer
|
|
License: BSD-3-Clause
|
|
Group: Productivity/Networking/Diagnostic
|
|
Source: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
|
|
Source1: tcpdump-qeth
|
|
Patch0: tcpdump-4.0.0-prototypes.patch
|
|
Patch2: tcpdump-4.0.0-aliasing.patch
|
|
BuildRequires: libpcap-devel
|
|
BuildRequires: libsmi-devel
|
|
BuildRequires: openssl-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%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
|
|
%patch2
|
|
|
|
%build
|
|
export CFLAGS="$RPM_OPT_FLAGS -Wall -DGUESS_TSO -fstack-protector -fno-strict-aliasing"
|
|
%configure \
|
|
--enable-ipv6
|
|
make
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
%ifarch s390 s390x
|
|
install -D -m 755 $RPM_SOURCE_DIR/tcpdump-qeth $RPM_BUILD_ROOT%{_sbindir}
|
|
%endif
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc CHANGES CREDITS LICENSE README *.awk
|
|
%doc %{_mandir}/man?/*
|
|
%{_sbindir}/*
|
|
|
|
%changelog
|