Accepting request 37043 from network:utilities
Copy from network:utilities/tcpdump based on submit request 37043 from user puzel OBS-URL: https://build.opensuse.org/request/show/37043 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcpdump?expand=0&rev=10
This commit is contained in:
parent
acd015bfce
commit
b8e1981a68
@ -1,319 +0,0 @@
|
|||||||
--- aclocal.m4
|
|
||||||
+++ aclocal.m4
|
|
||||||
@@ -42,7 +42,7 @@
|
|
||||||
dnl ac_cv_lbl_gcc_vers
|
|
||||||
dnl LBL_CFLAGS
|
|
||||||
dnl
|
|
||||||
-AC_DEFUN(AC_LBL_C_INIT,
|
|
||||||
+AC_DEFUN([AC_LBL_C_INIT],
|
|
||||||
[AC_PREREQ(2.12)
|
|
||||||
AC_BEFORE([$0], [AC_PROG_CC])
|
|
||||||
AC_BEFORE([$0], [AC_LBL_FIXINCLUDES])
|
|
||||||
@@ -167,7 +167,7 @@
|
|
||||||
# at least some versions of HP's C compiler can inline that, but can't
|
|
||||||
# inline a function that returns a struct pointer.
|
|
||||||
#
|
|
||||||
-AC_DEFUN(AC_LBL_C_INLINE,
|
|
||||||
+AC_DEFUN([AC_LBL_C_INLINE],
|
|
||||||
[AC_MSG_CHECKING(for inline)
|
|
||||||
AC_CACHE_VAL(ac_cv_lbl_inline, [
|
|
||||||
ac_cv_lbl_inline=""
|
|
||||||
@@ -220,7 +220,7 @@
|
|
||||||
dnl LIBS
|
|
||||||
dnl LBL_LIBS
|
|
||||||
dnl
|
|
||||||
-AC_DEFUN(AC_LBL_LIBPCAP,
|
|
||||||
+AC_DEFUN([AC_LBL_LIBPCAP],
|
|
||||||
[AC_REQUIRE([AC_LBL_LIBRARY_NET])
|
|
||||||
dnl
|
|
||||||
dnl save a copy before locating libpcap.a
|
|
||||||
@@ -375,7 +375,7 @@
|
|
||||||
dnl RETSIGTYPE (defined)
|
|
||||||
dnl RETSIGVAL (defined)
|
|
||||||
dnl
|
|
||||||
-AC_DEFUN(AC_LBL_TYPE_SIGNAL,
|
|
||||||
+AC_DEFUN([AC_LBL_TYPE_SIGNAL],
|
|
||||||
[AC_BEFORE([$0], [AC_LBL_LIBPCAP])
|
|
||||||
AC_TYPE_SIGNAL
|
|
||||||
if test "$ac_cv_type_signal" = void ; then
|
|
||||||
@@ -405,7 +405,7 @@
|
|
||||||
dnl
|
|
||||||
dnl AC_LBL_FIXINCLUDES
|
|
||||||
dnl
|
|
||||||
-AC_DEFUN(AC_LBL_FIXINCLUDES,
|
|
||||||
+AC_DEFUN([AC_LBL_FIXINCLUDES],
|
|
||||||
[if test "$GCC" = yes ; then
|
|
||||||
AC_MSG_CHECKING(for ANSI ioctl definitions)
|
|
||||||
AC_CACHE_VAL(ac_cv_lbl_gcc_fixincludes,
|
|
||||||
@@ -451,7 +451,7 @@
|
|
||||||
dnl $2 (yacc appended)
|
|
||||||
dnl $3 (optional flex and bison -P prefix)
|
|
||||||
dnl
|
|
||||||
-AC_DEFUN(AC_LBL_LEX_AND_YACC,
|
|
||||||
+AC_DEFUN([AC_LBL_LEX_AND_YACC],
|
|
||||||
[AC_ARG_WITH(flex, [ --without-flex don't use flex])
|
|
||||||
AC_ARG_WITH(bison, [ --without-bison don't use bison])
|
|
||||||
if test "$with_flex" = no ; then
|
|
||||||
@@ -504,7 +504,7 @@
|
|
||||||
dnl
|
|
||||||
dnl DECLWAITSTATUS (defined)
|
|
||||||
dnl
|
|
||||||
-AC_DEFUN(AC_LBL_UNION_WAIT,
|
|
||||||
+AC_DEFUN([AC_LBL_UNION_WAIT],
|
|
||||||
[AC_MSG_CHECKING(if union wait is used)
|
|
||||||
AC_CACHE_VAL(ac_cv_lbl_union_wait,
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
@@ -533,7 +533,7 @@
|
|
||||||
dnl
|
|
||||||
dnl HAVE_SOCKADDR_SA_LEN (defined)
|
|
||||||
dnl
|
|
||||||
-AC_DEFUN(AC_LBL_SOCKADDR_SA_LEN,
|
|
||||||
+AC_DEFUN([AC_LBL_SOCKADDR_SA_LEN],
|
|
||||||
[AC_MSG_CHECKING(if sockaddr struct has sa_len member)
|
|
||||||
AC_CACHE_VAL(ac_cv_lbl_sockaddr_has_sa_len,
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
@@ -558,7 +558,7 @@
|
|
||||||
dnl
|
|
||||||
dnl ac_cv_lbl_have_run_path (yes or no)
|
|
||||||
dnl
|
|
||||||
-AC_DEFUN(AC_LBL_HAVE_RUN_PATH,
|
|
||||||
+AC_DEFUN([AC_LBL_HAVE_RUN_PATH],
|
|
||||||
[AC_MSG_CHECKING(for ${CC-cc} -R)
|
|
||||||
AC_CACHE_VAL(ac_cv_lbl_have_run_path,
|
|
||||||
[echo 'main(){}' > conftest.c
|
|
||||||
@@ -627,7 +627,7 @@
|
|
||||||
dnl
|
|
||||||
dnl LBL_ALIGN (DEFINED)
|
|
||||||
dnl
|
|
||||||
-AC_DEFUN(AC_LBL_UNALIGNED_ACCESS,
|
|
||||||
+AC_DEFUN([AC_LBL_UNALIGNED_ACCESS],
|
|
||||||
[AC_MSG_CHECKING(if unaligned accesses fail)
|
|
||||||
AC_CACHE_VAL(ac_cv_lbl_unaligned_fail,
|
|
||||||
[case "$host_cpu" in
|
|
||||||
@@ -733,7 +733,7 @@
|
|
||||||
dnl HAVE_OS_PROTO_H (defined)
|
|
||||||
dnl os-proto.h (symlinked)
|
|
||||||
dnl
|
|
||||||
-AC_DEFUN(AC_LBL_DEVEL,
|
|
||||||
+AC_DEFUN([AC_LBL_DEVEL],
|
|
||||||
[rm -f os-proto.h
|
|
||||||
if test "${LBL_CFLAGS+set}" = set; then
|
|
||||||
$1="$$1 ${LBL_CFLAGS}"
|
|
||||||
@@ -790,7 +790,7 @@
|
|
||||||
dnl useful in the future.
|
|
||||||
dnl
|
|
||||||
|
|
||||||
-define(AC_LBL_CHECK_LIB,
|
|
||||||
+define([AC_LBL_CHECK_LIB],
|
|
||||||
[AC_MSG_CHECKING([for $2 in -l$1])
|
|
||||||
dnl Use a cache variable name containing the library, function
|
|
||||||
dnl name, and extra libraries to link with, because the test really is
|
|
||||||
@@ -802,16 +802,10 @@
|
|
||||||
[ac_save_LIBS="$LIBS"
|
|
||||||
LIBS="-l$1 $5 $LIBS"
|
|
||||||
AC_TRY_LINK(dnl
|
|
||||||
-ifelse([$2], [main], , dnl Avoid conflicting decl of main.
|
|
||||||
-[/* Override any gcc2 internal prototype to avoid an error. */
|
|
||||||
-]ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus
|
|
||||||
-extern "C"
|
|
||||||
-#endif
|
|
||||||
-])dnl
|
|
||||||
[/* We use char because int might match the return type of a gcc2
|
|
||||||
builtin and then its argument prototype would still apply. */
|
|
||||||
char $2();
|
|
||||||
-]),
|
|
||||||
+],
|
|
||||||
[$2()],
|
|
||||||
eval "ac_cv_lbl_lib_$ac_lib_var=yes",
|
|
||||||
eval "ac_cv_lbl_lib_$ac_lib_var=no")
|
|
||||||
@@ -869,7 +863,7 @@
|
|
||||||
dnl statically and happen to have a libresolv.a lying around (and no
|
|
||||||
dnl libnsl.a).
|
|
||||||
dnl
|
|
||||||
-AC_DEFUN(AC_LBL_LIBRARY_NET, [
|
|
||||||
+AC_DEFUN([AC_LBL_LIBRARY_NET], [
|
|
||||||
# Most operating systems have gethostbyname() in the default searched
|
|
||||||
# libraries (i.e. libc):
|
|
||||||
# Some OSes (eg. Solaris) place it in libnsl
|
|
||||||
@@ -916,7 +910,7 @@
|
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl Checks to see if AF_INET6 is defined
|
|
||||||
-AC_DEFUN(AC_CHECK_AF_INET6, [
|
|
||||||
+AC_DEFUN([AC_CHECK_AF_INET6], [
|
|
||||||
AC_MSG_CHECKING(for AF_INET6)
|
|
||||||
AC_CACHE_VAL($1,
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
@@ -934,7 +928,7 @@
|
|
||||||
dnl
|
|
||||||
dnl Checks to see if the sockaddr struct has the 4.4 BSD sa_len member
|
|
||||||
dnl borrowed from LBL libpcap
|
|
||||||
-AC_DEFUN(AC_CHECK_SA_LEN, [
|
|
||||||
+AC_DEFUN([AC_CHECK_SA_LEN], [
|
|
||||||
AC_MSG_CHECKING(if sockaddr struct has sa_len member)
|
|
||||||
AC_CACHE_VAL($1,
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
@@ -951,7 +945,7 @@
|
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl Checks for portable prototype declaration macro
|
|
||||||
-AC_DEFUN(AC_CHECK_PORTABLE_PROTO, [
|
|
||||||
+AC_DEFUN([AC_CHECK_PORTABLE_PROTO], [
|
|
||||||
AC_MSG_CHECKING(for __P)
|
|
||||||
AC_CACHE_VAL($1,
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
@@ -966,7 +960,7 @@
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl checks for u_intXX_t
|
|
||||||
-AC_DEFUN(AC_CHECK_BITTYPES, [
|
|
||||||
+AC_DEFUN([AC_CHECK_BITTYPES], [
|
|
||||||
$1=yes
|
|
||||||
dnl check for u_int8_t
|
|
||||||
AC_MSG_CHECKING(for u_int8_t)
|
|
||||||
@@ -1028,7 +1022,7 @@
|
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl Checks for addrinfo structure
|
|
||||||
-AC_DEFUN(AC_STRUCT_ADDRINFO, [
|
|
||||||
+AC_DEFUN([AC_STRUCT_ADDRINFO], [
|
|
||||||
AC_MSG_CHECKING(for addrinfo)
|
|
||||||
AC_CACHE_VAL($1,
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
@@ -1046,7 +1040,7 @@
|
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl Checks for NI_MAXSERV
|
|
||||||
-AC_DEFUN(AC_NI_MAXSERV, [
|
|
||||||
+AC_DEFUN([AC_NI_MAXSERV], [
|
|
||||||
AC_MSG_CHECKING(for NI_MAXSERV)
|
|
||||||
AC_CACHE_VAL($1,
|
|
||||||
AC_EGREP_CPP(yes, [#include <netdb.h>
|
|
||||||
@@ -1063,7 +1057,7 @@
|
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl Checks for NI_NAMEREQD
|
|
||||||
-AC_DEFUN(AC_NI_NAMEREQD, [
|
|
||||||
+AC_DEFUN([AC_NI_NAMEREQD], [
|
|
||||||
AC_MSG_CHECKING(for NI_NAMEREQD)
|
|
||||||
AC_CACHE_VAL($1,
|
|
||||||
AC_EGREP_CPP(yes, [#include <netdb.h>
|
|
||||||
@@ -1080,7 +1074,7 @@
|
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl Checks for sockaddr_storage structure
|
|
||||||
-AC_DEFUN(AC_STRUCT_SA_STORAGE, [
|
|
||||||
+AC_DEFUN([AC_STRUCT_SA_STORAGE], [
|
|
||||||
AC_MSG_CHECKING(for sockaddr_storage)
|
|
||||||
AC_CACHE_VAL($1,
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
@@ -1097,7 +1091,7 @@
|
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl Checks for macro of IP address size
|
|
||||||
-AC_DEFUN(AC_CHECK_ADDRSZ, [
|
|
||||||
+AC_DEFUN([AC_CHECK_ADDRSZ], [
|
|
||||||
$1=yes
|
|
||||||
dnl check for INADDRSZ
|
|
||||||
AC_MSG_CHECKING(for INADDRSZ)
|
|
||||||
@@ -1131,7 +1125,7 @@
|
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl check for RES_USE_INET6
|
|
||||||
-AC_DEFUN(AC_CHECK_RES_USE_INET6, [
|
|
||||||
+AC_DEFUN([AC_CHECK_RES_USE_INET6], [
|
|
||||||
AC_MSG_CHECKING(for RES_USE_INET6)
|
|
||||||
AC_CACHE_VAL($1,
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
@@ -1149,7 +1143,7 @@
|
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl check for AAAA
|
|
||||||
-AC_DEFUN(AC_CHECK_AAAA, [
|
|
||||||
+AC_DEFUN([AC_CHECK_AAAA], [
|
|
||||||
AC_MSG_CHECKING(for AAAA)
|
|
||||||
AC_CACHE_VAL($1,
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
@@ -1166,7 +1160,7 @@
|
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl check for struct res_state_ext
|
|
||||||
-AC_DEFUN(AC_STRUCT_RES_STATE_EXT, [
|
|
||||||
+AC_DEFUN([AC_STRUCT_RES_STATE_EXT], [
|
|
||||||
AC_MSG_CHECKING(for res_state_ext)
|
|
||||||
AC_CACHE_VAL($1,
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
@@ -1185,7 +1179,7 @@
|
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl check for struct res_state_ext
|
|
||||||
-AC_DEFUN(AC_STRUCT_RES_STATE, [
|
|
||||||
+AC_DEFUN([AC_STRUCT_RES_STATE], [
|
|
||||||
AC_MSG_CHECKING(for nsort in res_state)
|
|
||||||
AC_CACHE_VAL($1,
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
@@ -1204,7 +1198,7 @@
|
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl check for h_errno
|
|
||||||
-AC_DEFUN(AC_VAR_H_ERRNO, [
|
|
||||||
+AC_DEFUN([AC_VAR_H_ERRNO], [
|
|
||||||
AC_MSG_CHECKING(for h_errno)
|
|
||||||
AC_CACHE_VAL(ac_cv_var_h_errno,
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
@@ -1223,7 +1217,7 @@
|
|
||||||
dnl Test for __attribute__
|
|
||||||
dnl
|
|
||||||
|
|
||||||
-AC_DEFUN(AC_C___ATTRIBUTE__, [
|
|
||||||
+AC_DEFUN([AC_C___ATTRIBUTE__], [
|
|
||||||
AC_MSG_CHECKING(for __attribute__)
|
|
||||||
AC_CACHE_VAL(ac_cv___attribute__, [
|
|
||||||
AC_COMPILE_IFELSE(
|
|
||||||
--- configure.in
|
|
||||||
+++ configure.in
|
|
||||||
@@ -185,7 +185,7 @@
|
|
||||||
for i in inria kame linux-glibc linux-libinet6 toshiba v6d zeta; do
|
|
||||||
case $i in
|
|
||||||
inria)
|
|
||||||
- dnl http://www.kame.net/
|
|
||||||
+# http://www.kame.net/
|
|
||||||
AC_EGREP_CPP(yes,
|
|
||||||
[#include <netinet/in.h>
|
|
||||||
#ifdef IPV6_INRIA_VERSION
|
|
||||||
@@ -195,7 +195,7 @@
|
|
||||||
CFLAGS="-DINET6 $CFLAGS"])
|
|
||||||
;;
|
|
||||||
kame)
|
|
||||||
- dnl http://www.kame.net/
|
|
||||||
+# http://www.kame.net/
|
|
||||||
AC_EGREP_CPP(yes,
|
|
||||||
[#include <netinet/in.h>
|
|
||||||
#ifdef __KAME__
|
|
||||||
@@ -208,7 +208,7 @@
|
|
||||||
CFLAGS="-DINET6 $CFLAGS"])
|
|
||||||
;;
|
|
||||||
linux-glibc)
|
|
||||||
- dnl http://www.v6.linux.or.jp/
|
|
||||||
+# http://www.v6.linux.or.jp/
|
|
||||||
AC_EGREP_CPP(yes,
|
|
||||||
[#include <features.h>
|
|
||||||
#if defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
|
|
||||||
@@ -218,7 +218,7 @@
|
|
||||||
CFLAGS="-DINET6 $CFLAGS"])
|
|
||||||
;;
|
|
||||||
linux-libinet6)
|
|
||||||
- dnl http://www.v6.linux.or.jp/
|
|
||||||
+# http://www.v6.linux.or.jp/
|
|
||||||
dnl
|
|
||||||
dnl This also matches Solaris 8 and Tru64 UNIX 5.1,
|
|
||||||
dnl and possibly other versions of those OSes
|
|
||||||
@@ -518,7 +518,7 @@
|
|
||||||
AC_CHECK_FUNCS(vsnprintf snprintf,,
|
|
||||||
[needsnprintf=yes])
|
|
||||||
if test $needsnprintf = yes; then
|
|
||||||
- AC_LIBOBJ(snprintf)
|
|
||||||
+ AC_LIBOBJ([snprintf])
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_LBL_TYPE_SIGNAL
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b08a0ded42888514e8022f1fa2f5bf848d68c4c258b53ee978e173196aa7d819
|
|
||||||
size 577207
|
|
3
tcpdump-4.1.1.tar.bz2
Normal file
3
tcpdump-4.1.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:27b235df81d00809f5d87bf58d323be3cf3672e3ffa4ac6b39bebef2ee7ccc4a
|
||||||
|
size 1464158
|
@ -1,3 +1,38 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 6 09:13:45 UTC 2010 - puzel@novell.com
|
||||||
|
|
||||||
|
- update to tcpdump-4.1.1
|
||||||
|
* Don't blow up if a zero-length link-layer address is passed to
|
||||||
|
linkaddr_string()
|
||||||
|
* Fix printing of MAC addresses for VLAN frames with a length
|
||||||
|
field
|
||||||
|
* Add some additional bounds checks and use the EXTRACT_ macros
|
||||||
|
more
|
||||||
|
* Add a -b flag to print the AS number in BGP packets in ASDOT
|
||||||
|
notation rather than ASPLAIN notation
|
||||||
|
* Add ICMPv6 RFC 5006 support
|
||||||
|
* Decode the access flags in NFS access requests
|
||||||
|
* Handle the new DLT_ for memory-mapped USB captures on Linux
|
||||||
|
* Make the default snapshot (-s) the maximum
|
||||||
|
* Print name of device (when -L is used)
|
||||||
|
* Print new TCP flags
|
||||||
|
* Add support for RPL DIO
|
||||||
|
* Add support for TCP User Timeout (UTO)
|
||||||
|
* Add support for non-standard Ethertypes used by 3com PPPoE gear
|
||||||
|
* Add support for 802.11n and 802.11s
|
||||||
|
* Add support for Transparent Ethernet Bridge ethertype in GRE
|
||||||
|
* Add 4 byte AS support for BGP printer
|
||||||
|
* Add support for the MDT SAFI 66 BG printer
|
||||||
|
* Add basic IPv6 support to print-olsr
|
||||||
|
* Add USB printer
|
||||||
|
* Add printer for ForCES
|
||||||
|
* Handle frames with an FCS
|
||||||
|
* Handle 802.11n Control Wrapper, Block Acq Req and Block Ack frames
|
||||||
|
* Fix TCP sequence number printing
|
||||||
|
* Report 802.2 packets as 802.2 instead of 802.3
|
||||||
|
- drop tcpdump-4.0.0-autoconf.patch (not needed with new autoconf)
|
||||||
|
- compile with -fno-strict-aliasing
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 14 16:48:42 CET 2009 - prusnak@suse.cz
|
Wed Jan 14 16:48:42 CET 2009 - prusnak@suse.cz
|
||||||
|
|
||||||
|
233
tcpdump.spec
233
tcpdump.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package tcpdump (Version 4.0.0)
|
# spec file for package tcpdump (Version 4.1.1)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,20 +19,21 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: tcpdump
|
Name: tcpdump
|
||||||
BuildRequires: libpcap-devel libsmi-devel openssl-devel
|
Version: 4.1.1
|
||||||
Version: 4.0.0
|
|
||||||
Release: 1
|
Release: 1
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
License: BSD 3-Clause
|
License: BSD3c
|
||||||
Group: Productivity/Networking/Diagnostic
|
Group: Productivity/Networking/Diagnostic
|
||||||
Url: http://www.tcpdump.org/
|
Url: http://www.tcpdump.org/
|
||||||
Summary: A Packet Sniffer
|
Summary: A Packet Sniffer
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: tcpdump-%{version}.tar.bz2
|
||||||
Source1: %{name}-qeth
|
Source1: tcpdump-qeth
|
||||||
Patch0: %{name}-%{version}-prototypes.patch
|
Patch0: tcpdump-4.0.0-prototypes.patch
|
||||||
Patch1: %{name}-%{version}-autoconf.patch
|
Patch2: tcpdump-4.0.0-aliasing.patch
|
||||||
Patch2: %{name}-%{version}-aliasing.patch
|
Patch3: tcpdump-4.0.0-uninitialized.patch
|
||||||
Patch3: %{name}-%{version}-uninitialized.patch
|
BuildRequires: libpcap-devel
|
||||||
|
BuildRequires: libsmi-devel
|
||||||
|
BuildRequires: openssl-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -40,16 +41,14 @@ This program can "read" all or only certain packets going over the
|
|||||||
ethernet. It can be used to debug specific network problems.
|
ethernet. It can be used to debug specific network problems.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
%patch0
|
||||||
%patch1
|
|
||||||
%patch2
|
%patch2
|
||||||
%patch3
|
%patch3
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -Wall -DGUESS_TSO -fstack-protector"
|
export CFLAGS="$RPM_OPT_FLAGS -Wall -DGUESS_TSO -fstack-protector -fno-strict-aliasing"
|
||||||
%configure \
|
%configure \
|
||||||
--enable-ipv6
|
--enable-ipv6
|
||||||
make
|
make
|
||||||
@ -70,209 +69,3 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jan 14 2009 prusnak@suse.cz
|
|
||||||
- updated to 4.0.0
|
|
||||||
* Add support for Bluetooth Sniffing
|
|
||||||
* Add support for Realtek Remote Control Protocol (openrrcp.org.ru)
|
|
||||||
* Add support for 802.11 AVS
|
|
||||||
* Add support for SMB over TCP
|
|
||||||
* Add support for 4 byte BGP AS printing
|
|
||||||
* Add support for compiling on case-insensitive file systems
|
|
||||||
* Add support for ikev2 printing
|
|
||||||
* Update support for decoding AFS
|
|
||||||
* Update DHCPv6 printer
|
|
||||||
* Use newer libpcap API's (allows -B option on all platforms)
|
|
||||||
* Add -I to turn on monitor mode
|
|
||||||
* Bugfixes in lldp, lspping, dccp, ESP, NFS printers
|
|
||||||
* Cleanup unused files and various cruft
|
|
||||||
- dropped obsoleted juniper.patch (included in update)
|
|
||||||
* Tue Jan 08 2008 prusnak@suse.cz
|
|
||||||
- updated to 3.9.8
|
|
||||||
* Rework ARP printer
|
|
||||||
* Rework OSPFv3 printer
|
|
||||||
* Add support for Frame-Relay ARP
|
|
||||||
* Decode DHCP Option 121 (RFC 3442 Classless Static Route)
|
|
||||||
* Decode DHCP Option 249 (MS Classless Static Route) the same as Option 121
|
|
||||||
* TLV: Add support for Juniper .pcap extensions
|
|
||||||
* Print EGP header in new-world-order style
|
|
||||||
* Converted print-isakmp.c to NETDISSECT
|
|
||||||
* Moved AF specific stuff into af.h
|
|
||||||
* Test subsystem now table driven, and saves outputs and diffs to one place
|
|
||||||
* Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted
|
|
||||||
libpcap files on an OS other than where the file was generated
|
|
||||||
* Thu Jul 26 2007 prusnak@suse.cz
|
|
||||||
- updated to 3.9.7
|
|
||||||
* NFS: Print unsigned values as such
|
|
||||||
* RX: parse safely
|
|
||||||
* BGP: fixes for IPv6-less builds
|
|
||||||
* 801.1ag: use standard codepoint
|
|
||||||
* use /dev/bpf on systems with such a device
|
|
||||||
* 802.11: print QoS data, avoid dissect of no-data frame, ignore padding
|
|
||||||
* smb: make sure that we haven't gone past the end of the captured data
|
|
||||||
* smb: squelch an uninitialized complaint from coverity
|
|
||||||
* NFS: from NetBSD; don't interpret the reply as a possible NFS reply if it got MSG_DENIED
|
|
||||||
* BGP: don't print TLV values that didn't fit, from www.digit-labs.org
|
|
||||||
* revised INSTALL.txt about libpcap dependancy
|
|
||||||
- dropped obsolete patch:
|
|
||||||
* bgp-overflow.diff (fixed in update)
|
|
||||||
* 802_11-overflow.diff (included in update)
|
|
||||||
- changed libpcap to libpcap-devel in BuildRequires
|
|
||||||
* Thu Jul 12 2007 prusnak@suse.cz
|
|
||||||
- update to 3.9.6
|
|
||||||
* added support for:
|
|
||||||
- OIF RSVP Extensions UNI 1.0 Rev. 2 and additional RSVP objects
|
|
||||||
- Message-id NACK c-type
|
|
||||||
- 802.3ah loopback ctrl msg
|
|
||||||
- Multiple-STP as per 802.1s
|
|
||||||
- rapid-SPT as per 802.1w
|
|
||||||
- CFM Link-trace msg, Link-trace-Reply msg,
|
|
||||||
- unidirectional link detection
|
|
||||||
- the olsr protocol as per RFC 3626 plus the LQ extensions from olsr.org
|
|
||||||
- variable-length checksum in DCCP, as per section 9 of RFC 4340
|
|
||||||
- per-VLAN spanning tree and per-VLAN rapid spanning tree
|
|
||||||
- Multiple-STP as per 802.1s
|
|
||||||
- the cisco propriatry 'dynamic trunking protocol'
|
|
||||||
- the cisco proprietary VTP protocol
|
|
||||||
- additional values in pflog
|
|
||||||
* changes to both TCP and IP Printer Output
|
|
||||||
* fixed a potential buffer overflow in the 802.11 printer
|
|
||||||
* print basic info about a few more Cisco LAN protocols
|
|
||||||
* mDNS cleanup
|
|
||||||
* ICMP MPLS rework of the extension code
|
|
||||||
* use the correct codepoint for the OSPF simple text auth token entry
|
|
||||||
* use safeputs to print the password
|
|
||||||
* update dhcp6 options table as per IETF standardization activities
|
|
||||||
- fixed overflow in bgp (bgp-overflow.patch) [#291356]
|
|
||||||
* Fri Mar 02 2007 prusnak@suse.cz
|
|
||||||
- fixed one byte overflow (802_11-overflow.diff) [#250163]
|
|
||||||
* Wed Jan 03 2007 prusnak@suse.cz
|
|
||||||
- update to 3.9.5
|
|
||||||
* Fixes for 64bit compiling
|
|
||||||
* Updated list of DNS RR typecodes
|
|
||||||
* Add basic support for keyed authentication TCP option
|
|
||||||
* Fix printing for 4.4BSD/NetBSD NFS Filehandles
|
|
||||||
* Add support for:
|
|
||||||
- Frame-Relay ARP
|
|
||||||
- parsing Juniper .pcap files
|
|
||||||
- FRF.16 Multilink Frame-Relay (DLT_MFR)
|
|
||||||
- PIMv2 checksum verification
|
|
||||||
- further dissection of the IPCP Compression Option
|
|
||||||
- Cisco's proposed VQP protocol
|
|
||||||
- Cisco style NLPID encapsulation
|
|
||||||
- PPP over Frame-Relay
|
|
||||||
- Address-Withdraw and Label-Withdraw Msgs
|
|
||||||
- BFD Discriminator TLV
|
|
||||||
- BGP signaled VPLS
|
|
||||||
* Wed Jan 25 2006 mls@suse.de
|
|
||||||
- converted neededforbuild to BuildRequires
|
|
||||||
* Thu Jan 12 2006 mjancar@suse.cz
|
|
||||||
- compile with -fstack-protector
|
|
||||||
* Mon Jan 09 2006 mjancar@suse.cz
|
|
||||||
- update to 3.9.4
|
|
||||||
- drop obsolete patches
|
|
||||||
* tcpdump-3.9.4-overflow.diff
|
|
||||||
* Thu Sep 01 2005 mjancar@suse.cz
|
|
||||||
- enable support for TSO packets (#114159)
|
|
||||||
* Fri Aug 05 2005 cthiel@suse.de
|
|
||||||
- fixed buffer overflow in addrtoname.c:499
|
|
||||||
* Tue Aug 02 2005 mjancar@suse.cz
|
|
||||||
- update to 3.9.3
|
|
||||||
* Thu Aug 05 2004 postadal@suse.cz
|
|
||||||
- updated to version 3.8.3
|
|
||||||
- removed obsoleted patches (isakmp-fix2, isakmp-fix3, radius-fix)
|
|
||||||
* Mon Mar 29 2004 postadal@suse.cz
|
|
||||||
- fixed overflow in ISAKMP (CAN-2004-0183) [#36828]
|
|
||||||
* Fri Feb 06 2004 ro@suse.de
|
|
||||||
- fix configure.in (test for pcap_debug was broken)
|
|
||||||
* Tue Jan 20 2004 postadal@suse.cz
|
|
||||||
- updated to version 3.8.1
|
|
||||||
* fixed security bug in L2TP (CAN-2003-1029)
|
|
||||||
- removed obsoleted patches (isakmp-buffer-overflow-fix, compile)
|
|
||||||
- fixed security bugs in these parsers: RADIUS (CAN-2004-0055),
|
|
||||||
ISAKMP (CAN-2004-0057) [#33763]
|
|
||||||
* Sat Jan 10 2004 adrian@suse.de
|
|
||||||
- build as user
|
|
||||||
* Tue Jan 06 2004 postadal@suse.cz
|
|
||||||
- fixed two remotely exploitable buffer overflows in the ISAKMP parser
|
|
||||||
[#33763] (CAN-2003-0989)
|
|
||||||
* Thu Jul 24 2003 postadal@suse.cz
|
|
||||||
- updated to version 3.7.2
|
|
||||||
- removed obsoleted patches (tcpdump-nfs-fix, tcpdump-isakmp, tcpdump-bgp)
|
|
||||||
* Wed May 07 2003 ro@suse.de
|
|
||||||
- make it compile with current glibc headers
|
|
||||||
(move include of netinet/in.h further up)
|
|
||||||
* Wed Mar 05 2003 postadal@suse.cz
|
|
||||||
- fixed security bugs in parsing ISAKMP, BGP and NFS
|
|
||||||
* Tue Oct 01 2002 froh@suse.de
|
|
||||||
- s390/s390x: dumping of qeth interfaces needs some filtering, which
|
|
||||||
is accomplished by the new 'tcpdump-qeth' (#15626, #22085)
|
|
||||||
* Mon May 20 2002 postadal@suse.de
|
|
||||||
- fixed bug in displaying NFS traffic
|
|
||||||
- updated to version 3.7.1
|
|
||||||
* support more protocols
|
|
||||||
* better Linux libc5 compat
|
|
||||||
* Wed Apr 03 2002 postadal@suse.cz
|
|
||||||
- fixed to compile with autoconf-2.53
|
|
||||||
* Mon Jun 18 2001 cihlar@suse.cz
|
|
||||||
- updated to version 3.6.2
|
|
||||||
- removed obsolete patches
|
|
||||||
- compile against package libpcap
|
|
||||||
* Tue Feb 06 2001 ro@suse.de
|
|
||||||
- tcpclice.c: include time.h
|
|
||||||
- smbutil.c: include time.h
|
|
||||||
* Fri Jan 19 2001 bk@suse.de
|
|
||||||
- Turn off PACKET_RX_RING too. It is not available in lx_sus22 and
|
|
||||||
not enabled in our 2.4 kernel configs and causes a warning on
|
|
||||||
every start and possible trouble. See bug #5178
|
|
||||||
* Thu Jan 11 2001 ak@suse.de
|
|
||||||
- Turn off PACKET_TRECV. It's not enabled in our kernel and causes some
|
|
||||||
problems.
|
|
||||||
* Fri Nov 24 2000 ak@suse.de
|
|
||||||
- Add mb() for ppc
|
|
||||||
* Tue Nov 14 2000 ro@suse.de
|
|
||||||
- groups sorted
|
|
||||||
* Tue Nov 14 2000 ak@suse.de
|
|
||||||
- add some protocols to make it build on 6.1 again
|
|
||||||
* Mon Nov 13 2000 ak@suse.de
|
|
||||||
- add membar fix for sparc
|
|
||||||
* Sat Nov 11 2000 ak@suse.de
|
|
||||||
- fix some buffer overflows.
|
|
||||||
* Thu May 18 2000 schwab@suse.de
|
|
||||||
- Fix missing declaration.
|
|
||||||
- Fix broken includes.
|
|
||||||
- Get rid of Makefile.Linux and clean up spec file.
|
|
||||||
- Update config.{sub,guess}.
|
|
||||||
* Thu May 11 2000 ak@suse.de
|
|
||||||
- add security fix for endless dns looping. From Guy Harris.
|
|
||||||
* Thu Mar 02 2000 ak@suse.de
|
|
||||||
- move man pages to /usr/share/man
|
|
||||||
* Wed Dec 22 1999 ak@suse.de
|
|
||||||
- fix promiscuous mode bug
|
|
||||||
* Fri Dec 03 1999 bk@suse.de
|
|
||||||
- disabled NO_SMP_DEBUG changes by ank(did not compile on sparc)
|
|
||||||
* Sat Nov 06 1999 bk@suse.de
|
|
||||||
- Integrated changes from ak:
|
|
||||||
strip tcpdump and a fix a -p crash bug (pcap-maddr-fix)
|
|
||||||
* Wed Oct 27 1999 bk@suse.de
|
|
||||||
- Andi Kleen added patches from Alexey Kuznetsov. Features e.g.:
|
|
||||||
- device independent libpcap, Kernel support for new link-layers, e.g. ISDN
|
|
||||||
(libpcap uses PF_PACKET,SOCK_DGRAM instead of PF_INET,SOCK_PACKET)
|
|
||||||
- IPv6 and APM support, SMB updates
|
|
||||||
- libpcap support for "In Kernel Packet Filtering" (CONFIG_FILTER)
|
|
||||||
- made a libpcapn subpackage which holds the new libpcap for developers.
|
|
||||||
- Added fix to reestablish old output format of tcpdump from Andi Kleen.
|
|
||||||
* Mon Sep 13 1999 bs@suse.de
|
|
||||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
|
||||||
* Tue Sep 29 1998 ro@suse.de
|
|
||||||
- print_i4l : include net/ethernet.h instead of netinet/if_ether.h for glibc
|
|
||||||
* Mon Mar 02 1998 florian@suse.de
|
|
||||||
- update to version 3.4a6
|
|
||||||
* Mon Jul 07 1997 florian@suse.de
|
|
||||||
- update to version 3.4a5
|
|
||||||
- added isdn-patches
|
|
||||||
- update to version 3.4a3
|
|
||||||
* Sun Apr 13 1997 florian@suse.de
|
|
||||||
- update to new version 3.3.1a2 with automatic detection of packet types
|
|
||||||
* Thu Jan 02 1997 florian@suse.de
|
|
||||||
- added the changes distributed with samba
|
|
||||||
- added isdn patches
|
|
||||||
|
Loading…
Reference in New Issue
Block a user