From ead5f6e588ae0fd83978808f40df199cd2a3ab5c Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Nov 05 2013 08:43:31 +0000 Subject: import wireshark-1.10.3-2.el7.src.rpm --- diff --git a/.wireshark.metadata b/.wireshark.metadata new file mode 100644 index 0000000..8899362 --- /dev/null +++ b/.wireshark.metadata @@ -0,0 +1,5 @@ +a0c5d9f7540f9f63fbdce7047845bfe667dacb79 SOURCES/wiresharkdoc-32x32.png +58b02d6c2f1ae086a6ec46289d1eea0cc4343309 SOURCES/wireshark-1.10.3.tar.bz2 +270551daad7666a3203647d3f340cee221976634 SOURCES/wiresharkdoc-256x256.png +a68648a6e1d807fcc83e0ce46230193d5d3ae5a3 SOURCES/wiresharkdoc-16x16.png +278fb6ed0c8c02c3690ff8b813e9fd32aa79e975 SOURCES/wiresharkdoc-48x48.png diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/config.h b/SOURCES/config.h new file mode 100644 index 0000000..0c29e39 --- /dev/null +++ b/SOURCES/config.h @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2013 Red Hat, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * Authors: Peter Hatina + */ + +#ifndef __CONFIG_H__ +#define __CONFIG_H__ + +# include + +# if defined(__i386__) || defined(__i486__) || defined(__i586__) || defined(__i686__) +# include "config-x86.h" +# elif __WORDSIZE == 32 +# include "config-32.h" +# elif __WORDSIZE == 64 +# include "config-64.h" +# else +# error "Not supported architecture" +# endif + +#endif // __CONFIG_H__ diff --git a/SOURCES/wireshark-1.10.0-CVE-2013-3557.patch b/SOURCES/wireshark-1.10.0-CVE-2013-3557.patch new file mode 100644 index 0000000..c28067d --- /dev/null +++ b/SOURCES/wireshark-1.10.0-CVE-2013-3557.patch @@ -0,0 +1,25 @@ +diff --git a/epan/dissectors/packet-ber.c b/epan/dissectors/packet-ber.c +index 7dcfd42..adf01bd 100644 +--- a/epan/dissectors/packet-ber.c ++++ b/epan/dissectors/packet-ber.c +@@ -3503,6 +3503,10 @@ printf("CHOICE dissect_ber_old_choice(%s) entered len:%d\n", name, tvb_length_re + #endif + start_offset = offset; + ++ if (branch_taken) { ++ *branch_taken = -1; ++ } ++ + if (tvb_length_remaining(tvb, offset) == 0) { + item = proto_tree_add_string_format( + parent_tree, hf_ber_error, tvb, offset, 0, "empty_choice", +@@ -3545,9 +3549,6 @@ printf("CHOICE dissect_ber_old_choice(%s) entered len:%d\n", name, tvb_length_re + /* loop over all entries until we find the right choice or + run out of entries */ + ch = choice; +- if (branch_taken) { +- *branch_taken = -1; +- } + first_pass = TRUE; + while (ch->func || first_pass) { + if (branch_taken) { diff --git a/SOURCES/wireshark-1.10.x-disable-warning-dialog.patch b/SOURCES/wireshark-1.10.x-disable-warning-dialog.patch new file mode 100644 index 0000000..7eb937e --- /dev/null +++ b/SOURCES/wireshark-1.10.x-disable-warning-dialog.patch @@ -0,0 +1,95 @@ +diff --git a/ui/gtk/main.c b/ui/gtk/main.c +index 82cff80..0137c3b 100644 +--- a/ui/gtk/main.c ++++ b/ui/gtk/main.c +@@ -2040,50 +2040,6 @@ read_configuration_files(char **gdp_path, char **dp_path) + return prefs_p; + } + +-/* Check if there's something important to tell the user during startup. +- * We want to do this *after* showing the main window so that any windows +- * we pop up will be above the main window. +- */ +-static void +-#ifdef _WIN32 +-check_and_warn_user_startup(gchar *cf_name) +-#else +-check_and_warn_user_startup(gchar *cf_name _U_) +-#endif +-{ +- gchar *cur_user, *cur_group; +- gpointer priv_warning_dialog; +- +- /* Tell the user not to run as root. */ +- if (running_with_special_privs() && recent.privs_warn_if_elevated) { +- cur_user = get_cur_username(); +- cur_group = get_cur_groupname(); +- priv_warning_dialog = simple_dialog(ESD_TYPE_WARN, ESD_BTN_OK, +- "Running as user \"%s\" and group \"%s\".\n" +- "This could be dangerous.\n\n" +- "If you're running Wireshark this way in order to perform live capture, " +- "you may want to be aware that there is a better way documented at\n" +- "http://wiki.wireshark.org/CaptureSetup/CapturePrivileges", cur_user, cur_group); +- g_free(cur_user); +- g_free(cur_group); +- simple_dialog_check_set(priv_warning_dialog, "Don't show this message again."); +- simple_dialog_set_cb(priv_warning_dialog, priv_warning_dialog_cb, NULL); +- } +- +-#ifdef _WIN32 +- /* Warn the user if npf.sys isn't loaded. */ +- if (!get_stdin_capture() && !cf_name && !npf_sys_is_running() && recent.privs_warn_if_no_npf && get_os_major_version() >= 6) { +- priv_warning_dialog = simple_dialog(ESD_TYPE_WARN, ESD_BTN_OK, +- "The NPF driver isn't running. You may have trouble\n" +- "capturing or listing interfaces."); +- simple_dialog_check_set(priv_warning_dialog, "Don't show this message again."); +- simple_dialog_set_cb(priv_warning_dialog, npf_warning_dialog_cb, NULL); +- } +-#endif +- +-} +- +- + /* And now our feature presentation... [ fade to music ] */ + int + main(int argc, char *argv[]) +@@ -3030,7 +2986,6 @@ main(int argc, char *argv[]) + up on top of us. */ + if (cf_name) { + show_main_window(TRUE); +- check_and_warn_user_startup(cf_name); + if (rfilter != NULL) { + if (!dfilter_compile(rfilter, &rfcode)) { + bad_dfilter_alert_box(top_level, rfilter); +@@ -3108,7 +3063,6 @@ main(int argc, char *argv[]) + dfilter_free(rfcode); + cfile.rfcode = NULL; + show_main_window(FALSE); +- /* Don't call check_and_warn_user_startup(): we did it above */ + main_set_for_capture_in_progress(FALSE); + set_capture_if_dialog_for_capture_in_progress(FALSE); + } +@@ -3125,7 +3079,6 @@ main(int argc, char *argv[]) + } + /* "-k" was specified; start a capture. */ + show_main_window(FALSE); +- check_and_warn_user_startup(cf_name); + + /* If no user interfaces were specified on the command line, + copy the list of selected interfaces to the set of interfaces +@@ -3143,7 +3096,6 @@ main(int argc, char *argv[]) + } + } else { + show_main_window(FALSE); +- check_and_warn_user_startup(cf_name); + main_set_for_capture_in_progress(FALSE); + set_capture_if_dialog_for_capture_in_progress(FALSE); + } +@@ -3154,7 +3106,6 @@ main(int argc, char *argv[]) + } + #else /* HAVE_LIBPCAP */ + show_main_window(FALSE); +- check_and_warn_user_startup(cf_name); + main_set_for_capture_in_progress(FALSE); + set_capture_if_dialog_for_capture_in_progress(FALSE); + #endif /* HAVE_LIBPCAP */ diff --git a/SOURCES/wireshark-1.2.4-enable_lua.patch b/SOURCES/wireshark-1.2.4-enable_lua.patch new file mode 100644 index 0000000..e3f7448 --- /dev/null +++ b/SOURCES/wireshark-1.2.4-enable_lua.patch @@ -0,0 +1,13 @@ +diff --git a/epan/wslua/template-init.lua b/epan/wslua/template-init.lua +index eda33ca..008e875 100644 +--- a/epan/wslua/template-init.lua ++++ b/epan/wslua/template-init.lua +@@ -43,7 +43,7 @@ if running_superuser then + local disabled_lib = {} + setmetatable(disabled_lib,{ __index = function() error("this package ".. hint) end } ); + +- dofile = function() error("dofile " .. hint) end ++-- dofile = function() error("dofile " .. hint) end + loadfile = function() error("loadfile " .. hint) end + loadlib = function() error("loadlib " .. hint) end + require = function() error("require " .. hint) end diff --git a/SOURCES/wireshark-1.6.0-soname.patch b/SOURCES/wireshark-1.6.0-soname.patch new file mode 100644 index 0000000..6b266bd --- /dev/null +++ b/SOURCES/wireshark-1.6.0-soname.patch @@ -0,0 +1,17 @@ +Load correct shared object name in python. +This fixes following error message shown by wireshark/tshark when wireshark-devel +was not installed: + libwireshark.so: cannot open shared object file: No such file or directory + +diff -up wireshark-1.6.0/epan/wspython/wspy_libws.py.soname wireshark-1.6.0/epan/wspython/wspy_libws.py +--- wireshark-1.6.0/epan/wspython/wspy_libws.py.soname 2011-06-09 14:40:04.562726728 +0200 ++++ wireshark-1.6.0/epan/wspython/wspy_libws.py 2011-06-09 14:40:09.775467946 +0200 +@@ -35,7 +35,7 @@ def get_libws_libname(): + elif system == "Windows": + return 'libwireshark.dll' + else: +- return 'libwireshark.so' ++ return 'libwireshark.so.2' + + def get_libws_handle(): + global __libwireshark diff --git a/SOURCES/wireshark-1.6.1-group-msg.patch b/SOURCES/wireshark-1.6.1-group-msg.patch new file mode 100644 index 0000000..31af194 --- /dev/null +++ b/SOURCES/wireshark-1.6.1-group-msg.patch @@ -0,0 +1,51 @@ +Customize 'permission denied' error. + +Add Fedora-specific message to error output when dumpcap cannot be started +because of permissions. + +diff --git a/capture_sync.c b/capture_sync.c +index 8c49ed2..65e242d 100644 +--- a/capture_sync.c ++++ b/capture_sync.c +@@ -368,6 +368,7 @@ sync_pipe_start(capture_options *capture_opts, capture_session *cap_session) + gchar *signal_pipe_name; + #else + char errmsg[1024+1]; ++ const char *securitymsg = ""; + int sync_pipe[2]; /* pipe used to send messages from child to parent */ + enum PIPES { PIPE_READ, PIPE_WRITE }; /* Constants 0 and 1 for PIPE_READ and PIPE_WRITE */ + #endif +@@ -638,8 +639,10 @@ sync_pipe_start(capture_options *capture_opts, capture_session *cap_session) + dup2(sync_pipe[PIPE_WRITE], 2); + ws_close(sync_pipe[PIPE_READ]); + execv(argv[0], argv); +- g_snprintf(errmsg, sizeof errmsg, "Couldn't run %s in child process: %s", +- argv[0], g_strerror(errno)); ++ if (errno == EPERM || errno == EACCES) ++ securitymsg = "\nAre you a member of the 'wireshark' group? Try running\n'usermod -a -G wireshark _your_username_' as root."; ++ g_snprintf(errmsg, sizeof errmsg, "Couldn't run %s in child process: %s%s", ++ argv[0], g_strerror(errno), securitymsg); + sync_pipe_errmsg_to_parent(2, errmsg, ""); + + /* Exit with "_exit()", so that we don't close the connection +@@ -731,6 +734,7 @@ sync_pipe_open_command(char** argv, int *data_read_fd, + PROCESS_INFORMATION pi; + #else + char errmsg[1024+1]; ++ const char *securitymsg = ""; + int sync_pipe[2]; /* pipe used to send messages from child to parent */ + int data_pipe[2]; /* pipe used to send data from child to parent */ + #endif +@@ -865,8 +869,10 @@ sync_pipe_open_command(char** argv, int *data_read_fd, + ws_close(sync_pipe[PIPE_READ]); + ws_close(sync_pipe[PIPE_WRITE]); + execv(argv[0], argv); +- g_snprintf(errmsg, sizeof errmsg, "Couldn't run %s in child process: %s", +- argv[0], g_strerror(errno)); ++ if (errno == EPERM || errno == EACCES) ++ securitymsg = "\nAre you a member of the 'wireshark' group? Try running\n'usermod -a -G wireshark _your_username_' as root."; ++ g_snprintf(errmsg, sizeof errmsg, "Couldn't run %s in child process: %s%s", ++ argv[0], g_strerror(errno), securitymsg); + sync_pipe_errmsg_to_parent(2, errmsg, ""); + + /* Exit with "_exit()", so that we don't close the connection diff --git a/SOURCES/wireshark-1.8.x-dcom-string-overrun.patch b/SOURCES/wireshark-1.8.x-dcom-string-overrun.patch new file mode 100644 index 0000000..37ba79f --- /dev/null +++ b/SOURCES/wireshark-1.8.x-dcom-string-overrun.patch @@ -0,0 +1,13 @@ +diff --git a/plugins/profinet/packet-dcom-cba.c b/plugins/profinet/packet-dcom-cba.c +index 967b8e6..cbb628c 100644 +--- a/plugins/profinet/packet-dcom-cba.c ++++ b/plugins/profinet/packet-dcom-cba.c +@@ -553,7 +553,7 @@ dissect_ICBAPhysicalDevice_get_LogicalDevice_rqst(tvbuff_t *tvb, int offset, + packet_info *pinfo, proto_tree *tree, guint8 *drep) + { + guint32 u32Pointer; +- gchar szStr[1000]; ++ gchar szStr[1000] = ""; + guint32 u32MaxStr = sizeof(szStr); + dcerpc_info *info = (dcerpc_info *) pinfo->private_data; + gchar *call; diff --git a/SOURCES/wireshark-autoconf.m4 b/SOURCES/wireshark-autoconf.m4 new file mode 100644 index 0000000..d8015d8 --- /dev/null +++ b/SOURCES/wireshark-autoconf.m4 @@ -0,0 +1,101 @@ +dnl AM_PATH_WIRESHARK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for wireshark development files, and define WIRESHARK_CFLAGS, +dnl WIRESHARK_LIBS and WIRESHARK_VERSION. +dnl +AC_DEFUN([AM_PATH_WIRESHARK],[ + AC_ARG_WITH(wireshark-prefix, + [ --with-wireshark-prefix=PFX Prefix where wireshark libraries are installed (optional)], + wireshark_config_prefix="$withval", wireshark_config_prefix="") + + wireshark_found=no + if test "$wireshark_config_prefix" != "" ; then + AM_PATH_GLIB_2_0(,,,[gmodule]) + WIRESHARK_CFLAGS="-DWS_VAR_IMPORT=extern -DWS_MSVC_NORETURN= -I$wireshark_config_prefix/include/wireshark -I$wireshark_config_prefix/include/wireshark/epan -I/usr/include/wireshark -I/usr/include/wireshark/epan $GLIB_CFLAGS" + WIRESHARK_LIBS="-L$wireshark_config_prefix/lib -lwireshark -lwiretap $GLIB_LIBS" + wireshark_found=yes + else + PKG_PROG_PKG_CONFIG() + PKG_CHECK_MODULES(WIRESHARK, wireshark, wireshark_found=yes) + fi + + ac_save_CFLAGS="$CFLAGS" + ac_save_CLIBS="$LIBS" + CFLAGS="$CFLAGS $WIRESHARK_CFLAGS" + LIBS="$WIRESHARK_LIBS $LIBS" + min_wireshark_version=ifelse([$1], ,0.0.0,[$1]) + if test $wireshark_found = yes; then + AC_MSG_CHECKING(for wireshark version >= $min_wireshark_version) + wireshark_found=no + AC_TRY_RUN([ +#include +#include +#include +#include +#include +#include + +int +main() + +{ + int ws_major_version, ws_minor_version, ws_micro_version; + int major, minor, micro; + char **tmp_version; + + tmp_version = (char *) strdup("$min_wireshark_version"); + major = 0; + minor = 0; + micro = 0; + sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ); + free(tmp_version); + tmp_version = (char *) epan_get_version(); + sscanf(tmp_version, "%d.%d.%d", + &ws_major_version, &ws_minor_version, &ws_micro_version); + + if (ws_major_version > major || + (ws_major_version == major && ws_minor_version > minor) || + (ws_major_version == major && ws_minor_version == minor && + ws_micro_version >= micro)) + return 0; + + printf("\n*** An old version of wireshark (%d.%d.%d) was found.\n", + ws_major_version, ws_minor_version, ws_micro_version); + printf("*** You need a version of wireshark not older than %d.%d.%d. ", + major, minor, micro); + return 1; +} + ], wireshark_found=yes) + fi + + if test "$wireshark_found" != no; then + AC_LANG_PUSH(C) + AC_LINK_IFELSE([AC_LANG_PROGRAM([ +#include +#include +#include +#include +#include +#include +], [puts(epan_get_version());])], [WIRESHARK_VERSION=`./conftest$ac_exeext`], +wireshark_found=no) + + AC_LANG_POP + fi + + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + + if test "$wireshark_found" != no; then + AC_MSG_RESULT(yes) + ifelse([$2],, :, [$2]) + else + AC_MSG_RESULT(no) + WIRESHARK_CFLAGS="" + WIRESHARK_LIBS="" + WIRESHARK_VERSION="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(WIRESHARK_CFLAGS) + AC_SUBST(WIRESHARK_LIBS) + AC_SUBST(WIRESHARK_VERSION) +]) diff --git a/SOURCES/wireshark-libtool-pie.patch b/SOURCES/wireshark-libtool-pie.patch new file mode 100644 index 0000000..95cc088 --- /dev/null +++ b/SOURCES/wireshark-libtool-pie.patch @@ -0,0 +1,11 @@ +diff -up wireshark-1.6.8/ltmain.sh.pie wireshark-1.6.8/ltmain.sh +--- wireshark-1.6.8/ltmain.sh.pie 2012-05-23 10:05:07.900326513 +0200 ++++ wireshark-1.6.8/ltmain.sh 2012-05-23 10:05:11.786312666 +0200 +@@ -3488,7 +3488,6 @@ static const void *lt_preloaded_setup() + symtab_cflags= + for arg in $LTCFLAGS; do + case $arg in +- -pie | -fpie | -fPIE) ;; + *) func_append symtab_cflags " $arg" ;; + esac + done diff --git a/SOURCES/wireshark-mime-package.xml b/SOURCES/wireshark-mime-package.xml new file mode 100644 index 0000000..c78ba48 --- /dev/null +++ b/SOURCES/wireshark-mime-package.xml @@ -0,0 +1,9 @@ + + + + Packet Capture + + + + + diff --git a/SOURCES/wireshark.console b/SOURCES/wireshark.console new file mode 100644 index 0000000..2a976f5 --- /dev/null +++ b/SOURCES/wireshark.console @@ -0,0 +1,4 @@ +USER=root +PROGRAM=/usr/sbin/wireshark +SESSION=true +FALLBACK=true diff --git a/SOURCES/wireshark.desktop b/SOURCES/wireshark.desktop new file mode 100644 index 0000000..caf2793 --- /dev/null +++ b/SOURCES/wireshark.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Name=Wireshark Network Analyzer +Name[fi]=Wireshark +Name[sv]=Wireshark +Comment=Wireshark traffic and network analyzer +Comment[fi]=Verkkoanalysaattori +Comment[sv]=Nätverkstrafikanalysator +TryExec=wireshark +Exec=wireshark %f +Icon=wireshark +Terminal=false +Type=Application +Categories=X-Red-Hat-Extra;Network;GTK; +MimeType=application/x-pcap; diff --git a/SPECS/wireshark.spec b/SPECS/wireshark.spec new file mode 100644 index 0000000..6cad0d1 --- /dev/null +++ b/SPECS/wireshark.spec @@ -0,0 +1,919 @@ +%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))") + +%global with_adns 0 +%global with_lua 1 +%global with_gtk2 1 + +%if 0%{?rhel} != 0 +#RHEL: + %global with_portaudio 0 + %global with_GeoIP 0 + %if 0%{?rhel} <= 6 + # RHEL6: use GTK2 + %global with_gtk2 1 + %endif +%else + %global with_portaudio 1 + %global with_GeoIP 1 +%endif + + +Summary: Network traffic analyzer +Name: wireshark +Version: 1.10.3 +Release: 2%{?dist} +License: GPL+ +Group: Applications/Internet +Source0: http://wireshark.org/download/src/%{name}-%{version}.tar.bz2 +Source2: wireshark.console +Source3: wireshark.desktop +Source4: wireshark-autoconf.m4 +Source5: wireshark-mime-package.xml +Source6: wiresharkdoc-16x16.png +Source7: wiresharkdoc-32x32.png +Source8: wiresharkdoc-48x48.png +Source9: wiresharkdoc-256x256.png +Source10: config.h + +Patch1: wireshark-1.2.4-enable_lua.patch +Patch2: wireshark-libtool-pie.patch +Patch3: wireshark-1.6.1-group-msg.patch +Patch4: wireshark-1.6.0-soname.patch +Patch5: wireshark-1.8.x-dcom-string-overrun.patch +Patch6: wireshark-1.10.0-CVE-2013-3557.patch +Patch7: wireshark-1.10.x-disable-warning-dialog.patch + +Url: http://www.wireshark.org/ +BuildRequires: libpcap-devel >= 0.9 +BuildRequires: libsmi-devel +BuildRequires: zlib-devel, bzip2-devel +BuildRequires: openssl-devel +BuildRequires: glib2-devel +BuildRequires: elfutils-devel, krb5-devel +BuildRequires: python, pcre-devel, libselinux +BuildRequires: gnutls-devel +BuildRequires: desktop-file-utils +BuildRequires: xdg-utils +BuildRequires: flex, bison, python, python-devel +BuildRequires: libcap-devel +BuildRequires: perl-podlators +BuildRequires: libgcrypt-devel +%if %{with_GeoIP} +BuildRequires: GeoIP-devel +%endif +%if %{with_adns} +BuildRequires: adns-devel +%else +BuildRequires: c-ares-devel +%endif +%if %{with_portaudio} +BuildRequires: portaudio-devel +%endif +%if %{with_lua} +BuildRequires: lua-devel +%endif +%if %{with_gtk2} +BuildRequires: gtk2-devel +%else +BuildRequires: gtk3-devel +%endif + +# Temporary hack - wireshark-1.8.0 is not compilable with upstream +# Makefile.in / configure, they need to be regenerated +BuildRequires: libtool, automake, autoconf + +Requires(pre): shadow-utils +%if %{with_adns} +Requires: adns +%endif + +%package gnome +Summary: Gnome desktop integration for wireshark +Group: Applications/Internet +Requires: wireshark = %{version}-%{release} +Requires: xdg-utils +Requires: hicolor-icon-theme +%if %{with_gtk2} +Requires: gtk2 +%else +Requires: gtk3 +%endif +%if %{with_portaudio} +Requires: portaudio +%endif +%if %{with_GeoIP} +Requires: GeoIP +%endif + +%package devel +Summary: Development headers and libraries for wireshark +Group: Development/Libraries +Requires: %{name} = %{version} glibc-devel glib2-devel + + +%description +Wireshark is a network traffic analyzer for Unix-ish operating systems. + +This package lays base for libpcap, a packet capture and filtering +library, contains command-line utilities, contains plugins and +documentation for wireshark. A graphical user interface is packaged +separately to GTK+ package. + +%description gnome +Contains wireshark for Gnome 3 and desktop integration file + +%description devel +The wireshark-devel package contains the header files, developer +documentation, and libraries required for development of wireshark scripts +and plugins. + + +%prep +%setup -q -n %{name}-%{version} + +%if %{with_lua} +%patch1 -p1 -b .enable_lua +%endif + +%patch2 -p1 -b .v4cleanup +%patch3 -p1 -b .group-msg +%patch4 -p1 -b .soname +%patch5 -p1 -b .dcom-overrun +%patch6 -p1 -b .cve-2013-3557 +%patch7 -p1 -b .disable-warning-dialog + +%build +%ifarch s390 s390x sparcv9 sparc64 +export PIECFLAGS="-fPIE" +%else +export PIECFLAGS="-fpie" +%endif +# FC5+ automatic -fstack-protector-all switch +export RPM_OPT_FLAGS=${RPM_OPT_FLAGS//-fstack-protector/-fstack-protector-all} +export CFLAGS="$RPM_OPT_FLAGS $CPPFLAGS $PIECFLAGS -D_LARGEFILE64_SOURCE" +export CXXFLAGS="$RPM_OPT_FLAGS $CPPFLAGS $PIECFLAGS -D_LARGEFILE64_SOURCE" +export LDFLAGS="$LDFLAGS -pie" + +# Temporary hack - wireshark-1.8.0 is not compilable with upstream +# Makefile.in / configure, they need to be regenerated +./autogen.sh + +%configure \ + --bindir=%{_sbindir} \ + --enable-ipv6 \ + --with-libsmi \ + --with-gnu-ld \ + --with-pic \ +%if %{with_gtk2} + --with-gtk2 \ +%else + --with-gtk3 \ +%endif +%if %{with_adns} + --with-adns \ +%else + --with-adns=no \ +%endif +%if %{with_lua} + --with-lua \ +%else + --with-lua=no \ +%endif +%if %{with_portaudio} + --with-portaudio \ +%else + --with-portaudio=no \ +%endif +%if %{with_GeoIP} + --with-geoip \ +%else + --with-geoip=no \ +%endif + --with-ssl \ + --disable-warnings-as-errors \ + --with-python \ + --with-plugins=%{_libdir}/%{name}/plugins/%{version} \ + --with-dumpcap-group="wireshark" \ + --enable-setcap-install \ + --enable-airpcap + +#remove rpath +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + +make %{?_smp_mflags} + +%install +# The evil plugins hack +perl -pi -e 's|-L../../epan|-L../../epan/.libs|' plugins/*/*.la + +make DESTDIR=$RPM_BUILD_ROOT install + +# Install python stuff. +mkdir -p $RPM_BUILD_ROOT%{python_sitearch} +install -m 644 tools/wireshark_be.py tools/wireshark_gen.py $RPM_BUILD_ROOT%{python_sitearch} + +desktop-file-install \ + --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ + --add-category X-Fedora \ + %{SOURCE3} + +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/{16x16,32x32,48x48,64x64,256x256}/apps + +install -m 644 image/wsicon16.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/16x16/apps/wireshark.png +install -m 644 image/wsicon32.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/32x32/apps/wireshark.png +install -m 644 image/wsicon48.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/48x48/apps/wireshark.png +install -m 644 image/wsicon64.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/64x64/apps/wireshark.png +install -m 644 image/wsicon256.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/256x256/apps/wireshark.png + +#install devel files (inspired by debian/wireshark-dev.header-files) +install -d -m 0755 $RPM_BUILD_ROOT/%{_includedir}/wireshark +IDIR="${RPM_BUILD_ROOT}%{_includedir}/wireshark" +mkdir -p "${IDIR}/epan" +mkdir -p "${IDIR}/epan/crypt" +mkdir -p "${IDIR}/epan/ftypes" +mkdir -p "${IDIR}/epan/dfilter" +mkdir -p "${IDIR}/epan/dissectors" +mkdir -p "${IDIR}/wiretap" +mkdir -p "${IDIR}/wsutil" +install -m 644 color.h register.h "${IDIR}/" +install -m 644 cfile.h file.h "${IDIR}/" +install -m 644 packet-range.h print.h "${IDIR}/" +install -m 644 epan/*.h "${IDIR}/epan/" +install -m 644 epan/crypt/*.h "${IDIR}/epan/crypt" +install -m 644 epan/ftypes/*.h "${IDIR}/epan/ftypes" +install -m 644 epan/dfilter/*.h "${IDIR}/epan/dfilter" +install -m 644 epan/dissectors/*.h "${IDIR}/epan/dissectors" +install -m 644 wiretap/*.h "${IDIR}/wiretap" +install -m 644 wsutil/*.h "${IDIR}/wsutil" +install -m 644 ws_symbol_export.h "${IDIR}/" +%ifarch %{ix86} +# Due to NEED_8_BYTE_ALIGNMENT defined only for x86 +install -m 644 config.h "${IDIR}/config-x86.h" +%else +%ifarch s390 ppc +install -m 644 config.h "${IDIR}/config-32.h" +%else +install -m 644 config.h "${IDIR}/config-64.h" +%endif +%endif +install -m 644 -T %{SOURCE10} "${IDIR}/config.h" + +# Create pkg-config control file. +mkdir -p "${RPM_BUILD_ROOT}%{_libdir}/pkgconfig" +cat > "${RPM_BUILD_ROOT}%{_libdir}/pkgconfig/wireshark.pc" <<- "EOF" + prefix=%{_prefix} + exec_prefix=%{_prefix} + libdir=%{_libdir} + includedir=%{_includedir} + + Name: %{name} + Description: Network Traffic Analyzer + Version: %{version} + Requires: glib-2.0 gmodule-2.0 + Libs: -L${libdir} -lwireshark -lwiretap + Cflags: -DWS_VAR_IMPORT=extern -DHAVE_STDARG_H -DWS_MSVC_NORETURN= -I${includedir}/wireshark -I${includedir}/wireshark/epan +EOF + +# Install the autoconf macro. +mkdir -p "${RPM_BUILD_ROOT}%{_datadir}/aclocal" +cp "%{SOURCE4}" "${RPM_BUILD_ROOT}%{_datadir}/aclocal/wireshark.m4" + +# Install desktop stuff +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/{icons/gnome/{16x16,32x32,48x48,256x256}/mimetypes,mime/packages} +install -m 644 -T %{SOURCE5} $RPM_BUILD_ROOT/%{_datadir}/mime/packages/wireshark.xml +install -m 644 -T %{SOURCE6} $RPM_BUILD_ROOT/%{_datadir}/icons/gnome/16x16/mimetypes/application-x-pcap.png +install -m 644 -T %{SOURCE7} $RPM_BUILD_ROOT/%{_datadir}/icons/gnome/32x32/mimetypes/application-x-pcap.png +install -m 644 -T %{SOURCE8} $RPM_BUILD_ROOT/%{_datadir}/icons/gnome/48x48/mimetypes/application-x-pcap.png +install -m 644 -T %{SOURCE9} $RPM_BUILD_ROOT/%{_datadir}/icons/gnome/256x256/mimetypes/application-x-pcap.png + +# Remove .la files +rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/plugins/%{version}/*.la + +# Remove .la files in libdir +rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la + +# add wspy_dissectors directory for plugins +mkdir -p $RPM_BUILD_ROOT/%{_libdir}/%{name}/python/%{version}/wspy_dissectors + +%pre +getent group wireshark >/dev/null || groupadd -r wireshark + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%post gnome +update-desktop-database &> /dev/null ||: +update-mime-database %{_datadir}/mime &> /dev/null || : +touch --no-create %{_datadir}/icons/gnome &>/dev/null || : +touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + +%postun gnome +update-desktop-database &> /dev/null ||: +update-mime-database %{_datadir}/mime &> /dev/null || : +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/gnome &>/dev/null + gtk-update-icon-cache %{_datadir}/icons/gnome &>/dev/null || : + + touch --no-create %{_datadir}/icons/hicolor &>/dev/null + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi + +%posttrans +gtk-update-icon-cache %{_datadir}/icons/gnome &>/dev/null || : +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + +%files +%doc AUTHORS COPYING ChangeLog INSTALL NEWS README* +%{_sbindir}/editcap +%{_sbindir}/tshark +%{_sbindir}/mergecap +%{_sbindir}/text2pcap +%{_sbindir}/dftest +%{_sbindir}/capinfos +%{_sbindir}/randpkt +%{_sbindir}/reordercap +%attr(0750, root, wireshark) %caps(cap_net_raw,cap_net_admin=ep) %{_sbindir}/dumpcap +%{_sbindir}/rawshark +%{python_sitearch}/*.py* +%{_libdir}/lib*.so.* +%{_libdir}/wireshark +%{_mandir}/man1/editcap.* +%{_mandir}/man1/tshark.* +%{_mandir}/man1/mergecap.* +%{_mandir}/man1/text2pcap.* +%{_mandir}/man1/capinfos.* +%{_mandir}/man1/dumpcap.* +%{_mandir}/man4/wireshark-filter.* +%{_mandir}/man1/rawshark.* +%{_mandir}/man1/dftest.* +%{_mandir}/man1/randpkt.* +%{_mandir}/man1/reordercap.* +%{_datadir}/wireshark +%if %{with_lua} +%exclude %{_datadir}/wireshark/init.lua +%endif + + +%files gnome +%{_datadir}/applications/wireshark.desktop +%{_datadir}/icons/hicolor/16x16/apps/wireshark.png +%{_datadir}/icons/hicolor/32x32/apps/wireshark.png +%{_datadir}/icons/hicolor/48x48/apps/wireshark.png +%{_datadir}/icons/hicolor/64x64/apps/wireshark.png +%{_datadir}/icons/hicolor/256x256/apps/wireshark.png +%{_datadir}/icons/gnome/16x16/mimetypes/application-x-pcap.png +%{_datadir}/icons/gnome/32x32/mimetypes/application-x-pcap.png +%{_datadir}/icons/gnome/48x48/mimetypes/application-x-pcap.png +%{_datadir}/icons/gnome/256x256/mimetypes/application-x-pcap.png +%{_datadir}/mime/packages/wireshark.xml +%{_sbindir}/wireshark +%{_mandir}/man1/wireshark.* + +%files devel +%doc doc/README.* +%config(noreplace) %{_datadir}/wireshark/init.lua +%{_includedir}/wireshark +%{_libdir}/lib*.so +%{_libdir}/pkgconfig/* +%{_datadir}/aclocal/* + +%changelog +* Tue Nov 5 2013 Peter Hatina 1.10.3-2 +- harden dumpcap capabilities +- Resolves: #1022378 + +* Tue Nov 5 2013 Peter Hatina 1.10.3-1 +- upgrade to 1.10.3 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.10.3.html +- Resolves: #1026649 + CVE-2013-6336 + CVE-2013-6337 + CVE-2013-6338 + CVE-2013-6339 + CVE-2013-6340 + +* Tue Sep 24 2013 Peter Hatina 1.10.2-6 +- fix memory leak when reassemblying a packet +- Resolves: #1011339 + +* Thu Sep 19 2013 Peter Hatina 1.10.2-5 +- fix config.h conflict +- Resolves: #881273 + +* Fri Sep 13 2013 Peter Hatina 1.10.2-4 +- fix desktop file entries + +* Fri Sep 13 2013 Peter Hatina 1.10.2-3 +- fix description, Gnome 3 + +* Fri Sep 13 2013 Peter Hatina 1.10.2-2 +- new sources + +* Thu Sep 12 2013 Peter Hatina 1.10.2-1 +- upgrade to 1.10.2 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.10.2.html + +* Tue Sep 10 2013 Peter Hatina 1.10.0-9 +- security patches +- Resolves: CVE-2013-4927 + CVE-2013-4931 + CVE-2013-4932 + CVE-2013-4933 + CVE-2013-4934 + CVE-2013-4935 + CVE-2013-4936 + CVE-2013-4083 + CVE-2013-3557 + +* Mon Sep 9 2013 Peter Hatina 1.10-0-8 +- fix missing ws_symbol_export.h + +* Fri Jul 26 2013 Peter Hatina 1.10.0-7 +- fix tap iostat overflow + +* Fri Jul 26 2013 Peter Hatina 1.10.0-6 +- fix sctp bytes graph crash + +* Fri Jul 26 2013 Peter Hatina 1.10.0-5 +- fix string overrin in plugins/profinet + +* Fri Jul 26 2013 Peter Hatina 1.10.0-4 +- fix pod2man encoding issues + +* Fri Jul 26 2013 Peter Hatina 1.10.0-3 +- fix BuildRequires - libgcrypt-devel + +* Mon Jun 17 2013 Peter Hatina 1.10.0-2 +- fix flow graph crash + +* Mon Jun 17 2013 Peter Hatina 1.10.0-1 +- upgrade to 1.10.0 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.10.0.html + +* Wed Mar 27 2013 Peter Hatina 1.8.6-4 +- fix capture crash (#894753) + +* Tue Mar 19 2013 Peter Hatina 1.8.6-3 +- fix dns resolving crash (#908211) + +* Mon Mar 18 2013 Peter Hatina 1.8.6-2 +- return to gtk2, stable branch 1.8 is not gtk3 ready + +* Tue Mar 12 2013 Peter Hatina 1.8.6-1 +- upgrade to 1.8.6 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.8.6.html + +* Sun Feb 10 2013 Parag Nemade - 1.8.5-3 +- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077 + +* Tue Feb 05 2013 Peter Hatina - 1.8.5-2 +- fix gtk3 layout issues +- NOTE: there may be some windows with broken layouts left + +* Thu Jan 31 2013 Peter Hatina - 1.8.5-1 +- upgrade to 1.8.5 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.8.5.html + +* Mon Dec 03 2012 Peter Hatina - 1.8.4-1 +- upgrade to 1.8.4 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.8.4.html + +* Tue Oct 16 2012 Peter Hatina - 1.8.3-2 +- backport dissector table fix +- TODO: remove this after new release + +* Thu Oct 11 2012 Peter Hatina - 1.8.3-1 +- upgrade to 1.8.3 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.8.3.html + +* Tue Sep 4 2012 Jan Safranek - 1.8.2-3 +- added back compatibility with RHEL6 +- GeoIP build dependency made also conditional on with_GeoIP variable + +* Wed Aug 29 2012 Jan Safranek - 1.8.2-2 +- fixed "libwireshark.so.1: cannot open shared object file" error + message on startup + +* Thu Aug 16 2012 Jan Safranek - 1.8.2-1 +- upgrade to 1.8.2 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.8.2.html + +* Fri Jul 27 2012 Fedora Release Engineering - 1.8.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jul 24 2012 Jan Safranek - 1.8.1-1 +- upgrade to 1.8.1 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.8.1.html + +* Mon Jun 25 2012 Jan Safranek - 1.8.0 +- upgrade to 1.8.0 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.8.0.html + +* Wed May 23 2012 Jan Safranek - 1.6.8-1 +- upgrade to 1.6.8 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.6.8.html + +* Mon May 21 2012 Jan Safranek - 1.6.7-2 +- Removed dependency on GeoIP on RHEL. + +* Tue Apr 10 2012 Jan Safranek - 1.6.7-1 +- upgrade to 1.6.7 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.6.7.html + +* Wed Mar 28 2012 Jan Safranek - 1.6.6-1 +- upgrade to 1.6.6 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.6.6.html + +* Fri Mar 9 2012 Jan Safranek - 1.6.5-2 +- fixed wireshark crashing when using combo box in import dialog (#773290) +- added AES support into netlogon dissector + +* Wed Jan 11 2012 Jan Safranek - 1.6.5-1 +- upgrade to 1.6.5 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.6.5.html + +* Fri Dec 2 2011 Jan Safranek - 1.6.4-1 +- upgrade to 1.6.4 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.6.4.html +- build with c-ares and libpcap (#759305) +- fixed display of error message boxes on startup in gnome3 (#752559) + +* Mon Nov 14 2011 Jan Safranek - 1.6.3-2 +- added dependency on shadow-utils (#753293) +- removed usermode support + +* Wed Nov 2 2011 Jan Safranek - 1.6.3-1 +- upgrade to 1.6.3 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.6.3.html + +* Wed Oct 26 2011 Fedora Release Engineering - 1.6.2-5 +- Rebuilt for glibc bug#747377 + +* Fri Oct 21 2011 Jan Safranek - 1.6.2-4 +- updated autoconf macros and pkgconfig file in wireshark-devel to reflect + current config.h (#746655) + +* Mon Oct 17 2011 Steve Dickson - 1.6.2-3 +- Fixed a regression introduce by upstream patch r38306 + which caused v4.1 traffic not to be displayed. +- Added v4 error status to packet detail window. + +* Tue Sep 13 2011 Jan Safranek - 1.6.2-2 +- fixed spelling of the security message (#737270) + +* Fri Sep 9 2011 Jan Safranek - 1.6.2-1 +- upgrade to 1.6.2 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.6.2.html + + +* Thu Jul 21 2011 Jan Safranek - 1.6.1-1 +- upgrade to 1.6.1 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.6.1.html + +* Thu Jun 16 2011 Jan Safranek - 1.6.0-4 +- fixed previous incomplete fix + +* Thu Jun 16 2011 Jan Safranek - 1.6.0-3 +- fixed Fedora-specific message when user is not part of 'wireshark' group + - now it does not contain '<' and '>' characters (#713545) + +* Thu Jun 9 2011 Jan Safranek - 1.6.0-2 +- added wspy_dissectors directory to the package + - other packages can add Python plugins there + - as side effect, removed following message: + [Errno 2] No such file or directory: '/usr/lib64/wireshark/python/1.6.0/wspy_dissectors' +- enabled zlib support + +* Wed Jun 8 2011 Jan Safranek - 1.6.0-1 +- upgrade to 1.6.0 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.6.0.html + +* Thu Jun 2 2011 Jan Safranek - 1.4.7-1 +- upgrade to 1.4.7 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.4.7.html + +* Thu May 19 2011 Steve Dickson - 1.4.6-3 +- Improved the NFS4.1 patcket dissectors + +* Sat May 07 2011 Christopher Aillon - 1.4.6-2 +- Update icon cache scriptlet + +* Tue Apr 19 2011 Jan Safranek - 1.4.6-1 +- upgrade to 1.4.6 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.4.6.html + +* Mon Apr 18 2011 Jan Safranek - 1.4.5-1 +- upgrade to 1.4.5 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.4.5.html + +* Sun Apr 03 2011 Cosimo Cecchi - 1.4.4-2 +- Use hi-res icons + +* Thu Mar 3 2011 Jan Safranek - 1.4.4-1 +- upgrade to 1.4.4 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.4.4.html + +* Mon Feb 07 2011 Fedora Release Engineering - 1.4.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jan 17 2011 Jan Safranek - 1.4.3-2 +- create the 'wireshark' group as system, not user +- add few additional header files to -devel subpackage (#671997) + +* Thu Jan 13 2011 Jan Safranek - 1.4.3-1 +- upgrade to 1.4.3 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.4.3.html + +* Wed Jan 5 2011 Jan Safranek - 1.4.2-5 +- fixed buffer overflow in ENTTEC dissector (#666897) + +* Wed Dec 15 2010 Jan Safranek - 1.4.2-4 +- added epan/dissectors/*.h to -devel subpackage (#662969) + +* Mon Dec 6 2010 Jan Safranek - 1.4.2-3 +- fixed generation of man pages again (#635878) + +* Fri Nov 26 2010 Jan Safranek - 1.4.2-2 +- rework the Wireshark security (#657490). Remove the console helper and + allow only members of new 'wireshark' group to capture the packets. + +* Mon Nov 22 2010 Jan Safranek - 1.4.2-1 +- upgrade to 1.4.2 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.4.2.html + +* Mon Nov 1 2010 Jan Safranek - 1.4.1-2 +- temporarily disable zlib until + https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4955 is resolved (#643461) + +* Fri Oct 22 2010 Jan Safranek - 1.4.1-1 +- upgrade to 1.4.1 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.4.1.html +- Own the %%{_libdir}/wireshark dir (#644508) +- associate *.pcap files with wireshark (#641163) + +* Wed Sep 29 2010 jkeating - 1.4.0-2 +- Rebuilt for gcc bug 634757 + +* Fri Sep 24 2010 Jan Safranek - 1.4.0-2 +- fixed generation of man pages (#635878) + +* Tue Aug 31 2010 Jan Safranek - 1.4.0-1 +- upgrade to 1.4.0 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.4.0.html + +* Fri Jul 30 2010 Jan Safranek - 1.2.10-1 +- upgrade to 1.2.10 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.2.10.html + +* Fri Jul 30 2010 Jan Safranek - 1.2.9-4 +- Rebuilt again for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Thu Jul 22 2010 Jan Safranek - 1.2.9-3 +- removing useless LDFLAGS (#603224) + +* Thu Jul 22 2010 David Malcolm - 1.2.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Fri Jun 11 2010 Radek Vokal - 1.2.9-1 +- upgrade to 1.2.9 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.2.9.html + +* Mon May 17 2010 Radek Vokal - 1.2.8-4 +- removing traling bracket from python_sitearch (#592391) + +* Fri May 7 2010 Radek Vokal - 1.2.8-3 +- fix patched applied without fuzz=0 + +* Thu May 6 2010 Radek Vokal - 1.2.8-2 +- use sitearch instead of sitelib to avoid pyo and pyc conflicts + +* Thu May 6 2010 Radek Vokal - 1.2.8-1 +- upgrade to 1.2.8 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.2.8.html + +* Tue Apr 6 2010 Radek Vokal - 1.2.7-2 +- rebuild with GeoIP support (needs to be turned on in IP protocol preferences) + +* Fri Apr 2 2010 Radek Vokal - 1.2.7-1 +- upgrade to 1.2.7 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.2.7.html + +* Wed Mar 24 2010 Radek Vokal - 1.2.6-3 +- bring back -pie + +* Tue Mar 16 2010 Jeff Layton - 1.2.6-2 +- add patch to allow decode of NFSv4.0 callback channel +- add patch to allow decode of more SMB FIND_FILE infolevels + +* Fri Jan 29 2010 Radek Vokal - 1.2.6-1 +- upgrade to 1.2.6 +- see http://www.wireshark.org/docs/relnotes/wireshark-1.2.6.html + +* Wed Jan 20 2010 Radek Vokal - 1.2.5-5 +- minor spec file tweaks for better svn checkout support (#553500) + +* Tue Jan 05 2010 Radek Vokál - 1.2.5-4 +- init.lua is present always and not only when lua support is enabled + +* Tue Jan 05 2010 Radek Vokál - 1.2.5-3 +- fix file list, init.lua is only in -devel subpackage (#552406) + +* Fri Dec 18 2009 Patrick Monnerat 1.2.5-2 +- Autoconf macro for plugin development. + +* Fri Dec 18 2009 Radek Vokal - 1.2.5-1 +- upgrade to 1.2.5 +- fixes security vulnaribilities, see http://www.wireshark.org/security/wnpa-sec-2009-09.html + +* Thu Dec 17 2009 Radek Vokal - 1.2.4-3 +- split -devel package (#547899, #203642, #218451) +- removing root warning dialog (#543709) + +* Mon Dec 14 2009 Radek Vokal - 1.2.4-2 +- enable lua support - http://wiki.wireshark.org/Lua +- attempt to fix filter crash on 64bits + +* Wed Nov 18 2009 Radek Vokal - 1.2.4-1 +- upgrade to 1.2.4 +- http://www.wireshark.org/docs/relnotes/wireshark-1.2.4.html + +* Fri Oct 30 2009 Radek Vokal - 1.2.3-1 +- upgrade to 1.2.3 +- http://www.wireshark.org/docs/relnotes/wireshark-1.2.3.html + +* Mon Sep 21 2009 Radek Vokal - 1.2.2-1 +- upgrade to 1.2.2 +- http://www.wireshark.org/docs/relnotes/wireshark-1.2.2.html + +* Mon Sep 14 2009 Bill Nottingham - 1.2.1-5 +- do not use portaudio in RHEL + +* Fri Aug 28 2009 Radek Vokal - 1.2.1-4 +- yet anohter rebuilt + +* Fri Aug 21 2009 Tomas Mraz - 1.2.1-3 +- rebuilt with new openssl + +* Mon Jul 27 2009 Fedora Release Engineering - 1.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Jul 22 2009 Radek Vokal - 1.2.1 +- upgrade to 1.2.1 +- http://www.wireshark.org/docs/relnotes/wireshark-1.2.1.html + +* Tue Jun 16 2009 Radek Vokal - 1.2.0 +- upgrade to 1.2.0 +- http://www.wireshark.org/docs/relnotes/wireshark-1.2.0.html + +* Fri May 22 2009 Radek Vokal - 1.1.4-0.pre1 +- update to latest development build + +* Thu Mar 26 2009 Radek Vokal - 1.1.3-1 +- upgrade to 1.1.3 + +* Thu Mar 26 2009 Radek Vokal - 1.1.2-4.pre1 +- fix libsmi support + +* Wed Feb 25 2009 Fedora Release Engineering - 1.1.2-3.pre1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Feb 16 2009 Radek Vokal - 1.1.2-2.pre1 +- add netdump support + +* Sun Feb 15 2009 Steve Dickson - 1.1.2-1.pre1 +- NFSv4.1: Add support for backchannel decoding + +* Mon Jan 19 2009 Radek Vokal - 1.1.2-0.pre1 +- upgrade to latest development release +- added support for portaudio (#480195) + +* Sun Jan 18 2009 Tomas Mraz - 1.1.1-0.pre1.2 +- rebuild with new openssl + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 1.1.1-0.pre1.1 +- Rebuild for Python 2.6 + +* Thu Nov 13 2008 Radek Vokál 1.1.1-0.pre1 +- upgrade to 1.1.1 development branch + +* Wed Sep 10 2008 Radek Vokál 1.0.3-1 +- upgrade to 1.0.3 +- Security-related bugs in the NCP dissector, zlib compression code, and Tektronix .rf5 file parser have been fixed. +- WPA group key decryption is now supported. +- A bug that could cause packets to be wrongly dissected as "Redback Lawful Intercept" has been fixed. + +* Mon Aug 25 2008 Radek Vokál 1.0.2-3 +- fix requires for wireshark-gnome + +* Thu Jul 17 2008 Steve Dickson 1.0.2-2 +- Added patches to support NFSv4.1 + +* Fri Jul 11 2008 Radek Vokál 1.0.2-1 +- upgrade to 1.0.2 + +* Tue Jul 8 2008 Radek Vokál 1.0.1-1 +- upgrade to 1.0.1 + +* Sun Jun 29 2008 Dennis Gilmore 1.0.0-3 +- add sparc arches to -fPIE +- rebuild for new gnutls + +* Tue Apr 1 2008 Radek Vokál 1.0.0-2 +- fix BuildRequires - python, yacc, bison + +* Tue Apr 1 2008 Radek Vokál 1.0.0-1 +- April Fools' day upgrade to 1.0.0 + +* Tue Feb 19 2008 Fedora Release Engineering - 0.99.7-3 +- Autorebuild for GCC 4.3 + +* Wed Dec 19 2007 Radek Vokál 0.99.7-2 +- fix crash in unprivileged mode (#317681) + +* Tue Dec 18 2007 Radek Vokál 0.99.7-1 +- upgrade to 0.99.7 + +* Fri Dec 7 2007 Radek Vokál 0.99.7-0.pre2.1 +- rebuilt for openssl + +* Mon Nov 26 2007 Radek Vokal 0.99.7-0.pre2 +- switch to libsmi from net-snmp +- disable ADNS due to its lack of Ipv6 support +- 0.99.7 prerelease 2 + +* Tue Nov 20 2007 Radek Vokal 0.99.7-0.pre1 +- upgrade to 0.99.7 pre-release + +* Wed Sep 19 2007 Radek Vokál 0.99.6-3 +- fixed URL + +* Thu Aug 23 2007 Radek Vokál 0.99.6-2 +- rebuilt + +* Mon Jul 9 2007 Radek Vokal 0.99.6-1 +- upgrade to 0.99.6 final + +* Fri Jun 15 2007 Radek Vokál 0.99.6-0.pre2 +- another pre-release +- turn on ADNS support + +* Wed May 23 2007 Radek Vokál 0.99.6-0.pre1 +- update to pre1 of 0.99.6 release + +* Mon Feb 5 2007 Radek Vokál 0.99.5-1 +- multiple security issues fixed (#227140) +- CVE-2007-0459 - The TCP dissector could hang or crash while reassembling HTTP packets +- CVE-2007-0459 - The HTTP dissector could crash. +- CVE-2007-0457 - On some systems, the IEEE 802.11 dissector could crash. +- CVE-2007-0456 - On some systems, the LLT dissector could crash. + +* Mon Jan 15 2007 Radek Vokal 0.99.5-0.pre2 +- another 0.99.5 prerelease, fix build bug and pie flags + +* Tue Dec 12 2006 Radek Vokal 0.99.5-0.pre1 +- update to 0.99.5 prerelease + +* Thu Dec 7 2006 Jeremy Katz - 0.99.4-5 +- rebuild for python 2.5 + +* Tue Nov 28 2006 Radek Vokal 0.99.4-4 +- rebuilt for new libpcap and net-snmp + +* Thu Nov 23 2006 Radek Vokal 0.99.4-3 +- add htmlview to Buildrequires to be picked up by configure scripts (#216918) + +* Tue Nov 7 2006 Radek Vokal 0.99.4-2.fc7 +- Requires: net-snmp for the list of MIB modules + +* Wed Nov 1 2006 Radek Vokál 0.99.4-1 +- upgrade to 0.99.4 final + +* Tue Oct 31 2006 Radek Vokál 0.99.4-0.pre2 +- upgrade to 0.99.4pre2 + +* Tue Oct 10 2006 Radek Vokal 0.99.4-0.pre1 +- upgrade to 0.99.4-0.pre1 + +* Fri Aug 25 2006 Radek Vokál 0.99.3-1 +- upgrade to 0.99.3 +- Wireshark 0.99.3 fixes the following vulnerabilities: +- the SCSI dissector could crash. Versions affected: CVE-2006-4330 +- the IPsec ESP preference parser was susceptible to off-by-one errors. CVE-2006-4331 +- a malformed packet could make the Q.2931 dissector use up available memory. CVE-2006-4333 + +* Tue Jul 18 2006 Radek Vokál 0.99.2-1 +- upgrade to 0.99.2 + +* Wed Jul 12 2006 Jesse Keating - 0.99.2-0.pre1.1 +- rebuild + +* Tue Jul 11 2006 Radek Vokál 0.99.2-0.pre1 +- upgrade to 0.99.2pre1, fixes (#198242) + +* Tue Jun 13 2006 Radek Vokal 0.99.1-0.pre1 +- spec file changes + +* Fri Jun 9 2006 Radek Vokal 0.99.1pre1-1 +- initial build for Fedora Core