From 7b27e1c3c9b3069239b11f8c62f8ef6e95a4fb48 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Mon, 20 Mar 2017 14:37:22 +0100 Subject: [PATCH] wireshark: 2.2.4 -> 2.2.5 for multiple CVEs Fixes: * CVE-2017-5596 * CVE-2017-5597 * CVE-2017-6467 * CVE-2017-6468 * CVE-2017-6469 * CVE-2017-6470 * CVE-2017-6471 * CVE-2017-6472 * CVE-2017-6473 * CVE-2017-6474 --- .../networking/sniffers/wireshark/default.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/networking/sniffers/wireshark/default.nix b/pkgs/applications/networking/sniffers/wireshark/default.nix index 375a948c1f2..c8880e630a6 100644 --- a/pkgs/applications/networking/sniffers/wireshark/default.nix +++ b/pkgs/applications/networking/sniffers/wireshark/default.nix @@ -12,7 +12,7 @@ assert withQt -> !withGtk && qt5 != null; with stdenv.lib; let - version = "2.2.4"; + version = "2.2.5"; variant = if withGtk then "gtk" else if withQt then "qt" else "cli"; in stdenv.mkDerivation { @@ -20,7 +20,7 @@ in stdenv.mkDerivation { src = fetchurl { url = "http://www.wireshark.org/download/src/all-versions/wireshark-${version}.tar.bz2"; - sha256 = "049r5962yrajhhz9r4dsnx403dab50d6091y2mw298ymxqszp9s2"; + sha256 = "1j4sc3pmy8l6k41007spglcqiabjlzc7f85pn3jmjr9ksv9qipbm"; }; nativeBuildInputs = [ @@ -35,13 +35,7 @@ in stdenv.mkDerivation { ++ optionals stdenv.isLinux [ libcap libnl ] ++ optionals stdenv.isDarwin [ SystemConfiguration ApplicationServices gmp ]; - patches = [ ./wireshark-lookup-dumpcap-in-path.patch - (fetchurl { - url = "https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commitdiff_plain;h=c7042bedbb3b12c5f4e19e59e52da370d4ffe62f;hp=bc2b135677110d8065ba1174f09bc7f5ba73b9e9"; - sha256 = "1m70akywf2r52lhlvzr720vl1i7ng9cqbzaiif8s81xs4g4nn2rz"; - name = "wireshark-CVE-2017-6014.patch"; - }) - ]; + patches = [ ./wireshark-lookup-dumpcap-in-path.patch ]; postInstall = optionalString (withQt || withGtk) '' ${optionalString withGtk ''