Ticket #4401: tcpdump-3.9.3.diff

File tcpdump-3.9.3.diff, 1.9 KB (added by mark@…, 19 years ago)

tcpdump 3.9.3 update patch

  • Portfile

    diff -ruN tcpdump-old/Portfile tcpdump/Portfile
    old new  
    22
    33PortSystem 1.0
    44name             tcpdump
    5 version          3.8.3
     5version          3.9.3
    66categories       net
    77maintainers      toby@opendarwin.org
    88description      dump traffic on a network
     
    1212homepage         http://www.tcpdump.org/
    1313platforms        darwin
    1414master_sites     ${homepage}release/
    15 checksums        md5 30645001f4b97019677cad88d3811904
    16 patchfiles       patch-Makefile.in patch-tcpdump.c
     15checksums        md5 26c2f6405d6a94f1160a83109b2f71dd
     16patchfiles       patch-Makefile.in
    1717configure.args   --mandir=${prefix}/share/man \
    1818                 --disable-ipv6 --disable-smb
    1919
  • files/patch-Makefile.in

    diff -ruN tcpdump-old/files/patch-Makefile.in tcpdump/files/patch-Makefile.in
    old new  
    1 --- Makefile.in.orig    Wed Apr  7 03:52:49 2004
    2 +++ Makefile.in Wed Apr  7 03:53:13 2004
    3 @@ -153,7 +153,7 @@
     1--- Makefile.in.orig    2005-08-11 17:12:54.000000000 -0700
     2+++ Makefile.in 2005-08-11 17:14:02.000000000 -0700
     3@@ -156,7 +156,7 @@ version.c: $(srcdir)/VERSION
    44        @rm -f $@
    55        sed -e 's/.*/char version[] = "&";/' $(srcdir)/VERSION > $@
    66 
  • files/patch-tcpdump.c

    diff -ruN tcpdump-old/files/patch-tcpdump.c tcpdump/files/patch-tcpdump.c
    old new  
    1 --- tcpdump.c.orig      Wed Apr  7 03:47:10 2004
    2 +++ tcpdump.c   Wed Apr  7 03:47:27 2004
    3 @@ -290,6 +290,12 @@
    4  #endif /* WIN32 */
    5  
    6  #ifdef HAVE_PCAP_FINDALLDEVS
    7 +#ifndef HAVE_PCAP_IF_T
    8 +#undef HAVE_PCAP_FINDALLDEVS
    9 +#endif
    10 +#endif
    11 +
    12 +#ifdef HAVE_PCAP_FINDALLDEVS
    13  #define D_FLAG "D"
    14  #else
    15  #define D_FLAG