# # spec file for package wireshark (Version 0.99.7) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: wireshark BuildRequires: cairo-devel gtk2-devel krb5-devel libadns-devel libpcap-devel net-snmp-devel openssl-devel pcre-devel python tcpd-devel update-desktop-files zlib-devel License: GPL v2 or later Group: Productivity/Networking/Diagnostic AutoReqProv: on Summary: A Network Traffic Analyser Version: 0.99.7 Release: 1 Url: http://www.wireshark.org/ Source: %{name}-%{version}.tar.bz2 Source1: %{name}.desktop Source2: %{name}.png Source3: include.filelist Patch0: %{name}-%{version}-help.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: ethereal Obsoletes: ethereal %description Wireshark 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. Wireshark has several powerful features, including a rich display filter language and the ability to view the reconstructed stream of a TCP session. Authors: -------- Gerald Combs Gilbert Ramirez Hannes R. Boehm Mike Hall Bobo Rajec Laurent Deniel Don Lafontaine Guy Harris Simon Wilkinson Joerg Mayer Martin Maciaszek Didier Jorand Jun-ichiro itojun Hagino Richard Sharpe John McDermott Jeff Jahr Brad Robel-Forrest Ashok Narayanan Aaron Hillegass Jason Lango Johan Feyaerts Olivier Abad and many others. For details see /usr/share/doc/packages/ethereal/AUTHORS %package devel Summary: A Network Traffic Analyser Group: Productivity/Networking/Diagnostic AutoReqProv: on Requires: %{name} = %{version} Provides: ethereal-devel Obsoletes: ethereal-devel %description devel Wireshark 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. Wireshark has several powerful features, including a rich display filter language and the ability to view the reconstructed stream of a TCP session. Authors: -------- Gerald Combs Gilbert Ramirez Hannes R. Boehm Mike Hall Bobo Rajec Laurent Deniel Don Lafontaine Guy Harris Simon Wilkinson Joerg Mayer Martin Maciaszek Didier Jorand Jun-ichiro itojun Hagino Richard Sharpe John McDermott Jeff Jahr Brad Robel-Forrest Ashok Narayanan Aaron Hillegass Jason Lango Johan Feyaerts Olivier Abad and many others. For details see /usr/share/doc/packages/ethereal/AUTHORS %prep %setup -q %patch0 %build %{suse_update_config -f wiretap .} cd wiretap autoreconf -fi cd .. autoreconf -fi export CFLAGS="$RPM_OPT_FLAGS -fstack-protector" %configure \ --enable-gtk2 \ --enable-ipv6 \ --with-pcap \ --with-zlib \ --with-pcre \ --with-ssl \ --with-net-snmp \ --with-krb5 \ --with-adns \ --enable-warnings-as-errors=no make %{?jobs:-j%jobs} %install make "DESTDIR=$RPM_BUILD_ROOT" install ln -fs wireshark $RPM_BUILD_ROOT%{_bindir}/ethereal ln -fs tshark $RPM_BUILD_ROOT%{_bindir}/tethereal install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir} install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1/ install -m 644 *.1 $RPM_BUILD_ROOT%{_mandir}/man1/ %suse_update_desktop_file -i wireshark System Network find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \; install -d -m 755 $RPM_BUILD_ROOT%{_includedir}/wireshark for i in `cat %{S:3}`; do install -m 644 $i $RPM_BUILD_ROOT%{_includedir}/wireshark done %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING NEWS README* %{_mandir}/man1/[^i]* %{_mandir}/man4/* %{_datadir}/applications/*.desktop %{_datadir}/pixmaps/wireshark.png %{_bindir}/[^i]* %{_libdir}/lib*.so.* %{_libdir}/wireshark %{_datadir}/wireshark %files devel %defattr(-,root,root) %doc doc/README.* %{_includedir}/wireshark %{_libdir}/*.so %{_bindir}/idl2wrs %{_mandir}/man1/idl2wrs* %changelog * Wed Dec 19 2007 - prusnak@suse.cz - updated to 0.99.7 * security fixes o Wireshark could crash when reading an MP3 file. o Beyond Security discovered that Wireshark could loop excessively while reading a malformed DNP packet. o Stefan Esser discovered a buffer overflow in the SSL dissector. o The ANSI MAP dissector could be susceptible to a buffer overflow on some platforms. o The Firebird/Interbase dissector could go into an infinite loop or crash. o The NCP dissector could cause a crash. o The HTTP dissector could crash on some systems while decoding chunked messages. o The MEGACO dissector could enter a large loop and consume system resources. o The DCP ETSI dissector could enter a large loop and consume system resources. o Fabiodds discovered a buffer overflow in the iSeries (OS/400) Communication trace file parser. o The PPP dissector could overflow a buffer. o The Bluetooth SDP dissector could go into an infinite loop. o A malformed RPC Portmap packet could cause a crash. o The IPv6 dissector could loop excessively. o The USB dissector could loop excessively or crash. o The SMB dissector could crash. o The RPL dissector could go into an infinite loop. o The WiMAX dissector could crash due to unaligned access on some platforms. o The CIP dissector could attempt to allocate a huge amount of memory and crash. * bug fixes o Handling of non-ASCII file names and paths has been improved. o Wireshark could crash while editing a coloring rule or a UAT table. o The display filter code could crash while bitwise ANDing an IPv4 address. * news and updates o Most of the capture code has been moved out of the GUI, which means that Wireshark no longer needs to be run as root. o Many display filter names have been cleaned up. If your favorite display filter just went missing, please consult the display filter reference to find out where it ended up. o You can now filter directly on SNMP OIDs. o IO graphs have more display options, and you can now export graphs. o You can now follow UDP streams in addition to TCP and SSL streams. o You can now disable coloring rules without deleting them. o Main window toolbar buttons are now available even when the window is small. o Optimizations have been applied in some places to make Wireshark start up and run faster. * new protocol support ANSI TCAP, application/xcap-error (MIME type), CFM, DPNSS, EtherCAT, ETSI e2/e4, H.282, H.460, H.501, IEEE 802.1ad and 802.1ah, IMF (RFC 2822), RSL, SABP, T.125, TNEF, TPNCP, UNISTIM, Wake on LAN, WiMAX ASN Control Plane, X.224, * updated protocol support 3Com XNS, 3G A11, ACN, ACP123, ACSE, AIM, ANSI IS-637-A, ANSI MAP, Armagetronad, BACapp, BACnet, BER, BFD, BGP, Bluetooth, CAMEL, CDT, CFM, CIP, Cisco ERSPAN, CLNP, CMIP, CMS, COPS, CTDB, DCCP, DCERPC ATSVC, DCERPC PNIO, DCERPC SAMR, DCERPC, DCOM CBA-ACCO, DCP ETSI, DEC DNA, DFS, DHCP/BOOTP, DHCPv6, DIAMETER, DISP, DMP, DNP, DNS, DOP, DTLS, DUA, eDonkey, ELSM, ESL, Ethernet, FC ELS, FC, FCOE, FTAM, FTP, GDSDB, GIOP, GPRS-LLC, GSM A, GSM MAP, GTP, HSRP, HTTP, IAX2, ICMPv6, IEEE 802.11, INAP, IP, IPMI, IPv6, ISAKMP, ISIS, iSNS, ISUP, IUUP, JXTA, K12, Kerberos, L2TP, LAPD, LDAP, LINX, LPD, LWAPP, MEGACO, MIKEY, MIME Multipart, MMS, MP2T, MPEG PES, MPEG, MTP2, MySQL, NBAP, NetFlow, nettl, NFS, NSIP, OSPF, P_MUL, PANA, PER, PKCS#12, PMIPv6, PN-PTCP, PN-RT, PPI, PPPoE, PRES, PROFINET, PTP, Q.932 ROS, Q.932, QSIG, Radiotap, RADIUS, RANAP, RNSAP, ROS, RTCP, RTP, RTSE, RTSP, SCCP, SCTP, SDP, SIGCOMP, SIP, Slow Protocols, SMB, SMPP, SMTP, SNDCP, SNMP, SRP, SSL, STANAG 4406, STUN2, TCAP, TCP, text/media, TIPC, ULP, UMA, UMTS FP, V5UA, VNC, WiMAX M2M, WiMAX, WLCCP, X.411, X.420, X.509 SAT, XML * new and updated capture file support Catapult DCT 2000, Endace ERF, Juniper NetScreen snoop, Visual Networks, Windows Sniffer (NetXRay) - removed fwrite_unused_result.patch * Tue Sep 04 2007 - ro@suse.de - disable -Werror for now * Thu Jul 26 2007 - prusnak@suse.cz - changed libpcap to libpcap-devel in BuildRequires * Tue Jul 10 2007 - prusnak@suse.cz - updated to 0.99.6 * security fixes: * crash when dissecting an HTTP chunked response * crash while reading iSeries capture files * exhaust system memory while reading a malformed DCP ETSI packet * loop excessively while reading a malformed SSL packet * DHCP/BOOTP dissector susceptible to an off-by-one error * loop excessively while reading a malformed MMS packet * bug fixes: * WEP decryption would only work for the first key specified * WEP and WPA decryption didn't work for QoS frames * WPA decryption failed if EAPOL handshake packets contained extra data * Wireshark failed to parse colon-separated WEP keys * merging files in Wireshark now appends files properly * hang while saving an RTP stream with bad timestamp data * frame.time_delta display filter now works as expected * for full information see: * http://www.wireshark.org/docs/relnotes/wireshark-0.99.6.html - added fwrite_unused_result.patch (fixes warn_unused_result warnings in fwrite calls) - dropped obsolete patches: * dissectors.patch (included in update) * Wed Mar 07 2007 - prusnak@suse.cz - added [t]ethereal symlinks [#252117] - cleaned spec file * Wed Feb 07 2007 - prusnak@suse.cz - fix SSL support [#242738] - fix build warnings in dissector's code (dissectors.patch) * Tue Feb 06 2007 - prusnak@suse.cz - update to 0.99.5 * security fixes [#237246] - CVE-2007-0459 The TCP dissector could hang or crash - CVE-2007-0458 The HTTP dissector could crash - CVE-2007-0457 The IEEE 802.11 dissector could crash - CVE-2007-0456 The LLT dissector could crash * various bug fixes, added new protocols, see http://www.wireshark.org/docs/relnotes/wireshark-0.99.5.html for full information - dropped obsoleted patches: * wireshark-0.99.4-printf.diff (included in update) * Thu Dec 07 2006 - prusnak@suse.cz - fixed libdir path in spec file * Mon Nov 13 2006 - mjancar@suse.cz - update to 0.99.4 * final 0.99.4 release * Tue Nov 07 2006 - ro@suse.de - fix manpage permissions * Mon Oct 30 2006 - mjancar@suse.cz - update to 0.99.4pre1 * security fixes (#213226) CVE-2006-4574 CVE-2006-4805 CVE-2006-5468 CVE-2006-5469 CVE-2006-5740 * Thu Aug 24 2006 - postadal@suse.cz - updated to version 0.99.2 [#201437] * security bugfixes * the packet list context menu now includes a conversation filter * now generate ACL rules for several popular firewall products * new protocols: Daytime, JPEG (RTP payload), Pegasus Lightweight Stream Control, Pro-MPEG FEC, UMTS RRC, Veritas Low Latency Transport - removed oblsoleted patch buffer_overflow_fix.patch * Tue Jul 25 2006 - postadal@suse.cz - project Ethereal moved to Wireshark project (renamed) - updated to version 0.99.2 * security bugfixes * multicast stream analysis * you can now find next/previous marked frames * the SMB dissector tracks filenames and share names * added reading support of BER-encoded files * new protocols: Bluetooth HCI (ACL, Command, Event, L2CAP, H4, RFCOMM, SCO, SDP), Cisco WIDS, DTLS, Ether-S-Bus, OMA ULP, PN-MRP, PN-MRRT, REXEC (yes, that REXEC), RRLP, RSerPool (CalcAppProtocol, ComponentStatusProtocol, FractalGeneratorProtocol, PingPongProtocol), Telkonet, TiVoConnect Discovery Protocol - fixed buffer overflow in nettl.c [wireshark#1015] (buffer_overflow_fix.patch) - removed obsoleted patches (CVE-2006-1932-40.patch, hash_returnval.patch, infinite-loop.patch) * Mon Jun 12 2006 - lmichnovic@suse.cz - fixed forgoten return value (hash_retval.patch) [#183696] * Wed May 03 2006 - postadal@suse.cz - fixed security bugs [#167928] (CVE-2006-1932 - CVE-2006-1940) (CVE-2006-1932-40.patch) * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Sat Jan 07 2006 - postadal@suse.cz - updated to version 0.10.14 * Wed Dec 21 2005 - meissner@suse.de - added -fstack-protector - add pcre/pcre-devel to get regexp support. * Tue Nov 01 2005 - postadal@suse.cz - fixed infinite loop [#128637] (infinite-loop.patch) * Fri Oct 21 2005 - postadal@suse.cz - updated to version 0.10.13 (a lot of security fixes enpa-sa-00021) [#128637] * Tue Sep 06 2005 - lmuelle@suse.de - Add kerberos-devel-packages to neededforbuild and --with-krb5=/usr to the configure arguments; [#115457]. * Wed Aug 31 2005 - postadal@suse.cz - changed category of desktop file from Monitor to System [#114060] * Mon Aug 29 2005 - postadal@suse.cz - all data moved from /usr/X11R6 to /usr [#112816] - branched devel package and packed includes [#112815] * Wed Jul 27 2005 - postadal@suse.cz - updated to version 0.10.12 (a lot of security fixes enpa-sa-00020) - removed obsoleted gcc4 patch - removed unneeded .la files - moved /etc/{manuf,diameter} to /usr/X11R6/share/ethereal (changed loading data files) * Fri May 06 2005 - postadal@suse.cz - updated to version 0.10.11 (a lot of security fixes enpa-sa-00019) * Wed May 04 2005 - postadal@suse.cz - fixed segfaults when trying to access help [#81523] * Thu Mar 17 2005 - postadal@suse.cz - fixed security bugs in Etheric, GPRS-LLC, 3GPP2 A11, IAPP dissectors. [#71777] (enpa-sa-00018: CAN-2005-0704, CAN-2005-0705, CAN-2005-0699, CAN-2005-0739) - fixed bugs in JXTA, sFlow * Fri Jan 21 2005 - postadal@suse.cz - updated to version 0.10.9 * Wed Jan 12 2005 - postadal@suse.cz - updated to version 0.10.8 * Wed Dec 08 2004 - postadal@suse.cz - added new icon * Tue Nov 30 2004 - postadal@suse.cz - updated to version 0.10.7 - packaged missed pixmap file * Wed Oct 27 2004 - mmj@suse.de - Add rpm-devel, popt-devel and tcpd-devel to #nfb to fix build - Don't remove buildroot in install * Wed Aug 25 2004 - lmuelle@suse.de - Add libadns and libadns-devel to BuildRequires, [#43590]. * Mon Aug 16 2004 - postadal@suse.cz - updated to version 0.10.6 - removed obsoleted patches (ipv6-filter-fix, secfix1) - merged help-fix patch in config patch * Wed Jul 14 2004 - postadal@suse.cz - updated to version 0.10.5 (security update) [#42820] * several security fixes; enpa-sa-00015 (CAN-2004-0633, CAN-2004-0634, CAN-2004-0635) * Thu Apr 29 2004 - postadal@suse.cz - added missing online help [#39518] * Fri Apr 02 2004 - postadal@suse.cz - added check for resolved address in default filter (modified previous patch ipv6-filter-fix.diff) * Mon Mar 29 2004 - postadal@suse.cz - updated to version 0.10.3 (security update) [#35449] * several security fixes; enpa-sa-00013; CAN-2004-0176 CAN-2004-0367, CAN-2004-0365 - fixed lib64 paths - fixed default filter (ipv6 problem) * Tue Mar 23 2004 - postadal@suse.cz - fixed locating manuf file in /etc [#34386] * Tue Mar 02 2004 - postadal@suse.cz - added desktop file with "X-KDE-SubstituteUID=true" (asks for root passwd) [#35118] * Wed Feb 25 2004 - postadal@suse.cz - updated to version 0.10.2 * Thu Jan 22 2004 - mmj@suse.de - Update to 0.10.0a - Use -fno-strict-aliasing - Use gtk2 * Sat Jan 10 2004 - adrian@suse.de - build as user * Thu Dec 18 2003 - postadal@suse.cz - fixed security bug (in SMB dissectors);[#33650] enpa-sa-00012 * Mon Nov 10 2003 - ro@suse.de - use net-snmp instead of ucdsnmp * Thu Nov 06 2003 - postadal@suse.cz - fixed security bugs (in GTP,ISAKMP,MEGACO,SOCKS dissectors); enpa-sa-00011 * Sat Aug 16 2003 - adrian@suse.de - install desktop file * Fri Jul 25 2003 - postadal@suse.cz - updated to version 0.9.14 * support for searching for arbitrary text and binary data in frames * new protocols: Echo, eDonkey, Jabber, MS Messenger, sFlow * Thu Jul 03 2003 - lmuelle@suse.de - update to version 0.9.13 * support for GNU ADNS library * "Decode As..." functionality has been added to Tethereal via the "-d" flag * support for a system-wide color filter file * several security fixes; enpa-sa-00010; CAN-2003-0428 CAN-2003-0429 CAN-2003-0431 CAN-2003-0432 - removed gcc patch as included in upstream * Mon Mar 10 2003 - postadal@suse.cz - update to version 0.9.10 (security fix) - removed obsoleted unused plugin patch * Fri Mar 07 2003 - ro@suse.de - removed mminimal-toc from CFLAGS (ppc64) * Wed Jan 29 2003 - postadal@suse.cz - updated to version 0.9.9 * more statistics have been added * the RADIUS dissector can now decrypt user passwords * new protocols: MDSHDR, MEGACO, MySQL, SDLC, X.29 * Mon Jan 27 2003 - ro@suse.de - fix build with gcc-3.3 * Wed Jan 22 2003 - postadal@suse.cz - updated to version 0.9.8 * new protocols: ARCNET, ClearCase NFS, DCERPC LSA_DS, Fibre Channel, HyperSCSI, MDNS, PCLI, RPL, 802.1s MSTP, FIX, GSS-API, Interbase, NDPS, Netflow (Cisco and Juniper), SCCP-Management, SPNEGO - plugin fix (added header file with macros) * Wed Aug 28 2002 - postadal@suse.cz - added %%config to file list * Fri Aug 23 2002 - postadal@suse.cz - update to version 0.9.6 (security fix) * Thu Aug 15 2002 - postadal@suse.cz - update to version 0.9.5 (security fix) * Sat Jun 29 2002 - olh@suse.de - build with -mminimal-toc on ppc64 * Wed Jan 16 2002 - cihlar@suse.cz - update to version 0.9.0 * Mon Nov 26 2001 - cihlar@suse.cz - update to version 0.8.20 * Wed Jul 25 2001 - cihlar@suse.cz - update to version 0.8.19 * Fri Jun 15 2001 - cihlar@suse.cz - added openssl, openssl-devel to neededforbuild - run confugure with --with-ssl=/usr - link against libcrypto (libsnmp needs it) - fixed to compile with ipv6 support * Fri Jun 08 2001 - cihlar@suse.cz - fixed to compile with new autoconf * Tue Apr 24 2001 - cihlar@suse.cz - fixed warnings on ia64 * Tue Mar 20 2001 - cihlar@suse.cz - upgrade to version 0.8.16 * Tue Mar 06 2001 - cihlar@suse.cz - upgrade to version 0.8.15 * Mon Nov 06 2000 - ro@suse.de - fixed neededforbuild * Tue Oct 31 2000 - cihlar@suse.cz - upgrade to version 0.8.13 - bzipped sources * Thu Aug 03 2000 - cihlar@suse.cz - upgrade to version 0.8.11 * Mon Jun 12 2000 - cihlar@suse.cz - upgrade to version 0.8.9 * Wed May 10 2000 - cihlar@suse.cz - upgrade to version 0.8.8 * Thu Apr 13 2000 - cihlar@suse.cz - upgrade to version 0.8.6 - added BuildRoot * Mon Apr 10 2000 - bk@suse.de - added suse update config macro * Wed Mar 01 2000 - choeger@suse.de - new version, 0.8.3 * Wed Jan 19 2000 - choeger@suse.de - new version, 0.8.1 * Thu Nov 25 1999 - choeger@suse.de - new version, 0.7.8 * Thu Oct 28 1999 - choeger@suse.de - new version, 0.7.7 * Mon Sep 13 1999 - bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Wed Sep 01 1999 - choeger@suse.de - new version * Tue Jul 13 1999 - bs@suse.de - use gtk and glib instead of gtkn and glibn * Mon Jul 12 1999 - ro@suse.de - libpcap is an extra package now * Thu Jul 08 1999 - choeger@suse.de - new version, v0.6.3 * Tue Jun 01 1999 - ro@suse.de - fixed: X11 -> X11R6 * Wed May 26 1999 - choeger@suse.de - new package v0.6.2