diff options
Diffstat (limited to 'net/ethereal/files')
-rw-r--r-- | net/ethereal/files/extra-patch-capture_loop.h | 11 | ||||
-rw-r--r-- | net/ethereal/files/patch-configure | 81 | ||||
-rw-r--r-- | net/ethereal/files/patch-epan_dissectors_packet-diameter.c | 19 | ||||
-rw-r--r-- | net/ethereal/files/patch-epan_dissectors_packet-radiotap.c | 198 | ||||
-rw-r--r-- | net/ethereal/files/patch-wiretap_configure | 20 |
5 files changed, 0 insertions, 329 deletions
diff --git a/net/ethereal/files/extra-patch-capture_loop.h b/net/ethereal/files/extra-patch-capture_loop.h deleted file mode 100644 index 157b80dba806..000000000000 --- a/net/ethereal/files/extra-patch-capture_loop.h +++ /dev/null @@ -1,11 +0,0 @@ ---- capture_loop.h.orig Sat Dec 31 01:44:43 2005 -+++ capture_loop.h Sat Dec 31 01:45:19 2005 -@@ -68,7 +68,7 @@ extern void capture_loop_stop(void); - * XXX - the various BSDs appear to define BSD in <sys/param.h>; we don't - * want to include it if it's not present on this platform, however. - */ --#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && \ -+#if !defined(__NetBSD__) && !defined(__OpenBSD__) && \ - !defined(__bsdi__) && !defined(__APPLE__) && !defined(_WIN32) && \ - !defined(__CYGWIN__) - # define MUST_DO_SELECT diff --git a/net/ethereal/files/patch-configure b/net/ethereal/files/patch-configure deleted file mode 100644 index 87b2baa4bdda..000000000000 --- a/net/ethereal/files/patch-configure +++ /dev/null @@ -1,81 +0,0 @@ ---- configure.orig Wed May 4 17:32:34 2005 -+++ configure Sat May 7 21:07:38 2005 -@@ -21806,6 +21806,7 @@ - else - GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags` - GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs` -+ GLIB_LIBS="-liconv $GLIB_LIBS" - glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \ - sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` - glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \ -@@ -21816,7 +21817,7 @@ - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $GLIB_CFLAGS" -- LIBS="$GLIB_LIBS $LIBS" -+ LIBS="$GLIB_LIBS -liconv $LIBS" - rm -f conf.glibtest - if test "$cross_compiling" = yes; then - echo $ac_n "cross compiling; assumed OK... $ac_c" -@@ -22452,6 +22453,7 @@ - else - GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags` - GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs` -+ GLIB_LIBS="-liconv $GLIB_LIBS" - glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \ - sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` - glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \ -@@ -22462,7 +22464,7 @@ - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $GLIB_CFLAGS" -- LIBS="$GLIB_LIBS $LIBS" -+ LIBS="$GLIB_LIBS -liconv $LIBS" - rm -f conf.glibtest - if test "$cross_compiling" = yes; then - echo $ac_n "cross compiling; assumed OK... $ac_c" -@@ -22683,7 +22685,7 @@ - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $GLIB_CFLAGS" --LIBS="$GLIB_LIBS $LIBS" -+LIBS="$GLIB_LIBS -liconv $LIBS" - if test "$cross_compiling" = yes; then - echo $ac_n "cross compiling; assumed OK... $ac_c" - ac_cv_glib_supports_modules=yes -@@ -27560,7 +27562,7 @@ - # - CFLAGS="$CFLAGS -I$krb5_dir/include" - CPPFLAGS="$CPPFLAGS -I$krb5_dir/include" -- ac_heimdal_version=`grep heimdal $krb5_dir/include/krb5.h | head -n 1 | sed 's/^.*heimdal.*$/HEIMDAL/'` -+ ac_heimdal_version=`grep heimdal $krb5_dir/include/krb5.h | head -n 1 | tr "[:lower:]" "[:upper:]" sed 's/^.*heimdal.*$/HEIMDAL/'` - ac_mit_version=`grep 'Massachusetts Institute of Technology' $krb5_dir/include/krb5.h | head -n 1 | sed 's/^.*Massachusetts Institute of Technology.*$/MIT/'` - ac_krb5_version="$ac_heimdal_version$ac_mit_version" - if test "x$ac_krb5_version" = "xHEIMDAL" -@@ -27618,7 +27620,7 @@ - - if test -x "$KRB5_CONFIG" - then -- KRB5_FLAGS=`"$KRB5_CONFIG" --cflags` -+ KRB5_FLAGS=`"$KRB5_CONFIG" --cflags | sed -e 's/@INCLUDE_des@//g'` - KRB5_LIBS=`"$KRB5_CONFIG" --libs` - CFLAGS="$CFLAGS $KRB5_FLAGS" - CPPFLAGS="$CPPFLAGS $KRB5_FLAGS" -@@ -29121,7 +29123,7 @@ - - - ac_save_LIBS="$LIBS" --LIBS="$GLIB_LIBS $LIBS" -+LIBS="$GLIB_LIBS -liconv $LIBS" - G_ASCII_STRTOULL_C="" - G_ASCII_STRTOULL_O="" - G_ASCII_STRTOULL_LO="" -@@ -30094,7 +30096,7 @@ - # - # The plugin dissectors reside in ./plugins/PROTO/ - # --PLUGIN_LIBS="-L../../epan -lethereal $GLIB_LIBS" -+PLUGIN_LIBS="-L../../epan -lethereal -liconv $GLIB_LIBS" - - - # diff --git a/net/ethereal/files/patch-epan_dissectors_packet-diameter.c b/net/ethereal/files/patch-epan_dissectors_packet-diameter.c deleted file mode 100644 index 4fc63bb0d227..000000000000 --- a/net/ethereal/files/patch-epan_dissectors_packet-diameter.c +++ /dev/null @@ -1,19 +0,0 @@ ---- epan/dissectors/packet-diameter.c.orig Thu May 12 03:07:06 2005 -+++ epan/dissectors/packet-diameter.c Thu May 12 02:54:14 2005 -@@ -2022,13 +2022,13 @@ - { "Flags", "diameter.flags", FT_UINT8, BASE_HEX, NULL, 0x0, - "", HFILL }}, - { &hf_diameter_flags_request, -- { "Request", "diameter.flags.request", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_R, -+ { "Request ", "diameter.flags.request", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_R, - "", HFILL }}, - { &hf_diameter_flags_proxyable, -- { "Proxyable", "diameter.flags.proxyable", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_P, -+ { "Proxyable ", "diameter.flags.proxyable", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_P, - "", HFILL }}, - { &hf_diameter_flags_error, -- { "Error","diameter.flags.error", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_E, -+ { "Error ","diameter.flags.error", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_E, - "", HFILL }}, - { &hf_diameter_flags_T, - { "T(Potentially re-transmitted message)","diameter.flags.T", FT_BOOLEAN, 8, TFS(&flags_set_truth),DIAM_FLAGS_T, diff --git a/net/ethereal/files/patch-epan_dissectors_packet-radiotap.c b/net/ethereal/files/patch-epan_dissectors_packet-radiotap.c deleted file mode 100644 index f66df6cb6f14..000000000000 --- a/net/ethereal/files/patch-epan_dissectors_packet-radiotap.c +++ /dev/null @@ -1,198 +0,0 @@ ---- epan/dissectors/packet-radiotap.c.orig Mon Apr 17 14:46:52 2006 -+++ epan/dissectors/packet-radiotap.c Fri Apr 28 19:21:24 2006 -@@ -382,7 +382,7 @@ dissect_radiotap(tvbuff_t *tvb, packet_i - proto_item *ti = NULL; - int offset; - guint32 version, pad; -- guint32 length; -+ guint length, length_remaining; - guint32 rate, freq, flags; - gint8 dbm; - guint8 db, rflags; -@@ -416,11 +416,13 @@ dissect_radiotap(tvbuff_t *tvb, packet_i - ti = proto_tree_add_uint(radiotap_tree, hf_radiotap_length, - tvb, offset + 2, 2, length); - } -+ length_remaining = length; -+ - /* - * FIXME: This only works if there is exactly 1 it_present - * field in the header - */ -- if (length < sizeof(struct ieee80211_radiotap_header)) { -+ if (length_remaining < sizeof(struct ieee80211_radiotap_header)) { - /* - * Radiotap header is shorter than the fixed-length portion - * plus one "present" bitset. -@@ -435,7 +437,7 @@ dissect_radiotap(tvbuff_t *tvb, packet_i - present_tree = proto_item_add_subtree(pt, ett_radiotap_present); - } - offset += sizeof(struct ieee80211_radiotap_header); -- length -= sizeof(struct ieee80211_radiotap_header); -+ length_remaining -= sizeof(struct ieee80211_radiotap_header); - - rflags = 0; - for (; present; present = next_present) { -@@ -447,7 +449,7 @@ dissect_radiotap(tvbuff_t *tvb, packet_i - - switch (bit) { - case IEEE80211_RADIOTAP_FLAGS: -- if (length < 1) -+ if (length_remaining < 1) - break; - rflags = tvb_get_guint8(tvb, offset); - if (tree) { -@@ -459,13 +461,12 @@ dissect_radiotap(tvbuff_t *tvb, packet_i - tvb, 0, 0, (rflags&IEEE80211_RADIOTAP_F_DATAPAD) != 0); - } - offset++; -- length--; -+ length_remaining--; - /* XXX CFP, WEP, FRAG */ - break; - case IEEE80211_RADIOTAP_RATE: -- if (length < 1) -+ if (length_remaining < 1) - break; -- rflags = tvb_get_guint8(tvb, offset); - rate = tvb_get_guint8(tvb, offset) & 0x7f; - if (check_col(pinfo->cinfo, COL_TX_RATE)) { - col_add_fstr(pinfo->cinfo, COL_TX_RATE, "%d.%d", -@@ -477,12 +478,11 @@ dissect_radiotap(tvbuff_t *tvb, packet_i - "Data Rate: %d.%d Mb/s", rate / 2, rate & 1 ? 5 : 0); - } - offset++; -- length--; -+ length_remaining--; - break; - case IEEE80211_RADIOTAP_DBM_ANTSIGNAL: -- if (length < 1) -+ if (length_remaining < 1) - break; -- rflags = tvb_get_guint8(tvb, offset); - dbm = (gint8) tvb_get_guint8(tvb, offset); - if (check_col(pinfo->cinfo, COL_RSSI)) { - col_add_fstr(pinfo->cinfo, COL_RSSI, "%d dBm", dbm); -@@ -494,12 +494,11 @@ dissect_radiotap(tvbuff_t *tvb, packet_i - "SSI Signal: %d dBm", dbm); - } - offset++; -- length--; -+ length_remaining--; - break; - case IEEE80211_RADIOTAP_DB_ANTSIGNAL: -- if (length < 1) -+ if (length_remaining < 1) - break; -- rflags = tvb_get_guint8(tvb, offset); - db = tvb_get_guint8(tvb, offset); - if (check_col(pinfo->cinfo, COL_RSSI)) { - col_add_fstr(pinfo->cinfo, COL_RSSI, "%u dB", db); -@@ -511,12 +510,11 @@ dissect_radiotap(tvbuff_t *tvb, packet_i - "SSI Signal: %u dB", db); - } - offset++; -- length--; -+ length_remaining--; - break; - case IEEE80211_RADIOTAP_DBM_ANTNOISE: -- if (length < 1) -+ if (length_remaining < 1) - break; -- rflags = tvb_get_guint8(tvb, offset); - dbm = (gint8) tvb_get_guint8(tvb, offset); - if (tree) { - proto_tree_add_int_format(radiotap_tree, -@@ -525,12 +523,11 @@ dissect_radiotap(tvbuff_t *tvb, packet_i - "SSI Noise: %d dBm", dbm); - } - offset++; -- length--; -+ length_remaining--; - break; - case IEEE80211_RADIOTAP_DB_ANTNOISE: -- if (length < 1) -+ if (length_remaining < 1) - break; -- rflags = tvb_get_guint8(tvb, offset); - db = tvb_get_guint8(tvb, offset); - if (tree) { - proto_tree_add_uint_format(radiotap_tree, -@@ -539,34 +536,31 @@ dissect_radiotap(tvbuff_t *tvb, packet_i - "SSI Noise: %u dB", db); - } - offset++; -- length--; -+ length_remaining--; - break; - case IEEE80211_RADIOTAP_ANTENNA: -- if (length < 1) -+ if (length_remaining < 1) - break; -- rflags = tvb_get_guint8(tvb, offset); - if (tree) { - proto_tree_add_uint(radiotap_tree, hf_radiotap_antenna, - tvb, offset, 1, tvb_get_guint8(tvb, offset)); - } - offset++; -- length--; -+ length_remaining--; - break; - case IEEE80211_RADIOTAP_DBM_TX_POWER: -- if (length < 1) -+ if (length_remaining < 1) - break; -- rflags = tvb_get_guint8(tvb, offset); - if (tree) { - proto_tree_add_int(radiotap_tree, hf_radiotap_txpower, - tvb, offset, 1, tvb_get_guint8(tvb, offset)); - } - offset++; -- length--; -+ length_remaining--; - break; - case IEEE80211_RADIOTAP_CHANNEL: -- if (length < 4) -+ if (length_remaining < 4) - break; -- rflags = tvb_get_guint8(tvb, offset); - if (tree) { - freq = tvb_get_letohs(tvb, offset); - flags = tvb_get_letohs(tvb, offset+2); -@@ -577,31 +571,29 @@ dissect_radiotap(tvbuff_t *tvb, packet_i - tvb, offset+2, 2, flags); - } - offset+=4; -- length-=4; -+ length_remaining-=4; - break; - case IEEE80211_RADIOTAP_FHSS: - case IEEE80211_RADIOTAP_LOCK_QUALITY: - case IEEE80211_RADIOTAP_TX_ATTENUATION: - case IEEE80211_RADIOTAP_DB_TX_ATTENUATION: -- if (length < 2) -+ if (length_remaining < 2) - break; -- rflags = tvb_get_guint8(tvb, offset); - #if 0 - tvb_get_letohs(tvb, offset); - #endif - offset+=2; -- length-=2; -+ length_remaining-=2; - break; - case IEEE80211_RADIOTAP_TSFT: -- if (length < 8) -+ if (length_remaining < 8) - break; -- rflags = tvb_get_guint8(tvb, offset); - if (tree) { - proto_tree_add_uint64(radiotap_tree, hf_radiotap_mactime, - tvb, offset, 8, tvb_get_letoh64(tvb, offset)); - } - offset+=8; -- length-=8; -+ length_remaining-=8; - break; - default: - /* diff --git a/net/ethereal/files/patch-wiretap_configure b/net/ethereal/files/patch-wiretap_configure deleted file mode 100644 index 420db3bf111d..000000000000 --- a/net/ethereal/files/patch-wiretap_configure +++ /dev/null @@ -1,20 +0,0 @@ ---- wiretap/configure.orig Sat May 7 21:04:37 2005 -+++ wiretap/configure Sat May 7 21:05:31 2005 -@@ -20092,7 +20092,7 @@ - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $GLIB_CFLAGS" -- LIBS="$GLIB_LIBS $LIBS" -+ LIBS="$GLIB_LIBS -liconv $LIBS" - rm -f conf.glibtest - if test "$cross_compiling" = yes; then - echo $ac_n "cross compiling; assumed OK... $ac_c" -@@ -20206,7 +20206,7 @@ - if test "x$no_glib" = x ; then - echo "$as_me:$LINENO: result: yes" >&5 - echo "${ECHO_T}yes" >&6 -- CFLAGS="$CFLAGS $GLIB_CFLAGS" LIBS="$LIBS $GLIB_LIBS" -+ CFLAGS="$CFLAGS $GLIB_CFLAGS" LIBS="$LIBS -liconv $GLIB_LIBS" - else - echo "$as_me:$LINENO: result: no" >&5 - echo "${ECHO_T}no" >&6 |