2007-01-04 17:28:36 +01:00
|
|
|
#
|
Accepting request 94135 from network:utilities
- update to 4.2.0
* patch that adds missing ppi.h
* Summary for 4.2.0
- merged 802.15.4 decoder from Dmitry Eremin-Solenikov <dbaryshkov
at gmail dot com>
- updates to forces for new port numbers
- Use "-H", not "-h", for the 802.11s option. (-h always help)
- Better ICMPv6 checksum handling.
- add support for the RPKI/Router Protocol, per -ietf-sidr-rpki-rtr-12
- get rid of uuencoded pcap test files, git can do binary.
- sFlow changes for 64-bit counters.
- fixes for PPI packet header handling and printing.
- Add DCB Exchange protocol (DCBX) version 1.01.
- Babel dissector, from Juliusz Chroboczek and Grégoire Henry.
- improvements to radiotap for rate values > 127.
- Many improvements to ForCES decode, including fix SCTP TML port
- updated RPL type code to RPL-17 draft
- Improve printout of DHCPv6 options.
- added support and test case for QinQ (802.1q VLAN) packets
- Handle DLT_IEEE802_15_4_NOFCS like DLT_IEEE802_15_4.
- Build fixes for Sparc and other machines with alignment restrictions.
- Merged changes from Debian package.
- PGM: Add ACK decoding and add PGMCC DATA and FEEDBACK options.
- Build fixes for OSX (Snow Leopard and others)
- Add support for IEEE 802.15.4 packets
* Summary for 4.1.2 tcpdump release
- If -U is specified, flush the file after creating it, so it's
not zero-length
- Fix TCP flags output description, and some typoes, in the man
page (forwarded request 94001 from vitezslav_cizek)
OBS-URL: https://build.opensuse.org/request/show/94135
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcpdump?expand=0&rev=15
2011-11-29 12:52:36 +01:00
|
|
|
# spec file for package tcpdump
|
2007-01-04 17:28:36 +01:00
|
|
|
#
|
2014-08-15 21:55:11 +02:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-04 17:28:36 +01:00
|
|
|
#
|
2009-01-19 02:20:11 +01:00
|
|
|
# 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.
|
|
|
|
|
2007-01-04 17:28:36 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2009-01-19 02:20:11 +01:00
|
|
|
|
2014-08-15 21:55:11 +02:00
|
|
|
# from http://upstream-tracker.org/versions/libpcap.html
|
|
|
|
# for pcap_set_tstamp_precision()
|
|
|
|
%define min_libpcap_version 1.5.1
|
2007-01-04 17:28:36 +01:00
|
|
|
Name: tcpdump
|
2014-09-03 20:48:37 +02:00
|
|
|
Version: 4.6.2
|
2012-01-03 15:53:20 +01:00
|
|
|
Release: 0
|
2007-01-04 17:28:36 +01:00
|
|
|
Summary: A Packet Sniffer
|
2012-01-03 15:53:20 +01:00
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Productivity/Networking/Diagnostic
|
2014-08-15 21:55:11 +02:00
|
|
|
Url: http://www.tcpdump.org/
|
2012-01-03 15:53:20 +01:00
|
|
|
Source: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
|
2010-04-06 22:48:57 +02:00
|
|
|
Source1: tcpdump-qeth
|
2013-09-13 22:38:01 +02:00
|
|
|
Source2: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz.sig
|
|
|
|
Source3: http://www.tcpdump.org/tcpdump-workers.asc#/%{name}.keyring
|
2014-08-15 21:55:11 +02:00
|
|
|
BuildRequires: libpcap-devel >= %{min_libpcap_version}
|
2010-04-06 22:48:57 +02:00
|
|
|
BuildRequires: libsmi-devel
|
|
|
|
BuildRequires: openssl-devel
|
2014-08-15 21:55:11 +02:00
|
|
|
Requires: libpcap >= %{min_libpcap_version}
|
2007-01-04 17:28:36 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
%build
|
2014-08-15 21:55:11 +02:00
|
|
|
export CFLAGS="%{optflags} -Wall -DGUESS_TSO -fstack-protector -fno-strict-aliasing"
|
2007-03-03 14:37:07 +01:00
|
|
|
%configure \
|
2009-01-19 02:20:11 +01:00
|
|
|
--enable-ipv6
|
2014-08-15 21:55:11 +02:00
|
|
|
make %{?_smp_mflags}
|
2007-01-04 17:28:36 +01:00
|
|
|
|
|
|
|
%install
|
2014-08-15 21:55:11 +02:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
2007-01-04 17:28:36 +01:00
|
|
|
%ifarch s390 s390x
|
2014-08-15 21:55:11 +02:00
|
|
|
install -D -m 755 ${SOURCE1} %{buildroot}%{_sbindir}
|
2007-01-04 17:28:36 +01:00
|
|
|
%endif
|
2014-08-15 21:55:11 +02:00
|
|
|
rm %{buildroot}/%{_sbindir}/tcpdump.%{version}
|
2007-01-04 17:28:36 +01:00
|
|
|
|
2014-08-15 21:55:11 +02:00
|
|
|
%check
|
|
|
|
make check %{?_smp_mflags}
|
2007-01-04 17:28:36 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2013-12-14 12:20:50 +01:00
|
|
|
%doc CHANGES CREDITS LICENSE README* *.awk
|
2007-01-04 17:28:36 +01:00
|
|
|
%doc %{_mandir}/man?/*
|
2014-08-15 21:55:11 +02:00
|
|
|
%{_sbindir}/tcpdump
|
2007-01-04 17:28:36 +01:00
|
|
|
|
2007-03-03 14:37:07 +01:00
|
|
|
%changelog
|