diff options
author | 2008-10-17 10:15:20 +0000 | |
---|---|---|
committer | 2008-10-17 10:15:20 +0000 | |
commit | 618abc856bb34c181d1a17b35aa4f0cdf8c7069b (patch) | |
tree | b454de15ea3adc9d94d7672dc64876b01f95553e /net-analyzer | |
parent | changelog email updated to g.o address (diff) | |
download | historical-618abc856bb34c181d1a17b35aa4f0cdf8c7069b.tar.gz historical-618abc856bb34c181d1a17b35aa4f0cdf8c7069b.tar.bz2 historical-618abc856bb34c181d1a17b35aa4f0cdf8c7069b.zip |
Fixed build issue with --as-needed and lua enabled. Fixed build issues with -ftracer, bug #239941, thank Thomas Pegeot for report.
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/wireshark/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/wireshark/Manifest | 6 | ||||
-rw-r--r-- | net-analyzer/wireshark/files/wireshark-1.1.1--as-needed.patch | 11 | ||||
-rw-r--r-- | net-analyzer/wireshark/files/wireshark-1.1.1-misc-warnings.patch | 134 | ||||
-rw-r--r-- | net-analyzer/wireshark/wireshark-1.1.1.ebuild | 7 |
5 files changed, 161 insertions, 5 deletions
diff --git a/net-analyzer/wireshark/ChangeLog b/net-analyzer/wireshark/ChangeLog index 7a2ac5d2d5a5..d9406615c15f 100644 --- a/net-analyzer/wireshark/ChangeLog +++ b/net-analyzer/wireshark/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/wireshark # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/ChangeLog,v 1.124 2008/10/10 19:14:20 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/ChangeLog,v 1.125 2008/10/17 10:15:20 pva Exp $ + + 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) diff --git a/net-analyzer/wireshark/Manifest b/net-analyzer/wireshark/Manifest index 535b12357d15..d80f64913296 100644 --- a/net-analyzer/wireshark/Manifest +++ b/net-analyzer/wireshark/Manifest @@ -1,9 +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.1.1--as-needed.patch 314 RMD160 5a9af8d8c1c2a6d2109413201659bd00f04a7bcd SHA1 87015021390434032716f244bc5432993c37f00f SHA256 f01cb55439c550c337f76354edd6f837e242544971a1f2dd3b45e911e75b42a7 +AUX wireshark-1.1.1-misc-warnings.patch 4670 RMD160 2de4bf9047358e17d26aa61861dd008d017a930f SHA1 27474af46f1a40ac97a744507103e8f08888fbd7 SHA256 c6fd74828754eadd7932acccee36828d0d6f511d327866a935afdc3beabaa4af AUX wireshark-except-double-free.diff 664 RMD160 2b61f03f5148975f6438351c11de18a500deabc5 SHA1 0239e19ba0ebd2cfb4ab4987a8a4c56646cd9250 SHA256 dc02a5f3e4bdbd128a2ba08f38880358f747661a93ca0b3fe1918c67b255c369 DIST wireshark-1.0.3.tar.bz2 13104737 RMD160 02714cf78ddc8aefb3506509ceb31d35b4402686 SHA1 4094c2ce9f49730e640b677ebb57dc33427e4517 SHA256 77896f306b56979243df95966d57d2a361f251f2cabf872bfaf9f897015eb3f2 DIST wireshark-1.1.1.tar.gz 17856811 RMD160 522a717e9163b844e452cb3d50376f113335aca9 SHA1 5d6d57a6e67b30fbbd8241c9305002d410a3e920 SHA256 e55f72b7910a4556411bace181e9ecdb3c7da6b8510ade7a632a5144cee4a94a EBUILD wireshark-1.0.3.ebuild 4981 RMD160 3011fd330a111acf197b1f535d855dc796a738ff SHA1 20f351fbeb0d2aea981155cfcd129adefbd3b386 SHA256 4849cdd99f2d1212667ec7d6004711821e15e24ea06f9305ae9c527fe7777a44 -EBUILD wireshark-1.1.1.ebuild 4712 RMD160 23240789590a6fa8d8fce78b214ee8556420d522 SHA1 58c3a60feccdf968723a06ccb7675816ce370be0 SHA256 89a615c9416e26a9f2a7a131273f7fe5c7755698c2c70a7a753a9a1801344144 -MISC ChangeLog 19304 RMD160 a3456884c1f910682c64093b28f0dc6bf415a695 SHA1 77f8446eeb86cecb69f00848544be0050c71ff9d SHA256 5f4e47e7b3a35d200c8212c0f4401e1bf11234c76eb8bc6088fd6e66a96f718b +EBUILD wireshark-1.1.1.ebuild 4891 RMD160 1b68420b53b1e73c42de3ebf3b410ffc88ef2aea SHA1 877adff1de6ace3a1926bf3c41386512ebe9556e SHA256 f1389e7ad825cfb357a2846a0a030ca6565f095aae2713684beede57547a3d35 +MISC ChangeLog 19598 RMD160 839b8287fe0a42d9f3b9f9e4436f643cac3b0de8 SHA1 e0131249642a942c5e6236e6591b6c50b501f636 SHA256 743f4c3a0aa273edb218a855d1a4aed0e287f028d91320c85ffb5a31baf3ec7d MISC metadata.xml 2154 RMD160 01af8905d25e6c387902d30766daedcd37d94e0e SHA1 d68e79d413654ce72c553d508d7aa96f27fe85b5 SHA256 48c540fcec9cf1e5eebe132d7f90e8330b413f4eb6469761a88720eaa6a2233a diff --git a/net-analyzer/wireshark/files/wireshark-1.1.1--as-needed.patch b/net-analyzer/wireshark/files/wireshark-1.1.1--as-needed.patch new file mode 100644 index 000000000000..bf708c5b98f8 --- /dev/null +++ b/net-analyzer/wireshark/files/wireshark-1.1.1--as-needed.patch @@ -0,0 +1,11 @@ +--- ./epan/wslua/Makefile.am.orig 2008-10-17 12:08:43.000000000 +0400 ++++ ./epan/wslua/Makefile.am 2008-10-17 12:08:48.000000000 +0400 +@@ -47,7 +47,7 @@ + init_wslua.c \ + wslua.h + +-libwslua_la_LIBADD = @LUA_LIBS@ ++libwslua_la_LIBADD = @LUA_LIBS@ ../../wiretap/libwiretap.la + + BUILT_SOURCES = \ + taps_wslua.c \ diff --git a/net-analyzer/wireshark/files/wireshark-1.1.1-misc-warnings.patch b/net-analyzer/wireshark/files/wireshark-1.1.1-misc-warnings.patch new file mode 100644 index 000000000000..8a5e26a0a4e9 --- /dev/null +++ b/net-analyzer/wireshark/files/wireshark-1.1.1-misc-warnings.patch @@ -0,0 +1,134 @@ +--- ./epan/dissectors/packet-ldp.c.orig 2008-10-16 22:58:47.000000000 +0400 ++++ ./epan/dissectors/packet-ldp.c 2008-10-16 22:59:03.000000000 +0400 +@@ -2484,7 +2484,7 @@ + int length_remaining; + guint16 plen; + int length; +- tvbuff_t *next_tvb; ++ tvbuff_t *volatile next_tvb; + + while (tvb_reported_length_remaining(tvb, offset) != 0) { + length_remaining = tvb_length_remaining(tvb, offset); +--- ./epan/dissectors/packet-tpkt.c.orig 2008-10-16 23:24:58.000000000 +0400 ++++ ./epan/dissectors/packet-tpkt.c 2008-10-16 23:25:27.000000000 +0400 +@@ -217,7 +217,7 @@ + int mgcp_version = 0; + int mgcp_reserved = 0; + volatile int length; +- tvbuff_t *next_tvb; ++ tvbuff_t *volatile next_tvb; + const char *saved_proto; + guint8 string[4]; + /* +@@ -372,7 +372,7 @@ + int length_remaining; + int data_len; + volatile int length; +- tvbuff_t *next_tvb; ++ tvbuff_t *volatile next_tvb; + const char *saved_proto; + + /* +--- ./epan/dissectors/packet-gssapi.c.orig 2008-10-16 22:55:09.000000000 +0400 ++++ ./epan/dissectors/packet-gssapi.c 2008-10-16 22:56:06.000000000 +0400 +@@ -172,8 +172,8 @@ + dissect_gssapi_work(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, + gboolean is_verifier) + { +- proto_item *item; +- proto_tree *subtree; ++ proto_item *volatile item; ++ proto_tree *volatile subtree; + volatile int return_offset = 0; + gssapi_conv_info_t *volatile gss_info; + gssapi_oid_value *oidvalue; +--- ./epan/dissectors/packet-tds.c.orig 2008-10-16 23:22:27.000000000 +0400 ++++ ./epan/dissectors/packet-tds.c 2008-10-16 23:22:40.000000000 +0400 +@@ -1725,7 +1725,7 @@ + guint8 type; + guint16 plen; + guint length; +- tvbuff_t *next_tvb; ++ tvbuff_t *volatile next_tvb; + proto_item *tds_item = NULL; + proto_tree *tds_tree = NULL; + +--- ./epan/dissectors/packet-isl.c.orig 2008-10-16 22:57:53.000000000 +0400 ++++ ./epan/dissectors/packet-isl.c 2008-10-16 22:58:15.000000000 +0400 +@@ -149,7 +149,7 @@ + { + proto_tree *volatile fh_tree = NULL; + proto_item *ti, *hidden_item; +- guint8 type; ++ volatile guint8 type; + volatile guint16 length; + gint captured_length; + tvbuff_t *volatile payload_tvb = NULL; +--- ./epan/dissectors/packet-ieee802154.c.orig 2008-10-16 22:56:53.000000000 +0400 ++++ ./epan/dissectors/packet-ieee802154.c 2008-10-16 22:57:23.000000000 +0400 +@@ -484,7 +484,7 @@ + static void + dissect_ieee802154_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint options) + { +- tvbuff_t *payload_tvb; ++ tvbuff_t *volatile payload_tvb; + proto_tree *volatile ieee802154_tree = NULL; + proto_item *volatile proto_root = NULL; + proto_item *ti; +--- ./epan/dissectors/packet-tr.c.orig 2008-10-16 23:25:37.000000000 +0400 ++++ ./epan/dissectors/packet-tr.c 2008-10-16 23:26:20.000000000 +0400 +@@ -326,10 +326,10 @@ + { + proto_tree *tr_tree, *bf_tree; + proto_item *ti, *hidden_item; +- int frame_type; + guint8 rcf1, rcf2; + tvbuff_t *next_tvb; + ++ volatile int frame_type; + volatile int fixoffset = 0; + volatile int source_routed = 0; + volatile guint8 trn_rif_bytes; +--- ./epan/dissectors/packet-bgp.c.orig 2008-10-16 22:40:35.000000000 +0400 ++++ ./epan/dissectors/packet-bgp.c 2008-10-16 22:49:31.000000000 +0400 +@@ -2623,7 +2623,7 @@ + } + + static void +-dissect_bgp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, ++dissect_bgp_pdu(tvbuff_t *volatile tvb, packet_info *pinfo, proto_tree *tree, + gboolean first) + { + guint16 bgp_len; /* Message length */ +@@ -2740,7 +2740,7 @@ + guint length_remaining; + guint length; + volatile gboolean first = TRUE; /* TRUE for the first BGP message in packet */ +- tvbuff_t *next_tvb; ++ tvbuff_t *volatile next_tvb; + + if (check_col(pinfo->cinfo, COL_PROTOCOL)) + col_set_str(pinfo->cinfo, COL_PROTOCOL, "BGP"); +--- ./epan/dissectors/packet-ethertype.c.orig 2008-10-16 22:51:48.000000000 +0400 ++++ ./epan/dissectors/packet-ethertype.c 2008-10-16 22:52:25.000000000 +0400 +@@ -193,7 +193,7 @@ + guint length_before; + gint captured_length, reported_length; + volatile gboolean dissector_found = FALSE; +- const char *saved_proto; ++ const char *volatile saved_proto; + + /* Add the Ethernet type to the protocol tree */ + if (tree) { +--- ./epan/dissectors/packet-vlan.c.orig 2008-10-16 23:26:42.000000000 +0400 ++++ ./epan/dissectors/packet-vlan.c 2008-10-16 23:27:07.000000000 +0400 +@@ -74,7 +74,8 @@ + dissect_vlan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) + { + proto_tree *ti; +- guint16 tci,encap_proto; ++ guint16 tci; ++ volatile guint16 encap_proto; + volatile gboolean is_802_2; + proto_tree *volatile vlan_tree; + diff --git a/net-analyzer/wireshark/wireshark-1.1.1.ebuild b/net-analyzer/wireshark/wireshark-1.1.1.ebuild index 96cc10e2bd3a..0be238641cb9 100644 --- a/net-analyzer/wireshark/wireshark-1.1.1.ebuild +++ b/net-analyzer/wireshark/wireshark-1.1.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/wireshark-1.1.1.ebuild,v 1.1 2008/10/10 19:14:20 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/wireshark-1.1.1.ebuild,v 1.2 2008/10/17 10:15:20 pva Exp $ EAPI=1 inherit autotools libtool flag-o-matic eutils toolchain-funcs @@ -67,9 +67,12 @@ src_unpack() { # our hardened toolchain bug... cd "${S}"/epan - epatch "${FILESDIR}"/wireshark-except-double-free.diff + epatch "${FILESDIR}/wireshark-except-double-free.diff" cd "${S}" + epatch "${FILESDIR}/${P}-misc-warnings.patch" + # made dependent on lua as generally dissectors shouldn't depend on wiretap + use lua && epatch "${FILESDIR}/${P}--as-needed.patch" eautoreconf } |