From 150dc7aff5852d151459cea57665be816d7570bd Mon Sep 17 00:00:00 2001 From: eyjhb Date: Thu, 23 Oct 2025 15:21:36 +0200 Subject: [PATCH 1/3] wireshark: 4.4.9 -> 4.6.0 --- pkgs/applications/networking/sniffers/wireshark/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/sniffers/wireshark/default.nix b/pkgs/applications/networking/sniffers/wireshark/default.nix index a030ed2c47fe..1d74c153494f 100644 --- a/pkgs/applications/networking/sniffers/wireshark/default.nix +++ b/pkgs/applications/networking/sniffers/wireshark/default.nix @@ -25,6 +25,7 @@ libpcap, libsmi, libssh, + libxml2, lua5_4, lz4, makeWrapper, @@ -56,7 +57,7 @@ assert withQt -> qt6 != null; stdenv.mkDerivation rec { pname = "wireshark-${if withQt then "qt" else "cli"}"; - version = "4.4.9"; + version = "4.6.0"; outputs = [ "out" @@ -67,7 +68,7 @@ stdenv.mkDerivation rec { repo = "wireshark"; owner = "wireshark"; rev = "v${version}"; - hash = "sha256-0+uPXSNabsYNGn+4753WNoUBe9lJ2EH3i3J36lqI4Ak="; + hash = "sha256-XkHcVN3xCYwnS69nJ4/AT76Iaggt1GXA6JWi+IG15IM="; }; patches = [ @@ -111,6 +112,7 @@ stdenv.mkDerivation rec { libpcap libsmi libssh + libxml2 lua5_4 lz4 minizip From 7a0d05be3efdc8e759fa2e036c598566e7b92f90 Mon Sep 17 00:00:00 2001 From: eyjhb Date: Sat, 25 Oct 2025 12:07:10 +0200 Subject: [PATCH 2/3] python3Packages.pyshark: adds fixes for wireshark 4.6.0 --- pkgs/development/python-modules/pyshark/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/pyshark/default.nix b/pkgs/development/python-modules/pyshark/default.nix index 3df8c781aaa2..e2cb49c23797 100644 --- a/pkgs/development/python-modules/pyshark/default.nix +++ b/pkgs/development/python-modules/pyshark/default.nix @@ -35,6 +35,12 @@ buildPythonPackage rec { url = "https://github.com/KimiNewt/pyshark/commit/7142c5bf88abcd4c65c81052a00226d6155dda42.patch"; hash = "sha256-Ti7cwRyYSbF4a4pEEV9FntNevkV/JVXNqACQWzoma7g="; }) + # fixes tests that failed related to elastic-mapping + # remove fix if this is ever merged upstream + (fetchpatch { + url = "https://github.com/KimiNewt/pyshark/commit/0e1d8d0e06108f2887c3147c93049de63b475f8a.patch"; + hash = "sha256-fpgiBHcfS/TGYIB65ioZJrWUuDIrLxxXqGVJ9y18b2w="; + }) (replaceVars ./hardcode-tshark-path.patch { tshark = lib.getExe' wireshark-cli "tshark"; }) From c2fc311cf1dc2827697b62a158758122a767d1ac Mon Sep 17 00:00:00 2001 From: eyjhb Date: Sat, 25 Oct 2025 13:12:45 +0200 Subject: [PATCH 3/3] compactor: adds patch for failing test Adds the patch https://github.com/dns-stats/compactor/commit/f7deaf89f55a12c586b6662a3a7d04b10a4c7bcb , which fixes the test failure when updating to Wireshark 4.6.0. --- pkgs/applications/networking/compactor/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/networking/compactor/default.nix b/pkgs/applications/networking/compactor/default.nix index e783aef616c7..b2ab9dd0c9d8 100644 --- a/pkgs/applications/networking/compactor/default.nix +++ b/pkgs/applications/networking/compactor/default.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, asciidoctor, autoreconfHook, pkg-config, @@ -42,6 +43,12 @@ stdenv.mkDerivation rec { # https://github.com/dns-stats/compactor/pull/91 ./patches/update-golden-cbor2diag-output.patch + + # https://github.com/dns-stats/compactor/commit/f7deaf89f55a12c586b6662a3a7d04b10a4c7bcb + (fetchpatch { + url = "https://github.com/dns-stats/compactor/commit/f7deaf89f55a12c586b6662a3a7d04b10a4c7bcb.patch"; + hash = "sha256-eEaVS5rfrLkRGc668PwVfb/xw3n1SoCm30xEf1NjbeY="; + }) ]; nativeBuildInputs = [