pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net Add new "wireshark" package.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/57733e1b90e9
branches:  trunk
changeset: 516462:57733e1b90e9
user:      tron <tron%pkgsrc.org@localhost>
date:      Fri Jul 21 14:27:53 2006 +0000

description:
Add new "wireshark" package.
Wireshark is a network protocol analyzer and the successor of "ethereal".

Changes since "ethereal" version 0.99.0:
- The GSM BSSMAP dissector could crash. Versions affected:
  0.10.11.
- The ANSI MAP dissector was vulnerable to a format string
  overflow. Versions affected: 0.10.0.
- The Checkpoint FW-1 dissector was vulnerable to a format
  string overflow. Versions affected: 0.10.10.
- The MQ dissector was vulnerable to a format string overflow.
  Versions affected: 0.10.4.
- The XML dissector was vulnerable to a format string overflow.
  Versions affected: 0.10.13.
- The MOUNT dissector could attempt to allocate large amounts of
  memory. Versions affected: 0.9.4.
- The NCP NMAS and NDPS dissectors were susceptible to
  off-by-one errors. Versions affected: 0.9.7.
- The NTP dissector was vulnerable to a format string overflow.
  Versions affected: 0.10.13.
- The SSH dissector was vulnerable to an infinite loop. Versions
  affected: 0.9.10.
- The NFS dissector may have been susceptible to a buffer
  overflow. Versions affected: 0.8.16.
- The "Follow TCP Stream" dialog now wraps long lines.
- Problems with ring buffers under 0.99.0 have been fixed.
- It was possible for Wireshark to crash when closing the
  capture information dialog. This has been fixed.
- It was possible for Wireshark to crash when using the "Find"
  feature. This has been fixed.
- Wireshark could crash if an interface was removed while
  viewing the interface list. This has been fixed.
- Multicast stream analysis (Statistics->Multicast Streams) has
  been added. It lets you determine burst size, output buffer
  size, and losses for multicast data.
- TCP reassembly has been updated and improved.
- Expert analysis has been updated and improved.
- SCSI service response time statistics have been added.
- You can now find next/previous marked frames.
- The LDAP and SNMP dissectors have been completely rewriten.
- The SMB dissector now tracks filenames and share names.

diffstat:

 net/Makefile                   |    3 +-
 net/ethereal/Makefile          |    4 +-
 net/wireshark/DESCR            |    6 +
 net/wireshark/Makefile         |   54 ++++++++++++++
 net/wireshark/PLIST            |  157 +++++++++++++++++++++++++++++++++++++++++
 net/wireshark/distinfo         |    7 +
 net/wireshark/patches/patch-aa |   13 +++
 net/wireshark/patches/patch-ab |  101 ++++++++++++++++++++++++++
 8 files changed, 343 insertions(+), 2 deletions(-)

diffs (truncated from 397 to 300 lines):

diff -r 8235a3852fc0 -r 57733e1b90e9 net/Makefile
--- a/net/Makefile      Fri Jul 21 14:21:28 2006 +0000
+++ b/net/Makefile      Fri Jul 21 14:27:53 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.627 2006/07/19 04:47:09 minskim Exp $
+# $NetBSD: Makefile,v 1.628 2006/07/21 14:27:53 tron Exp $
 #
 
 COMMENT=       Networking tools
@@ -487,6 +487,7 @@
 SUBDIR+=       xorp
 SUBDIR+=       xrmftp
 SUBDIR+=       xtraceroute
+SUBDIR+=       wireshark
 SUBDIR+=       yafc
 SUBDIR+=       yale-tftpd
 SUBDIR+=       yaz
diff -r 8235a3852fc0 -r 57733e1b90e9 net/ethereal/Makefile
--- a/net/ethereal/Makefile     Fri Jul 21 14:21:28 2006 +0000
+++ b/net/ethereal/Makefile     Fri Jul 21 14:27:53 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.132 2006/07/07 15:49:33 jlam Exp $
+# $NetBSD: Makefile,v 1.133 2006/07/21 14:27:53 tron Exp $
 
 DISTNAME=              ethereal-0.99.0
 CATEGORIES=            net
@@ -21,6 +21,8 @@
 HOMEPAGE=              http://www.ethereal.com/
 COMMENT=               Network protocol analyzer
 
+CONFLICTS+=            wireshark-[0-9]*
+
 USE_LANGUAGES+=                c++
 USE_TOOLS+=            perl pkg-config
 
diff -r 8235a3852fc0 -r 57733e1b90e9 net/wireshark/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wireshark/DESCR       Fri Jul 21 14:27:53 2006 +0000
@@ -0,0 +1,6 @@
+Ethereal is a free network protocol analyzer for Unix and Windows.
+It allows you to examine data from a live network or from a capture file
+on disk.  You can interactively browse the capture data, viewing summary
+and detail information for each packet.  Ethereal has several powerful
+features, including a rich display filter language and the ability to view
+the reconstructed stream of a TCP session.
diff -r 8235a3852fc0 -r 57733e1b90e9 net/wireshark/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wireshark/Makefile    Fri Jul 21 14:27:53 2006 +0000
@@ -0,0 +1,54 @@
+# $NetBSD: Makefile,v 1.1 2006/07/21 14:27:53 tron Exp $
+
+DISTNAME=              wireshark-0.99.2
+CATEGORIES=            net
+MASTER_SITES=          http://www.wireshark.org/download/src/ \
+                       ${MASTER_SITE_SOURCEFORGE:=wireshark/}
+EXTRACT_SUFX=          .tar.bz2
+
+MAINTAINER=            tron%NetBSD.org@localhost
+HOMEPAGE=              http://www.wireshark.org/
+COMMENT=               Network protocol analyzer
+
+CONFLICTS+=            ethereal-[0-9]*
+
+USE_LANGUAGES+=                c c++
+USE_TOOLS+=            perl pkg-config
+
+USE_LIBTOOL=           YES
+SHLIBTOOL_OVERRIDE=    # empty
+
+GNU_CONFIGURE=         YES
+CONFIGURE_ARGS+=       --enable-gtk2
+CONFIGURE_ARGS+=        --enable-static=no
+CONFIGURE_ARGS+=       --enable-threads
+CONFIGURE_ARGS+=       --with-gtk-prefix=${BUILDLINK_PREFIX.gtk2}
+CONFIGURE_ARGS+=       --with-ssl=${SSLBASE:Q}
+CONFIGURE_ARGS+=       --with-net-snmp
+CONFIGURE_ARGS+=       --with-pcap=${BUILDLINK_PREFIX.libpcap}
+CONFIGURE_ARGS+=       --with-zlib=${BUILDLINK_PREFIX.zlib}
+CONFIGURE_ARGS+=       --with-pcre=${BUILDLINK_PREFIX.pcre}
+
+PTHREAD_OPTS+=         require
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MDarwin-[567].*-*)
+USE_BUILTIN.libpcap=   no
+.endif
+
+# XXX avoid rebuild after dissector patch
+pre-build:
+       ${TOUCH} ${WRKSRC}/epan/dissectors/register.c
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../net/libpcap/buildlink3.mk"
+.include "../../net/net-snmp/buildlink3.mk"
+.include "../../security/gnutls/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8235a3852fc0 -r 57733e1b90e9 net/wireshark/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wireshark/PLIST       Fri Jul 21 14:27:53 2006 +0000
@@ -0,0 +1,157 @@
+@comment $NetBSD: PLIST,v 1.1 2006/07/21 14:27:53 tron Exp $
+bin/capinfos
+bin/dftest
+bin/dumpcap
+bin/editcap
+bin/wireshark
+bin/idl2wrs
+bin/mergecap
+bin/randpkt
+bin/tshark
+bin/text2pcap
+lib/wireshark/plugins/${PKGVERSION}/acn.la
+lib/wireshark/plugins/${PKGVERSION}/agentx.la
+lib/wireshark/plugins/${PKGVERSION}/artnet.la
+lib/wireshark/plugins/${PKGVERSION}/asn1.la
+lib/wireshark/plugins/${PKGVERSION}/ciscosm.la
+lib/wireshark/plugins/${PKGVERSION}/coseventcomm.la
+lib/wireshark/plugins/${PKGVERSION}/cosnaming.la
+lib/wireshark/plugins/${PKGVERSION}/docsis.la
+lib/wireshark/plugins/${PKGVERSION}/enttec.la
+lib/wireshark/plugins/${PKGVERSION}/gryphon.la
+lib/wireshark/plugins/${PKGVERSION}/h223.la
+lib/wireshark/plugins/${PKGVERSION}/irda.la
+lib/wireshark/plugins/${PKGVERSION}/lwres.la
+lib/wireshark/plugins/${PKGVERSION}/mate.la
+lib/wireshark/plugins/${PKGVERSION}/megaco.la
+lib/wireshark/plugins/${PKGVERSION}/mgcp.la
+lib/wireshark/plugins/${PKGVERSION}/opsi.la
+lib/wireshark/plugins/${PKGVERSION}/parlay.la
+lib/wireshark/plugins/${PKGVERSION}/pcli.la
+lib/wireshark/plugins/${PKGVERSION}/profinet.la
+lib/wireshark/plugins/${PKGVERSION}/rdm.la
+lib/wireshark/plugins/${PKGVERSION}/rlm.la
+lib/wireshark/plugins/${PKGVERSION}/rtnet.la
+lib/wireshark/plugins/${PKGVERSION}/rudp.la
+lib/wireshark/plugins/${PKGVERSION}/sbus.la
+lib/wireshark/plugins/${PKGVERSION}/stats_tree.la
+lib/wireshark/plugins/${PKGVERSION}/tango.la
+lib/wireshark/plugins/${PKGVERSION}/v5ua.la
+lib/libwireshark.la
+lib/libwiretap.la
+man/man1/capinfos.1
+man/man1/dumpcap.1
+man/man1/editcap.1
+man/man1/wireshark.1
+man/man1/idl2wrs.1
+man/man1/mergecap.1
+man/man1/tshark.1
+man/man1/text2pcap.1
+man/man4/wireshark-filter.4
+share/wireshark/AUTHORS-SHORT
+share/wireshark/capinfos.html
+share/wireshark/cfilters
+share/wireshark/colorfilters
+share/wireshark/dfilters
+share/wireshark/diameter/TGPPSh.xml
+share/wireshark/diameter/chargecontrol.xml
+share/wireshark/diameter/dictionary.dtd
+share/wireshark/diameter/dictionary.xml
+share/wireshark/diameter/imscxdx.xml
+share/wireshark/diameter/mobileipv4.xml
+share/wireshark/diameter/nasreq.xml
+share/wireshark/diameter/sunping.xml
+share/wireshark/dtds/dc.dtd
+share/wireshark/dtds/itunes.dtd
+share/wireshark/dtds/pocsettings.dtd
+share/wireshark/dtds/presence.dtd
+share/wireshark/dtds/reginfo.dtd
+share/wireshark/dtds/rss.dtd
+share/wireshark/dtds/smil.dtd
+share/wireshark/dtds/watcherinfo.dtd
+share/wireshark/dumpcap.html
+share/wireshark/editcap.html
+share/wireshark/wireshark-filter.html
+share/wireshark/wireshark.html
+share/wireshark/help/capture_filters.txt
+share/wireshark/help/capturing.txt
+share/wireshark/help/display_filters.txt
+share/wireshark/help/faq.txt
+share/wireshark/help/getting_started.txt
+share/wireshark/help/overview.txt
+share/wireshark/help/toc
+share/wireshark/idl2wrs.html
+share/wireshark/manuf
+share/wireshark/mergecap.html
+share/wireshark/radius/dictionary
+share/wireshark/radius/dictionary.3com
+share/wireshark/radius/dictionary.3gpp
+share/wireshark/radius/dictionary.3gpp2
+share/wireshark/radius/dictionary.acc
+share/wireshark/radius/dictionary.alcatel
+share/wireshark/radius/dictionary.alteon
+share/wireshark/radius/dictionary.altiga
+share/wireshark/radius/dictionary.aptis
+share/wireshark/radius/dictionary.ascend
+share/wireshark/radius/dictionary.bay
+share/wireshark/radius/dictionary.bintec
+share/wireshark/radius/dictionary.bristol
+share/wireshark/radius/dictionary.cablelabs
+share/wireshark/radius/dictionary.cabletron
+share/wireshark/radius/dictionary.cisco
+share/wireshark/radius/dictionary.cisco.bbsm
+share/wireshark/radius/dictionary.cisco.vpn3000
+share/wireshark/radius/dictionary.cisco.vpn5000
+share/wireshark/radius/dictionary.colubris
+share/wireshark/radius/dictionary.columbia_university
+share/wireshark/radius/dictionary.compat
+share/wireshark/radius/dictionary.cosine
+share/wireshark/radius/dictionary.ericsson
+share/wireshark/radius/dictionary.erx
+share/wireshark/radius/dictionary.extreme
+share/wireshark/radius/dictionary.foundry
+share/wireshark/radius/dictionary.freeradius
+share/wireshark/radius/dictionary.gandalf
+share/wireshark/radius/dictionary.garderos
+share/wireshark/radius/dictionary.gemtek
+share/wireshark/radius/dictionary.itk
+share/wireshark/radius/dictionary.juniper
+share/wireshark/radius/dictionary.karlnet
+share/wireshark/radius/dictionary.livingston
+share/wireshark/radius/dictionary.localweb
+share/wireshark/radius/dictionary.merit
+share/wireshark/radius/dictionary.microsoft
+share/wireshark/radius/dictionary.mikrotik
+share/wireshark/radius/dictionary.navini
+share/wireshark/radius/dictionary.netscreen
+share/wireshark/radius/dictionary.nokia
+share/wireshark/radius/dictionary.nomadix
+share/wireshark/radius/dictionary.propel
+share/wireshark/radius/dictionary.quintum
+share/wireshark/radius/dictionary.redback
+share/wireshark/radius/dictionary.redcreek
+share/wireshark/radius/dictionary.shasta
+share/wireshark/radius/dictionary.shiva
+share/wireshark/radius/dictionary.sonicwall
+share/wireshark/radius/dictionary.springtide
+share/wireshark/radius/dictionary.t_systems_nova
+share/wireshark/radius/dictionary.telebit
+share/wireshark/radius/dictionary.trapeze
+share/wireshark/radius/dictionary.tunnel
+share/wireshark/radius/dictionary.unisphere
+share/wireshark/radius/dictionary.unix
+share/wireshark/radius/dictionary.usr
+share/wireshark/radius/dictionary.valemount
+share/wireshark/radius/dictionary.versanet
+share/wireshark/radius/dictionary.wispr
+share/wireshark/radius/dictionary.xedia
+share/wireshark/tshark.html
+share/wireshark/text2pcap.html
+@dirrm share/wireshark/radius
+@dirrm share/wireshark/help
+@dirrm share/wireshark/dtds
+@dirrm share/wireshark/diameter
+@dirrm share/wireshark
+@dirrm lib/wireshark/plugins/${PKGVERSION}
+@dirrm lib/wireshark/plugins
+@dirrm lib/wireshark
diff -r 8235a3852fc0 -r 57733e1b90e9 net/wireshark/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wireshark/distinfo    Fri Jul 21 14:27:53 2006 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2006/07/21 14:27:53 tron Exp $
+
+SHA1 (wireshark-0.99.2.tar.bz2) = f3f4f78b5ddbd45f9d805d1a9b50250d323bb57f
+RMD160 (wireshark-0.99.2.tar.bz2) = 3188b41839a9b1579a2e181cbfd22295ade46649
+Size (wireshark-0.99.2.tar.bz2) = 9748955 bytes
+SHA1 (patch-aa) = fd28ab2578f2662b024c50369f392f91f03de3df
+SHA1 (patch-ab) = 0dc3317d3529d641281ea01592ef0ca39eafc873
diff -r 8235a3852fc0 -r 57733e1b90e9 net/wireshark/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wireshark/patches/patch-aa    Fri Jul 21 14:27:53 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2006/07/21 14:27:53 tron Exp $
+
+--- epan/dissectors/packet-radiotap.c.orig     2006-07-17 20:59:28.000000000 +0100
++++ epan/dissectors/packet-radiotap.c  2006-07-21 13:36:03.000000000 +0100
+@@ -610,7 +610,7 @@
+     /* dissect the 802.11 header next */
+     call_dissector((rflags & IEEE80211_RADIOTAP_F_DATAPAD) ?
+       ieee80211_datapad_handle : ieee80211_handle,
+-      tvb_new_subset(tvb, length, -1, -1), pinfo, tree);
++      tvb_new_subset(tvb, offset + length, -1, -1), pinfo, tree);
+ }
+ 
+ void
diff -r 8235a3852fc0 -r 57733e1b90e9 net/wireshark/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wireshark/patches/patch-ab    Fri Jul 21 14:27:53 2006 +0000
@@ -0,0 +1,101 @@
+$NetBSD: patch-ab,v 1.1 2006/07/21 14:27:53 tron Exp $
+
+--- configure.orig     2006-06-20 17:53:05.000000000 +0000
++++ configure



Home | Main Index | Thread Index | Old Index