- update to 4.2.1

- Only build the Babel printer if IPv6 is enabled.
  - Support Babel on port 6696 as well as 6697.
  - Include ppi.h in release tarball.
  - Include all the test files in the release tarball, and don't
    "include" test files that no longer exist.
  - Don't assume we have <rpc/rpc.h> - check for it.
  - Support "-T carp" as a way of dissecting IP protocol 112 as CARP
    rather than VRRP.
  - Support Hilscher NetAnalyzer link-layer header format.
  - Constify some pointers and fix compiler warnings.
  - Get rid of never-true test.
  - Fix an unintended fall-through in a case statement in the ARP
    printer.
  - Fix several cases where sizeof(sizeof(XXX)) was used when just
    sizeof(XXX) was intended.
  - Make stricter sanity checks in the ES-IS printer.
  - Get rid of some GCCisms that caused builds to fail with compilers
    that don't support them.
  - Fix typo in man page.
  - Added length checks to Babel printer.
- drop tcpdump-4.2.0-ppi.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpdump?expand=0&rev=7
This commit is contained in:
2012-01-03 14:53:20 +00:00
committed by Git OBS Bridge
parent c866830ece
commit b858cd2211
6 changed files with 60 additions and 45 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package tcpdump
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 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
@@ -15,24 +15,19 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: tcpdump
Version: 4.2.0
Release: 1
AutoReqProv: on
License: BSD-3-Clause
Group: Productivity/Networking/Diagnostic
Version: 4.2.1
Release: 0
Url: http://www.tcpdump.org/
Summary: A Packet Sniffer
Source: tcpdump-%{version}.tar.gz
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
Patch3: tcpdump-4.0.0-uninitialized.patch
# PATCH-FIX-SUSE add missing ppi.h
Patch4: tcpdump-4.2.0-ppi.patch
BuildRequires: libpcap-devel
BuildRequires: libsmi-devel
BuildRequires: openssl-devel
@@ -48,7 +43,6 @@ ethernet. It can be used to debug specific network problems.
%patch0
%patch2
%patch3
%patch4 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS -Wall -DGUESS_TSO -fstack-protector -fno-strict-aliasing"