diff options
author | 2009-03-08 11:15:58 +0000 | |
---|---|---|
committer | 2009-03-08 11:15:58 +0000 | |
commit | 34ef3b420f493d62ce9f6d081673c4c7e991c645 (patch) | |
tree | f2edfcc73a2dfdc5260e14e8dbbfb5817c7a1caf /net-analyzer | |
parent | Moved to the tree. (diff) | |
download | pva-34ef3b420f493d62ce9f6d081673c4c7e991c645.tar.gz pva-34ef3b420f493d62ce9f6d081673c4c7e991c645.tar.bz2 pva-34ef3b420f493d62ce9f6d081673c4c7e991c645.zip |
Fixed misc warnings.
svn path=/; revision=253
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/wireshark/ChangeLog | 650 | ||||
-rw-r--r-- | net-analyzer/wireshark/Manifest | 11 | ||||
-rw-r--r-- | net-analyzer/wireshark/files/wireshark-0.99.7-asneeded.patch | 10 | ||||
-rw-r--r-- | net-analyzer/wireshark/files/wireshark-0.99.8-as-needed.patch | 11 | ||||
-rw-r--r-- | net-analyzer/wireshark/files/wireshark-1.0-sigpipe.patch | 31 | ||||
-rw-r--r-- | net-analyzer/wireshark/files/wireshark-1.0.5-text2pcap-protos.patch | 18 | ||||
-rw-r--r-- | net-analyzer/wireshark/files/wireshark-1.1.2--as-needed.patch | 20 | ||||
-rw-r--r-- | net-analyzer/wireshark/files/wireshark-1.1.2-misc-warnings.patch | 22 | ||||
-rw-r--r-- | net-analyzer/wireshark/files/wireshark-except-double-free.diff | 16 | ||||
-rw-r--r-- | net-analyzer/wireshark/metadata.xml | 37 | ||||
-rw-r--r-- | net-analyzer/wireshark/wireshark-1.1.2.ebuild | 162 |
11 files changed, 988 insertions, 0 deletions
diff --git a/net-analyzer/wireshark/ChangeLog b/net-analyzer/wireshark/ChangeLog new file mode 100644 index 0000000..7fb30eb --- /dev/null +++ b/net-analyzer/wireshark/ChangeLog @@ -0,0 +1,650 @@ +# ChangeLog for net-analyzer/wireshark +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/ChangeLog,v 1.153 2009/03/05 17:57:30 pva Exp $ + +*wireshark-1.0.6-r1 (05 Mar 2009) + + 05 Mar 2009; Peter Volkov <pva@gentoo.org> + -files/wireshark-1.0.5-glib-1-build.patch, + +files/wireshark-1.0-sigpipe.patch, -wireshark-1.0.5.ebuild, + +wireshark-1.0.6-r1.ebuild: + Fixed freeze on start issue, bug #260457, thank haarp for report. + + 11 Feb 2009; Tobias Scherbaum <dertobi123@gentoo.org> + wireshark-1.0.6.ebuild: + ppc stable, bug #258013 + + 10 Feb 2009; Brent Baude <ranger@gentoo.org> wireshark-1.0.6.ebuild: + Marking wireshark-1.0.6 ppc64 for bug 258013 + + 09 Feb 2009; Raúl Porcel <armin76@gentoo.org> wireshark-1.0.6.ebuild: + ia64/sparc stable wrt #258013 + + 08 Feb 2009; Markus Meier <maekke@gentoo.org> wireshark-1.0.6.ebuild: + amd64/x86 stable, bug #258013 + + 07 Feb 2009; Jeroen Roovers <jer@gentoo.org> wireshark-1.0.6.ebuild: + Stable for HPPA (bug #258013). + + 07 Feb 2009; Tobias Klausmann <klausman@gentoo.org> + wireshark-1.0.6.ebuild: + Stable on alpha, bug #258013 + +*wireshark-1.0.6 (07 Feb 2009) + + 07 Feb 2009; Peter Volkov <pva@gentoo.org> +wireshark-1.0.6.ebuild: + Version bump. + +*wireshark-1.1.2 (19 Jan 2009) + + 19 Jan 2009; Peter Volkov <pva@gentoo.org> + -files/wireshark-1.0.4-zlib-build.patch, + -files/wireshark-1.1.1--as-needed.patch, + -files/wireshark-1.1.1-misc-warnings.patch, + +files/wireshark-1.1.2--as-needed.patch, -wireshark-1.0.4.ebuild, + -wireshark-1.1.1.ebuild, +wireshark-1.1.2.ebuild: + Version bump of development version, remove old. + + 26 Dec 2008; Mike Frysinger <vapier@gentoo.org> + +files/wireshark-1.0.5-text2pcap-protos.patch, wireshark-1.0.5.ebuild: + Fix building on 64bit systems due to implicit string prototypes. + + 18 Dec 2008; Tobias Scherbaum <dertobi123@gentoo.org> + wireshark-1.0.5.ebuild: + ppc stable, bug #248425 + + 16 Dec 2008; Brent Baude <ranger@gentoo.org> wireshark-1.0.5.ebuild: + Marking wireshark-1.0.5 ppc64 for bug 248425 + + 16 Dec 2008; Raúl Porcel <armin76@gentoo.org> wireshark-1.0.5.ebuild: + ia64 stable wrt #248425 + + 15 Dec 2008; Jeroen Roovers <jer@gentoo.org> wireshark-1.0.5.ebuild: + Stable for HPPA (bug #248425). + + 14 Dec 2008; Peter Volkov <pva@gentoo.org> wireshark-1.0.5.ebuild: + Fixed dodoc on nonexistent files, bug #248425, thank Markus Meier for report. + + 14 Dec 2008; Tobias Klausmann <klausman@gentoo.org> + wireshark-1.0.5.ebuild: + Stable on alpha, bug #248425 + + 14 Dec 2008; Markus Meier <maekke@gentoo.org> wireshark-1.0.5.ebuild: + amd64/x86 stable, bug #248425 + + 14 Dec 2008; Friedrich Oslage <bluebird@gentoo.org> + wireshark-1.0.5.ebuild: + Stable on sparc, security bug #248425 + +*wireshark-1.0.5 (13 Dec 2008) + + 13 Dec 2008; Peter Volkov <pva@gentoo.org> + +files/wireshark-1.0.5-glib-1-build.patch, +wireshark-1.0.5.ebuild: + Version bump, fixes security issue #248425, thank Steven Susbauer for report. + + 22 Nov 2008; Peter Volkov <pva@gentoo.org> + files/wireshark-1.1.1-misc-warnings.patch, -wireshark-1.0.3.ebuild: + Updated patch to handle more points of failure. Remove old. + + 15 Nov 2008; Tobias Scherbaum <dertobi123@gentoo.org> + wireshark-1.0.4.ebuild: + ppc stable, bug #242996 + + 30 Oct 2008; Peter Volkov <pva@gentoo.org> + +files/wireshark-1.0.4-zlib-build.patch, wireshark-1.0.4.ebuild: + Build fails without zlib, this patch fixes it, bug #244931, thank emos696 + AT hotmail.com for this work. + + 22 Oct 2008; Guy Martin <gmsoft@gentoo.org> wireshark-1.0.4.ebuild: + hppa stable, #242996 + + 22 Oct 2008; Raúl Porcel <armin76@gentoo.org> wireshark-1.0.4.ebuild: + alpha/ia64/x86 stable wrt #242996 + + 21 Oct 2008; Markus Rothe <corsair@gentoo.org> wireshark-1.0.4.ebuild: + Stable on ppc64; bug #242996 + + 21 Oct 2008; Ferris McCormick <fmccor@gentoo.org> wireshark-1.0.4.ebuild: + Sparc stable --- Security Bug #242996 --- appears to work fine. + + 21 Oct 2008; Jeremy Olexa <darkside@gentoo.org> wireshark-1.0.4.ebuild: + amd64 stable, accelerated due to security. bug #242996 + +*wireshark-1.0.4 (21 Oct 2008) + + 21 Oct 2008; Peter Volkov <pva@gentoo.org> +wireshark-1.0.4.ebuild, + wireshark-1.1.1.ebuild: + Version bump. + + 17 Oct 2008; Peter Volkov <pva@gentoo.org> + +files/wireshark-1.1.1--as-needed.patch, + +files/wireshark-1.1.1-misc-warnings.patch, wireshark-1.1.1.ebuild: + Fixed build issue with --as-needed and lua enabled. Fixed build issues with + -ftracer, bug #239941, thank Thomas Pegeot for report. + +*wireshark-1.1.1 (10 Oct 2008) + + 10 Oct 2008; Peter Volkov <pva@gentoo.org> + -files/wireshark-1.1.0-as-needed.patch, -wireshark-1.1.0.ebuild, + +wireshark-1.1.1.ebuild: + Version bump. Some cleanups in ebuild. + + 04 Oct 2008; Peter Volkov <pva@gentoo.org> metadata.xml, + wireshark-1.1.0.ebuild: + Change c-ares USE flag to ares, as other packages already USE ares. + + 18 Sep 2008; Peter Volkov <pva@gentoo.org> wireshark-1.1.0.ebuild: + Fixed dependency on c-ares and configuration. + +*wireshark-1.1.0 (17 Sep 2008) + + 17 Sep 2008; Peter Volkov <pva@gentoo.org> + +files/wireshark-1.1.0-as-needed.patch, metadata.xml, + -wireshark-1.0.2.ebuild, +wireshark-1.1.0.ebuild: + Bump development version. + + 10 Sep 2008; Olivier Crête <tester@gentoo.org> wireshark-1.0.3.ebuild: + amd64 stable, bug #236515 + + 10 Sep 2008; Brent Baude <ranger@gentoo.org> wireshark-1.0.3.ebuild: + Marking wireshark-1.0.3 ppc64 and ppc for bug 236515 + + 10 Sep 2008; Raúl Porcel <armin76@gentoo.org> wireshark-1.0.3.ebuild: + alpha/ia64/sparc/x86 stable wrt #236515 + + 10 Sep 2008; Jeroen Roovers <jer@gentoo.org> wireshark-1.0.3.ebuild: + Stable for HPPA (bug #236515). + +*wireshark-1.0.3 (10 Sep 2008) + + 10 Sep 2008; Peter Volkov <pva@gentoo.org> +wireshark-1.0.3.ebuild: + Version bump, fixes security issues #236515, thank Robert Buchholz for + report. + + 04 Aug 2008; Jeroen Roovers <jer@gentoo.org> metadata.xml: + Describe local USE flags for GLEP 56. + + 03 Aug 2008; Cédric Krier <cedk@gentoo.org> wireshark-1.0.2.ebuild: + Add gtk m4 for bug #233158 + + 20 Jul 2008; Peter Volkov <pva@gentoo.org> -wireshark-1.0.0.ebuild, + -wireshark-1.0.1.ebuild: + Removing vulnerable versions. + + 17 Jul 2008; Kenneth Prugh <ken69267@gentoo.org> wireshark-1.0.2.ebuild: + amd64 stable, bug #231587 + + 15 Jul 2008; Tobias Scherbaum <dertobi123@gentoo.org> + wireshark-1.0.2.ebuild: + ppc stable, bug #231587 + + 15 Jul 2008; Markus Rothe <corsair@gentoo.org> wireshark-1.0.2.ebuild: + Stable on ppc64; bug #231587 + + 14 Jul 2008; Jeroen Roovers <jer@gentoo.org> wireshark-1.0.2.ebuild: + Stable for HPPA (bug #231587). + + 13 Jul 2008; Raúl Porcel <armin76@gentoo.org> wireshark-1.0.2.ebuild: + alpha/ia64/sparc/x86 stable wrt #231587 + +*wireshark-1.0.2 (12 Jul 2008) + + 12 Jul 2008; Marcelo Goes <vanquirius@gentoo.org> +wireshark-1.0.2.ebuild: + 1.0.2 version bump for security bug 231587. Thanks to 7v5w7go9ub0o + <7v5w7go9ub0o at gmail dot com>. + + 05 Jul 2008; Markus Meier <maekke@gentoo.org> wireshark-1.0.1.ebuild: + amd64 stable, bug #230411 + + 05 Jul 2008; Brent Baude <ranger@gentoo.org> wireshark-1.0.1.ebuild: + Marking wireshark-1.0.1 ppc64 for bug 230411 + + 05 Jul 2008; Tobias Scherbaum <dertobi123@gentoo.org> + wireshark-1.0.1.ebuild: + ppc stable, bug #230411 + + 04 Jul 2008; Jeroen Roovers <jer@gentoo.org> wireshark-1.0.1.ebuild: + Stable for HPPA (bug #230411). + + 03 Jul 2008; Raúl Porcel <armin76@gentoo.org> wireshark-1.0.1.ebuild: + alpha/ia64/sparc/x86 stable wrt #230411 + +*wireshark-1.0.1 (03 Jul 2008) + + 03 Jul 2008; Peter Volkov <pva@gentoo.org> + -files/wireshark-0.99.8-libpcap-compile.patch, -wireshark-0.99.8.ebuild, + +wireshark-1.0.1.ebuild: + Version bump, bug #230411, thank 7v5w7go9ub0o for report. + + 10 Apr 2008; Peter Volkov <pva@gentoo.org> wireshark-1.0.0.ebuild: + cap_kill is not required in wireshark-1.0.0, bug #217061, thank Justin + Bronder for report. + + 03 Apr 2008; Tobias Scherbaum <dertobi123@gentoo.org> + wireshark-1.0.0.ebuild: + ppc stable, bug #215276 + + 03 Apr 2008; Peter Volkov <pva@gentoo.org> wireshark-1.0.0.ebuild: + Fixed build with profile USE flag and -fomit-frame-pointer, bug #215806, + thank Joel Thompson for report and Mikael Magnusson for solution. + + 02 Apr 2008; Markus Rothe <corsair@gentoo.org> wireshark-1.0.0.ebuild: + Stable on ppc64; bug #215276 + + 02 Apr 2008; Jeroen Roovers <jer@gentoo.org> wireshark-1.0.0.ebuild: + Stable for HPPA (bug #215276). + + 02 Apr 2008; Raúl Porcel <armin76@gentoo.org> wireshark-1.0.0.ebuild: + alpha/ia64/sparc stable wrt security #215276 + + 02 Apr 2008; Christian Faulhammer <opfer@gentoo.org> + wireshark-1.0.0.ebuild: + stable x86, security bug 215276 + + 02 Apr 2008; Richard Freeman <rich0@gentoo.org> wireshark-1.0.0.ebuild: + amd64 stable - 215276 + +*wireshark-1.0.0 (01 Apr 2008) + + 01 Apr 2008; Peter Volkov <pva@gentoo.org> + -files/wireshark-1.0.0_rc1-fix-setcap-EPERM.patch, + -files/wireshark-1.0.0_rc1-fix-stop-capture.patch, + -wireshark-1.0.0_rc1.ebuild, -wireshark-1.0.0_rc1-r1.ebuild, + +wireshark-1.0.0.ebuild: + Version bump, as usual security fixes, bug #215276, thank Robert Buchholz + and Christian Faulhammer for report. + +*wireshark-1.0.0_rc1-r1 (23 Mar 2008) + + 23 Mar 2008; Peter Volkov <pva@gentoo.org> + +files/wireshark-1.0.0_rc1-fix-setcap-EPERM.patch, + +files/wireshark-1.0.0_rc1-fix-stop-capture.patch, + +wireshark-1.0.0_rc1-r1.ebuild: + Fix wireshark stop when built with caps. + +*wireshark-1.0.0_rc1 (19 Mar 2008) + + 19 Mar 2008; Peter Volkov <pva@gentoo.org> + -files/wireshark-0.99.7-libgcrypt.patch, -wireshark-0.99.7.ebuild, + +wireshark-1.0.0_rc1.ebuild: + Bump to 1.0.0pre1. Removed old vulnerable. + + 19 Mar 2008; Markus Rothe <corsair@gentoo.org> wireshark-0.99.8.ebuild: + Stable on ppc64; bug #212149 + + 18 Mar 2008; Peter Volkov <pva@gentoo.org> + -files/wireshark-0.99.7-crash-emem.c.patch, + -files/wireshark-0.99.7-exit.patch, + -files/wireshark-0.99.7-glib-1.2-compile-fix.patch, + -wireshark-0.99.7-r1.ebuild, -wireshark-0.99.7-r2.ebuild, + -wireshark-0.99.8_rc1.ebuild, wireshark-0.99.8.ebuild: + Removed unused ebuilds. Made pcap USE flag enabled by default to avoid + further questions why wireshark is unable to capture packets. + + 18 Mar 2008; Tobias Scherbaum <dertobi123@gentoo.org> + wireshark-0.99.8.ebuild: + ppc stable, bug #212149 + + 18 Mar 2008; Raúl Porcel <armin76@gentoo.org> wireshark-0.99.8.ebuild: + alpha/ia64/sparc stable wrt security #212149 + + 17 Mar 2008; Jeroen Roovers <jer@gentoo.org> wireshark-0.99.8.ebuild: + Stable for HPPA (bug #212149). + + 17 Mar 2008; Peter Volkov <pva@gentoo.org> wireshark-0.99.8.ebuild: + Fixed build problem with heimdal, bug #213705, thank Doug Goldstein for + report. + + 17 Mar 2008; Dawid Węgliński <cla@gentoo.org> wireshark-0.99.8.ebuild: + Stable on x86 (bug #212149) + + 17 Mar 2008; Olivier Crête <tester@gentoo.org> wireshark-0.99.8.ebuild: + Stable on amd64, bug #212149 + + 17 Mar 2008; Peter Volkov <pva@gentoo.org> + +files/wireshark-0.99.8-libpcap-compile.patch: + Missed patch added, thank steev for IRC notification. + +*wireshark-0.99.8 (16 Mar 2008) + + 16 Mar 2008; Peter Volkov <pva@gentoo.org> +wireshark-0.99.8.ebuild: + Finally version bump, fixes security bug #212149, reported by Robert + Buchholz. Fixes libsmi autodep, bug #211324, reported by Fabio Erculiani. + Many other fixes here and there... Dropped check for minimal USE flag in perl. + + 21 Feb 2008; <pva@gentoo.org> +files/wireshark-0.99.8-as-needed.patch, + wireshark-0.99.8_rc1.ebuild: + Fixed regression: compilation failure with --as-needed, bug 210998, reported + by Mike Auty and Hanno Böck. + +*wireshark-0.99.8_rc1 (20 Feb 2008) + + 20 Feb 2008; <pva@gentoo.org> metadata.xml, +wireshark-0.99.8_rc1.ebuild: + Version bump to pre-release. Took maintainance. + +*wireshark-0.99.7-r2 (27 Jan 2008) + + 27 Jan 2008; <pva@gentoo.org> + +files/wireshark-0.99.7-glib-1.2-compile-fix.patch, + +wireshark-0.99.7-r2.ebuild: + Enable lua support, bug 206151, thank you Jaroslaw Niec <zuljin AT go2.pl>. + +*wireshark-0.99.7-r1 (10 Jan 2008) + + 10 Jan 2008; <pva@gentoo.org> -files/wireshark-0.99.6-asneeded.patch, + -files/wireshark-0.99.6-asneeded-r1.patch, + -files/wireshark-0.99.6-gint64-warnings.patch, + -files/wireshark-0.99.6-libgcrypt.patch, -files/wireshark-0.99.6-lm.patch, + +files/wireshark-0.99.7-crash-emem.c.patch, + +files/wireshark-0.99.7-exit.patch, + -files/wireshark-epan_dissectors_packet-diameter.diff, + -wireshark-0.99.6.ebuild, -wireshark-0.99.6-r1.ebuild, + +wireshark-0.99.7-r1.ebuild: + Fixed crash on bad bLength. Fixed crash if user is not in wireshark group, + thank you M. Edward Borasky <znmeb AT cesmail.net> for report and Kevin Pyle + <kevin.pyle AT bluecoat.com> for investigation and work with upstream to + make this fixed. Removed old and vulnerable. + + 26 Dec 2007; Peter Weller <welp@gentoo.org> wireshark-0.99.7.ebuild: + Stable on amd64; bug 199958 + + 24 Dec 2007; Raúl Porcel <armin76@gentoo.org> wireshark-0.99.7.ebuild: + alpha/ia64/sparc stable wrt #199958 + + 24 Dec 2007; Jeroen Roovers <jer@gentoo.org> wireshark-0.99.7.ebuild: + Stable for HPPA (bug #199958). + + 23 Dec 2007; Markus Meier <maekke@gentoo.org> wireshark-0.99.7.ebuild: + x86 stable, security bug #199958 + + 23 Dec 2007; Brent Baude <ranger@gentoo.org> wireshark-0.99.7.ebuild: + Marking wireshark-0.99.7 ppc and ppc64 stable for bug 199958 + + 20 Dec 2007; <pva@gentoo.org> +files/wireshark-0.99.7-asneeded.patch, + +files/wireshark-0.99.7-libgcrypt.patch: + Missed patches added, bug 202866 reported by <kroemmelbein AT gmx.de> + +*wireshark-0.99.7 (20 Dec 2007) + + 20 Dec 2007; <pva@gentoo.org> +wireshark-0.99.7.ebuild: + New release. Fixes security issues, bug #199958. Thank Robert Buchholz <rbu + AT gentoo.org> for lots of usefull suggestions on how to improve ebuild. + + 02 Aug 2007; Raphael Marichez <falco@gentoo.org> wireshark-0.99.6.ebuild, + wireshark-0.99.6-r1.ebuild: + Remove redundant econf lines, reported by steev + + 26 Jul 2007; Chris Gianelloni <wolf31o2@gentoo.org> + wireshark-0.99.6.ebuild, wireshark-0.99.6-r1.ebuild: + Cosmetic changes only... rearranged some of the post-merge output so it fits + properly on 80 columns. + + 24 Jul 2007; Markus Ullmann <jokey@gentoo.org> + -files/wireshark-0.99.5-sizet.patch, -wireshark-0.99.5.ebuild: + Clean out old stuff + +*wireshark-0.99.6-r1 (24 Jul 2007) + + 24 Jul 2007; <pva@gentoo.org> +files/wireshark-0.99.6-asneeded-r1.patch, + +files/wireshark-0.99.6-gint64-warnings.patch, + +files/wireshark-0.99.6-libgcrypt.patch, +files/wireshark-0.99.6-lm.patch, + +wireshark-0.99.6-r1.ebuild: + Fixed -lm problem with ulibc (bug #186424; thank Natanael Copa + <natanael.copa AT gmail.com> for report. Commited fix for bug #184529 and + enabled warnings treated as errors for gtk-2.0 build like upstream wants us. + Fix for libgcrypt problem reported by armin76 and fixed by drac. + + 20 Jul 2007; Tobias Scherbaum <dertobi123@gentoo.org> + wireshark-0.99.6.ebuild: + ppc stable, bug #183520 + + 16 Jul 2007; Jeroen Roovers <jer@gentoo.org> wireshark-0.99.6.ebuild: + Stable for HPPA (bug #183520). + + 16 Jul 2007; Markus Rothe <corsair@gentoo.org> wireshark-0.99.6.ebuild: + Stable on ppc64; bug #183520 + + 16 Jul 2007; Marcus D. Hanwell <cryos@gentoo.org> wireshark-0.99.6.ebuild: + Marked stable on amd64, bug 183520. + + 16 Jul 2007; Raúl Porcel <armin76@gentoo.org> wireshark-0.99.6.ebuild: + alpha/ia64/x86 stable wrt security #183520 + + 16 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org> + wireshark-0.99.6.ebuild: + Stable on sparc wrt security #183520 + + 15 Jul 2007; Samuli Suominen <drac@gentoo.org> + +files/wireshark-0.99.6-asneeded.patch, wireshark-0.99.6.ebuild: + Fix building with asneeded for bug 184668. + + 09 Jul 2007; Raúl Porcel <armin76@gentoo.org> wireshark-0.99.6.ebuild: + Fix bug #184529, blame Jokey + +*wireshark-0.99.6 (06 Jul 2007) + + 06 Jul 2007; Markus Ullmann <jokey@gentoo.org> +wireshark-0.99.6.ebuild: + Security version bump wrt bug #183520 + + 18 Apr 2007; Markus Ullmann <jokey@gentoo.org> -wireshark-0.99.4.ebuild, + -wireshark-0.99.4-r1.ebuild, wireshark-0.99.5.ebuild: + Fix gcc 3.4 bug #165340 thanks to Guenther Brunthaler for the solution, do + some cleanup as well + + 17 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org> + wireshark-0.99.5.ebuild: + Stable on sparc wrt #174625 + + 17 Apr 2007; Bryan Østergaard <kloeri@gentoo.org> + wireshark-0.99.5.ebuild: + Stable on Alpha, bug 174625. + + 16 Apr 2007; Raúl Porcel <armin76@gentoo.org> wireshark-0.99.5.ebuild: + ia64 stable wrt bug 174625 + + 15 Apr 2007; Andrej Kacian <ticho@gentoo.org> wireshark-0.99.5.ebuild: + Stable on x86, bug #174625. + + 15 Apr 2007; Markus Rothe <corsair@gentoo.org> wireshark-0.99.5.ebuild: + Stable on ppc64; bug #174625 + + 15 Apr 2007; Olivier Crête <tester@gentoo.org> wireshark-0.99.5.ebuild: + Stable on amd64, bug #174625 + + 14 Apr 2007; Jeroen Roovers <jer@gentoo.org> wireshark-0.99.5.ebuild: + Stable for HPPA (bug #174625). + + 24 Feb 2007; Daniel Black <dragonheart@gentoo.org> + wireshark-0.99.4.ebuild, wireshark-0.99.4-r1.ebuild, + wireshark-0.99.5.ebuild: + removed unused autotools import thanks to Flameeyes + + 16 Feb 2007; Daniel Black <dragonheart@gentoo.org> + +files/wireshark-0.99.5-sizet.patch, wireshark-0.99.5.ebuild: + upstream patch to fix bug #165896 - hopefully + + 10 Feb 2007; Martin Jackson <mjolnir@gentoo.org> + +files/wireshark-epan_dissectors_packet-diameter.diff, + wireshark-0.99.5.ebuild: + Add patch from FC3/FreeBSD to fix GCC 3.4 link error (#165340) + +*wireshark-0.99.5 (03 Feb 2007) + + 03 Feb 2007; Marcelo Goes <vanquirius@gentoo.org> + +wireshark-0.99.5.ebuild: + 0.99.5 version bump for bug 165077, reported by Executioner <executioner at + phobik dot org>. + + 16 Nov 2006; Roy Marples <uberlord@gentoo.org> wireshark-0.99.4.ebuild, + wireshark-0.99.4-r1.ebuild: + Added ~x86-fbsd keyword. + +*wireshark-0.99.4-r1 (12 Nov 2006) + + 12 Nov 2006; Daniel Black <dragonheart@gentoo.org> + +files/wireshark-except-double-free.diff, -wireshark-0.99.3.ebuild, + +wireshark-0.99.4-r1.ebuild: + Thanks a7x, didier who made great efforts with upstream to prove it was a + Gentoo compiler bug. bug #145974 and bug #133092. removed sec vulnerable + version + + 05 Nov 2006; Brent Baude <ranger@gentoo.org> wireshark-0.99.4.ebuild: + Marking wireshark-0.99.4 ppc64 stable for bug #152951 + + 02 Nov 2006; Olivier Crête <tester@gentoo.org> wireshark-0.99.4.ebuild: + Stable on amd64 for security bug #152951 + + 02 Nov 2006; Jeroen Roovers <jer@gentoo.org> wireshark-0.99.4.ebuild: + Stable for HPPA (bug #152951). + + 01 Nov 2006; Bryan Østergaard <kloeri@gentoo.org> + wireshark-0.99.4.ebuild: + Stable on ia64, bug 152951. + + 01 Nov 2006; Bryan Østergaard <kloeri@gentoo.org> + wireshark-0.99.4.ebuild: + Stable on Alpha, bug 152951. + + 01 Nov 2006; Andrej Kacian <ticho@gentoo.org> wireshark-0.99.4.ebuild: + Stable on x86, security bug #152951. + + 01 Nov 2006; Gustavo Zacarias <gustavoz@gentoo.org> + wireshark-0.99.4.ebuild: + Stable on sparc wrt security #152951 + + 01 Nov 2006; Tobias Scherbaum <dertobi123@gentoo.org> + wireshark-0.99.4.ebuild: + ppc stable, bug #152951 + +*wireshark-0.99.4 (01 Nov 2006) + + 01 Nov 2006; Daniel Black <dragonheart@gentoo.org> + +wireshark-0.99.4.ebuild: + version bump as per security bug #152951. Also fixes dead symlink - bug + #145067, wifiscanner & wireshark: File collision /usr/lib/libwiretap.la bug + #146286 + + 18 Sep 2006; Benjamin Smee <strerror@gentoo.org> wireshark-0.99.3.ebuild: + Small change for bug #147814 + + 12 Sep 2006; Markus Ullmann <jokey@gentoo.org> wireshark-0.99.3.ebuild: + Fixing built_with_use check for non-existant IUSE ( bug #146839 ) + + 30 Aug 2006; Daniel Black <dragonheart@gentoo.org> + wireshark-0.99.3.ebuild: + changed description to emerge -s ethereal will find it + + 29 Aug 2006; Bryan Østergaard <kloeri@gentoo.org> + wireshark-0.99.3.ebuild: + Stable on ia64. + + 27 Aug 2006; Daniel Black <dragonheart@gentoo.org> + -files/wireshark-0.99.2-libgcrypt-asneeded.patch, + -wireshark-0.99.2.ebuild: + purge vulnerable version + + 27 Aug 2006; Rene Nussbaumer <killerfox@gentoo.org> + wireshark-0.99.3.ebuild: + Stable on hppa. See bug #144946. + + 25 Aug 2006; Daniel Black <dragonheart@gentoo.org> + wireshark-0.99.3.ebuild: + seemed to have dropped hppa - re-added + + 25 Aug 2006; Bryan Østergaard <kloeri@gentoo.org> + wireshark-0.99.3.ebuild: + Stable on alpha, bug 144946. + + 25 Aug 2006; Olivier Crête <tester@gentoo.org> wireshark-0.99.3.ebuild: + Stable on amd64 per security bug #144946 + + 25 Aug 2006; <ticho@gentoo.org> wireshark-0.99.3.ebuild: + Stable on x86, security bug #144946. + + 25 Aug 2006; Jason Wever <weeve@gentoo.org> wireshark-0.99.3.ebuild: + Stable on SPARC wrt security bug #144946. + + 24 Aug 2006; Tobias Scherbaum <dertobi123@gentoo.org> + wireshark-0.99.3.ebuild: + ppc stable, bug #144946 + + 24 Aug 2006; Markus Rothe <corsair@gentoo.org> wireshark-0.99.3.ebuild: + Stable on ppc64; bug #144946 + +*wireshark-0.99.3 (24 Aug 2006) + + 24 Aug 2006; Daniel Black <dragonheart@gentoo.org> + +wireshark-0.99.3.ebuild: + version bump - security bug #144946 + + 19 Aug 2006; Jeroen Roovers <jer@gentoo.org> wireshark-0.99.2.ebuild: + Stable for HPPA. + + 30 Jul 2006; Daniel Black <dragonheart@gentoo.org> + wireshark-0.99.2.ebuild: + added filter-flags -fstack-protector thanks to Richard Hansen and Kevin F. + Quinn see bug #133092 + + 25 Jul 2006; Daniel Black <dragonheart@gentoo.org> + wireshark-0.99.2.ebuild: + added RDEPEND on selinux-wireshark for USE=selinux. Thanks to Petre bug #141156 + removed RDEPEND=!net-analyzer in preparation for ethereal->wireshark move. + added ethereal -> wireshark and tethereal -> tshark symlinks thanks to + suggestion from solar + + 20 Jul 2006; Gustavo Zacarias <gustavoz@gentoo.org> + wireshark-0.99.2.ebuild: + Stable on sparc wrt security #140856 + + 20 Jul 2006; Joshua Jackson <tsunam@gentoo.org> wireshark-0.99.2.ebuild: + Stable x86; bug #140856 + + 19 Jul 2006; Daniel Black <dragonheart@gentoo.org> + +files/wireshark-0.99.2-libgcrypt-asneeded.patch, wireshark-0.99.2.ebuild: + added patch to include gcrypt libraries to solve bug #141021. Thanks to + Alberto Ornaghi for the bug report + + 19 Jul 2006; Simon Stelling <blubb@gentoo.org> wireshark-0.99.2.ebuild: + stable wrt bug 140856 + + 19 Jul 2006; Tobias Scherbaum <dertobi123@gentoo.org> + wireshark-0.99.2.ebuild: + ppc stable, bug #140856 + + 19 Jul 2006; <tcort@gentoo.org> wireshark-0.99.2.ebuild: + Stable on alpha wrt security Bug #140856. + + 19 Jul 2006; Markus Rothe <corsair@gentoo.org> wireshark-0.99.2.ebuild: + Stable on ppc64; bug #140856 + +*wireshark-0.99.2 (18 Jul 2006) + + 18 Jul 2006; Markus Ullmann <jokey@gentoo.org> + -files/wireshark-0.99.1_pre1-as-needed.patch, + -wireshark-0.99.1_pre1.ebuild, +wireshark-0.99.2.ebuild: + Security version bump wrt bug #140856 + + 17 Jul 2006; Daniel Black <dragonheart@gentoo.org> + wireshark-0.99.1_pre1.ebuild: + added keywords (~alpha ~ia64 ~ppc64) as this is off the same codebase as + ethereal - bug #136729 + + 16 Jul 2006; Daniel Gryniewicz <dang@gentoo.org> + wireshark-0.99.1_pre1.ebuild: + Marked ~amd64 per bug #136729 + + 15 Jul 2006; Stephanie Lockwood-Childs <wormo@gentoo.org> + wireshark-0.99.1_pre1.ebuild: + mark ~ppc (Bug #136729) + + 01 Jul 2006; Jason Wever <weeve@gentoo.org> wireshark-0.99.1_pre1.ebuild: + Added ~sparc keyword. + +*wireshark-0.99.1_pre1 (30 Jun 2006) + + 30 Jun 2006; Markus Ullmann <jokey@gentoo.org> + +files/wireshark-0.99.1_pre1-as-needed.patch, +metadata.xml, + +wireshark-0.99.1_pre1.ebuild: + Initial import, fixes bug #136729 , thanks to gentooperson@yahoo.com for + providing an ebuild + diff --git a/net-analyzer/wireshark/Manifest b/net-analyzer/wireshark/Manifest new file mode 100644 index 0000000..ed64f7e --- /dev/null +++ b/net-analyzer/wireshark/Manifest @@ -0,0 +1,11 @@ +AUX wireshark-0.99.7-asneeded.patch 339 RMD160 faa516dd3dfd8bd6218f66d3bedb5490b0896f5b SHA1 ec2b8952f8fe55471e923c086a6e9b48e06ce7a8 SHA256 9fc8b3ec3fcf1cca714c78c28c1883503abfcfce4fe175e43c6d7ec14ddc9478 +AUX wireshark-0.99.8-as-needed.patch 395 RMD160 2e06f641e9789db717544bfd1568e4bf6e85855c SHA1 a18b6fcc85b40c00fc1d30bcdfc81d13dc33e904 SHA256 d2f996a79fa3117296b25c10a1d4a3f0f8027a678de4e37e6c60bfb47a4754b9 +AUX wireshark-1.0-sigpipe.patch 850 RMD160 a240a1317681516d207ca1694b0e44584008530b SHA1 8f127c22daa77ce9f658f3b1d3f897e428ee9dde SHA256 3a5130838a48b65cb21b4e25913347cee05689b4641c1dfb407facf9fa4f9f59 +AUX wireshark-1.0.5-text2pcap-protos.patch 487 RMD160 20e64be01b281c48516969c508c04455111de300 SHA1 432751cd931baefba3bd13cfa07c3d9863b7c82e SHA256 991e12325670c81f4927c6dc2b665eb8c8938d8f3f0cdfab58601dd37a00d8a4 +AUX wireshark-1.1.2--as-needed.patch 830 RMD160 fd192d107147c65ef52625b51b59a2bf4e2f65c3 SHA1 7a743a42542fa59423870a0205e8ed7aa6bde70e SHA256 34aa27c611021c9a515cc4fed9778148395761bf6f4272130d3e83abcc13a499 +AUX wireshark-1.1.2-misc-warnings.patch 765 RMD160 bcbbf41997bb7ce4dbd0eb2cd91c68ff3f7fe0c5 SHA1 07f6c89a8c970bd61ca954c1a6f6e2553f724cf0 SHA256 99702eadabac8e8b0447f7765a37d2ccd1a81e5be57430d64ba1142ceefa55aa +AUX wireshark-except-double-free.diff 664 RMD160 2b61f03f5148975f6438351c11de18a500deabc5 SHA1 0239e19ba0ebd2cfb4ab4987a8a4c56646cd9250 SHA256 dc02a5f3e4bdbd128a2ba08f38880358f747661a93ca0b3fe1918c67b255c369 +DIST wireshark-1.1.2.tar.gz 18365823 RMD160 19898543f9d7d7544a5547f823b7d8bdd6d01b48 SHA1 e02a4344a14ad508d99add35ab2cdca5786e7fa2 SHA256 a4f91012c8e2aff275dc6463389d118aa29898e8b488e2fc7de0f5ff19414e3b +EBUILD wireshark-1.1.2.ebuild 4851 RMD160 feb5ad27290b4b993025754d237ef692eaa6194d SHA1 9b993fadbc4b9383bb2bbc1230fafc5525e5c05b SHA256 d4304f338360ecece52ab50e5bda5f89c3b0d2104081ae787607456142b481cc +MISC ChangeLog 23618 RMD160 bde1ea788343bddaccae96c53466ed2a7672a896 SHA1 cc834641586c7a49ecdf99a98f96b17963effed1 SHA256 07299d18b81b0000912c38be07ae559173ad6d769023c8f6cf43c65177068283 +MISC metadata.xml 2154 RMD160 01af8905d25e6c387902d30766daedcd37d94e0e SHA1 d68e79d413654ce72c553d508d7aa96f27fe85b5 SHA256 48c540fcec9cf1e5eebe132d7f90e8330b413f4eb6469761a88720eaa6a2233a diff --git a/net-analyzer/wireshark/files/wireshark-0.99.7-asneeded.patch b/net-analyzer/wireshark/files/wireshark-0.99.7-asneeded.patch new file mode 100644 index 0000000..3606936 --- /dev/null +++ b/net-analyzer/wireshark/files/wireshark-0.99.7-asneeded.patch @@ -0,0 +1,10 @@ +--- ./epan/dissectors/Makefile.am.orig 2007-12-11 16:38:03.000000000 +0300 ++++ ./epan/dissectors/Makefile.am 2007-12-11 16:38:37.000000000 +0300 +@@ -32,6 +32,7 @@ + + libasndissectors_la_SOURCES = \ + $(ASN_DISSECTOR_SRC) ++libasndissectors_la_LIBADD = ../../wiretap/libwiretap.la + + libpidldissectors_la_SOURCES = \ + $(PIDL_DISSECTOR_SRC) diff --git a/net-analyzer/wireshark/files/wireshark-0.99.8-as-needed.patch b/net-analyzer/wireshark/files/wireshark-0.99.8-as-needed.patch new file mode 100644 index 0000000..df495f8 --- /dev/null +++ b/net-analyzer/wireshark/files/wireshark-0.99.8-as-needed.patch @@ -0,0 +1,11 @@ +--- wiretap/Makefile.am.orig 2008-02-21 23:11:41.000000000 +0300 ++++ wiretap/Makefile.am 2008-02-21 23:12:08.000000000 +0300 +@@ -67,7 +67,7 @@ + $(GENERATOR_FILES) \ + $(GENERATED_FILES) + +-libwiretap_la_LIBADD = libwiretap_generated.la ++libwiretap_la_LIBADD = libwiretap_generated.la $(GLIB_LIBS) + libwiretap_la_DEPENDENCIES = libwiretap_generated.la + + RUNLEX = $(top_srcdir)/tools/runlex.sh diff --git a/net-analyzer/wireshark/files/wireshark-1.0-sigpipe.patch b/net-analyzer/wireshark/files/wireshark-1.0-sigpipe.patch new file mode 100644 index 0000000..ad81e38 --- /dev/null +++ b/net-analyzer/wireshark/files/wireshark-1.0-sigpipe.patch @@ -0,0 +1,31 @@ +https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1740 +https://bugs.gentoo.org/show_bug.cgi?id=260457 + +=== modified file 'capture_opts.c' +--- capture_opts.c 2009-03-05 16:59:51 +0000 ++++ capture_opts.c 2009-03-05 17:06:49 +0000 +@@ -59,6 +59,7 @@ + # include "inet_v6defs.h" + #endif + ++#include <signal.h> + #include <glib.h> + + #include <epan/packet.h> +@@ -759,6 +760,15 @@ + "Dropped"); + } + ++#ifndef _WIN32 ++ /* handle SIGPIPE signal to default action */ ++ struct sigaction act; ++ act.sa_handler = SIG_DFL; ++ sigemptyset(&act.sa_mask); ++ act.sa_flags = SA_RESTART; ++ sigaction(SIGPIPE,&act,NULL); ++#endif ++ + while (1) { /* XXX - Add signal handling? */ + for (stat_entry = g_list_first(stat_list); stat_entry != NULL; stat_entry = g_list_next(stat_entry)) { + if_stat = stat_entry->data; + diff --git a/net-analyzer/wireshark/files/wireshark-1.0.5-text2pcap-protos.patch b/net-analyzer/wireshark/files/wireshark-1.0.5-text2pcap-protos.patch new file mode 100644 index 0000000..eed2df1 --- /dev/null +++ b/net-analyzer/wireshark/files/wireshark-1.0.5-text2pcap-protos.patch @@ -0,0 +1,18 @@ +defining _XOPEN_SOURCE to nothing means the oldest version which means glibc +will not provide the strdup() prototype. this leads to an implicit decl which +leads to a return type of "int" -- 32bits of a ptr on a 64bit arch leads to +kaboom. + +https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3161 + +--- text2pcap.c ++++ text2pcap.c +@@ -90,7 +90,7 @@ + # define __USE_XOPEN + #endif + #ifndef _XOPEN_SOURCE +-# define _XOPEN_SOURCE ++# define _XOPEN_SOURCE 600 + #endif + + #include <ctype.h> diff --git a/net-analyzer/wireshark/files/wireshark-1.1.2--as-needed.patch b/net-analyzer/wireshark/files/wireshark-1.1.2--as-needed.patch new file mode 100644 index 0000000..7da659c --- /dev/null +++ b/net-analyzer/wireshark/files/wireshark-1.1.2--as-needed.patch @@ -0,0 +1,20 @@ +diff --git a/epan/Makefile.am b/epan/Makefile.am +index b2a569d..717e233 100644 +--- a/epan/Makefile.am ++++ b/epan/Makefile.am +@@ -130,6 +130,7 @@ libwireshark_la_LIBADD = \ + dissectors/libdirtydissectors.la $(wslua_lib) @SOCKET_LIBS@ @NSL_LIBS@ \ + @C_ARES_LIBS@ @ADNS_LIBS@ @LIBGCRYPT_LIBS@ @LIBGNUTLS_LIBS@ \ + @KRB5_LIBS@ @SSL_LIBS@ @LIBSMI_LDFLAGS@ @GEOIP_LIBS@ \ ++ ${top_builddir}/wiretap/libwiretap.la \ + ${top_builddir}/wsutil/libwsutil.la -lm + + libwireshark_la_DEPENDENCIES = \ +@@ -137,6 +138,7 @@ libwireshark_la_DEPENDENCIES = \ + libwireshark_asmopt.la crypt/libairpdcap.la ftypes/libftypes.la \ + dfilter/libdfilter.la dissectors/libdissectors.la \ + dissectors/libdirtydissectors.la $(wslua_lib) \ ++ ${top_builddir}/wiretap/libwiretap.la \ + ${top_builddir}/wsutil/libwsutil.la + + #EXTRA_PROGRAMS = reassemble_test diff --git a/net-analyzer/wireshark/files/wireshark-1.1.2-misc-warnings.patch b/net-analyzer/wireshark/files/wireshark-1.1.2-misc-warnings.patch new file mode 100644 index 0000000..7a45394 --- /dev/null +++ b/net-analyzer/wireshark/files/wireshark-1.1.2-misc-warnings.patch @@ -0,0 +1,22 @@ +=== modified file 'epan/dissectors/packet-sflow.c' +--- epan/dissectors/packet-sflow.c 2009-03-08 10:18:22 +0000 ++++ epan/dissectors/packet-sflow.c 2009-03-08 10:22:32 +0000 +@@ -563,13 +563,13 @@ + { + guint32 header_proto, frame_length; + volatile guint32 header_length; +- tvbuff_t *next_tvb; +- proto_tree *sflow_header_tree; ++ tvbuff_t *volatile next_tvb; ++ proto_tree *volatile sflow_header_tree; + proto_item *ti; + /* stuff for saving column state before calling other dissectors. + * Thanks to Guy Harris for the tip. */ +- gboolean save_writable; +- gboolean save_in_error_pkt; ++ volatile gboolean save_writable; ++ volatile gboolean save_in_error_pkt; + volatile address save_dl_src; + volatile address save_dl_dst; + volatile address save_net_src; + diff --git a/net-analyzer/wireshark/files/wireshark-except-double-free.diff b/net-analyzer/wireshark/files/wireshark-except-double-free.diff new file mode 100644 index 0000000..a7ca896 --- /dev/null +++ b/net-analyzer/wireshark/files/wireshark-except-double-free.diff @@ -0,0 +1,16 @@ +Index: except.c +=================================================================== +--- except.c (revision 19876) ++++ except.c (working copy) +@@ -192,6 +192,11 @@ + + assert (top->except_type == XCEPT_CATCHER); + except_free(catcher->except_obj.except_dyndata); ++ /* make sure no else can free this pointer again ++ See http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1001 ++ http://bugs.gentoo.org/show_bug.cgi?id=133092 ++ http://bugs.gentoo.org/show_bug.cgi?id=145974 */ ++ catcher->except_obj.except_dyndata = NULL; + + for (i = 0; i < catcher->except_size; pi++, i++) { + if (match(&except->except_id, pi)) { diff --git a/net-analyzer/wireshark/metadata.xml b/net-analyzer/wireshark/metadata.xml new file mode 100644 index 0000000..059e62c --- /dev/null +++ b/net-analyzer/wireshark/metadata.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>netmon</herd> +<maintainer> + <email>pva@gentoo.org</email> + <name>Peter Volkov</name> +</maintainer> +<longdescription> + Wireshark is the world's foremost network protocol analyzer, and is the de + facto (and often de jure) standard across many industries and educational + institutions. Wireshark has a rich feature set which includes 1) deep + inspection of hundreds of protocols, with more being added all the time, 2) + live capture and offline analysis, 3) standard three-pane packet browser, 4) + captured network data can be browsed via a GUI, or via the TTY-mode TShark + utility, 5) the most powerful display filters in the industry, 6) rich VoIP + analysis, 7) read/write many different capture file formats: tcpdump + (libpcap), Catapult DCT2000, Cisco Secure IDS iplog, Microsoft Network + Monitor, Network General Sniffer® (compressed and uncompressed), Sniffer® + Pro, and NetXray®, Network Instruments Observer, Novell LANalyzer, RADCOM + WAN/LAN Analyzer, Shomiti/Finisar Surveyor, Tektronix K12xx, Visual Networks + Visual UpTime, WildPackets EtherPeek/TokenPeek/AiroPeek, and many others, 8) + capture files compressed with gzip can be decompressed on the fly, 9) live + data can be read from Ethernet, IEEE 802.11, PPP/HDLC, ATM, Bluetooth, USB, + Token Ring, Frame Relay, FDDI, and others, 10) decryption support for many + protocols, including IPsec, ISAKMP, Kerberos, SNMPv3, SSL/TLS, WEP, and + WPA/WPA2, 11) coloring rules can be applied to the packet list for quick, + intuitive analysis, 12) output can be exported to XML, PostScript®, CSV, or + plain text +</longdescription> +<use> +<flag name='gcrypt'>Use GNU crypto library (<pkg>dev-libs/libgcrypt</pkg>) to decrypt SSL traffic</flag> +<flag name='ares'>Use GNU <pkg>net-dns/c-ares</pkg> library to resolve DNS names</flag> +<flag name='pcap'>Use <pkg>net-libs/libpcap</pkg> for network packet capturing (build dumpcap, rawshark)</flag> +<flag name='smi'>Use <pkg>net-libs/libsmi</pkg> to resolve numeric OIDs into human readable format</flag> +</use> +</pkgmetadata> diff --git a/net-analyzer/wireshark/wireshark-1.1.2.ebuild b/net-analyzer/wireshark/wireshark-1.1.2.ebuild new file mode 100644 index 0000000..4b4eaae --- /dev/null +++ b/net-analyzer/wireshark/wireshark-1.1.2.ebuild @@ -0,0 +1,162 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/wireshark-1.1.2.ebuild,v 1.1 2009/01/19 09:40:18 pva Exp $ + +EAPI=1 +inherit autotools libtool flag-o-matic eutils toolchain-funcs + +DESCRIPTION="A network protocol analyzer formerly known as ethereal" +HOMEPAGE="http://www.wireshark.org/" + +# _rc versions has different download location. +[[ -n ${PV#*_rc} && ${PV#*_rc} != ${PV} ]] && { +SRC_URI="http://www.wireshark.org/download/prerelease/${PN}-${PV/_rc/pre}.tar.gz"; +S=${WORKDIR}/${PN}-${PV/_rc/pre} ; } || \ +SRC_URI="http://www.wireshark.org/download/src/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="adns ares +gtk ipv6 lua portaudio gnutls gcrypt geoip zlib kerberos threads profile smi +pcap pcre +caps selinux" + +RDEPEND=">=dev-libs/glib-2.4.0:2 + zlib? ( sys-libs/zlib ) + smi? ( net-libs/libsmi ) + gtk? ( >=x11-libs/gtk+-2.4.0:2 + x11-libs/pango + dev-libs/atk ) + gnutls? ( net-libs/gnutls ) + gcrypt? ( dev-libs/libgcrypt ) + pcap? ( net-libs/libpcap ) + pcre? ( dev-libs/libpcre ) + caps? ( sys-libs/libcap ) + kerberos? ( virtual/krb5 ) + portaudio? ( media-libs/portaudio ) + ares? ( >=net-dns/c-ares-1.5 ) + !ares? ( adns? ( net-libs/adns ) ) + geoip? ( dev-libs/geoip ) + lua? ( >=dev-lang/lua-5.1 ) + selinux? ( sec-policy/selinux-wireshark )" + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.15.0 + dev-lang/perl + sys-devel/bison + sys-devel/flex" + +pkg_setup() { + if ! use gtk; then + ewarn "USE=-gtk will means no gui called wireshark will be created and" + ewarn "only command line utils are available" + fi + + if use ares && use adns; then + einfo "You asked for both, ares and adns, but we can use only one of them." + einfo "c-ares supersedes adns resolver thus using c-ares (ares USE flag)." + myconf="$(use_with ares c-ares) --without-adns" + else + myconf="$(use_with adns) $(use_with ares c-ares)" + fi + + # Add group for users allowed to sniff. + enewgroup wireshark +} + +src_unpack() { + unpack ${A} + + # our hardened toolchain bug... + cd "${S}"/epan + epatch "${FILESDIR}/wireshark-except-double-free.diff" + + cd "${S}" + epatch "${FILESDIR}/${PN}-1.1.2--as-needed.patch" + epatch "${FILESDIR}/${P}-misc-warnings.patch" + eautoreconf +} + +src_compile() { + # optimization bug, see bug #165340, bug #40660 + if [[ $(gcc-version) == 3.4 ]] ; then + elog "Found gcc 3.4, forcing -O3 into CFLAGS" + replace-flags -O? -O3 + elif [[ $(gcc-version) == 3.3 || $(gcc-version) == 3.2 ]] ; then + elog "Found <=gcc-3.3, forcing -O into CFLAGS" + replace-flags -O? -O + fi + + # see bug #133092; bugs.wireshark.org/bugzilla/show_bug.cgi?id=1001 + # our hardened toolchain bug + filter-flags -fstack-protector + + # profile and -fomit-frame-pointer are incompatible, bug #215806 + use profile && filter-flags -fomit-frame-pointer + + # Workaround bug #213705. If krb5-config --libs has -lcrypto then pass + # --with-ssl to ./configure. (Mimics code from acinclude.m4). + if use kerberos; then + case `krb5-config --libs` in + *-lcrypto*) myconf="${myconf} --with-ssl" ;; + esac + fi + + # dumpcap requires libcap, setuid-install requires dumpcap + econf $(use_enable gtk wireshark) \ + $(use_enable profile profile-build) \ + $(use_with gnutls) \ + $(use_with gcrypt) \ + $(use_enable ipv6) \ + $(use_enable threads) \ + $(use_with lua) \ + $(use_with kerberos krb5) \ + $(use_with smi libsmi) \ + $(use_with pcap) \ + $(use_with zlib) \ + $(use_with pcre) \ + $(use_with geoip) \ + $(use_with portaudio) \ + $(use_with caps libcap) \ + $(use_enable pcap setuid-install) \ + --sysconfdir=/etc/wireshark \ + ${myconf} + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + fowners 0:wireshark /usr/bin/tshark + fperms 6550 /usr/bin/tshark + use pcap && fowners 0:wireshark /usr/bin/dumpcap + use pcap && fperms 6550 /usr/bin/dumpcap + + insinto /usr/include/wiretap + doins wiretap/wtap.h + + # FAQ is not required as is installed from help/faq.txt + dodoc AUTHORS ChangeLog NEWS README{,.bsd,.linux,.macos,.vmware} doc/randpkt.txt + + if use gtk; then + for c in hi lo; do + for d in 16 32 48; do + insinto /usr/share/icons/${c}color/${d}x${d}/apps + newins image/${c}${d}-app-wireshark.png wireshark.png + done + done + insinto /usr/share/applications + doins wireshark.desktop + fi +} + +pkg_postinst() { + echo + ewarn "With version 0.99.7, all function calls that require elevated privileges" + ewarn "have been moved out of the GUI to dumpcap. WIRESHARK CONTAINS OVER ONE" + ewarn "POINT FIVE MILLION LINES OF SOURCE CODE. DO NOT RUN THEM AS ROOT." + ewarn + ewarn "NOTE: To run wireshark as normal user you have to add yourself into" + ewarn "wireshark group. This security measure ensures that only trusted" + ewarn "users allowed to sniff your traffic." + echo +} |