From a52e83e4f66de7e294c657fee9798694d5804d0f Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sun, 30 Jun 2024 05:34:37 +0200 Subject: [PATCH] ntpd-rs: 1.1.2 -> 1.1.3 https://github.com/pendulum-project/ntpd-rs/releases/tag/v1.1.3 Fixes CVE-2024-38528. --- pkgs/tools/networking/ntpd-rs/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/ntpd-rs/default.nix b/pkgs/tools/networking/ntpd-rs/default.nix index 2803d7211058..264d07428fc3 100644 --- a/pkgs/tools/networking/ntpd-rs/default.nix +++ b/pkgs/tools/networking/ntpd-rs/default.nix @@ -13,16 +13,16 @@ rustPlatform.buildRustPackage rec { pname = "ntpd-rs"; - version = "1.1.2"; + version = "1.1.3"; src = fetchFromGitHub { owner = "pendulum-project"; repo = "ntpd-rs"; rev = "v${version}"; - hash = "sha256-0ykJruuyD1Z/QcmrogodNlMZp05ocXIo3wdygB/AnT0="; + hash = "sha256-7b0IZLTt9ROEhp9bOBOvNQmS+iuQjgSrdwL1Nxy46t4="; }; - cargoHash = "sha256-Badq3GYr7BoF8VNGGtKTT4/ksuds1zBcSxx5O3vLbzg="; + cargoHash = "sha256-FgRVWo27gdIzUNNTqgu7oHwrKSaWDA+sgL8kGak0otA="; buildInputs = lib.optionals stdenv.isDarwin [ Security ]; nativeBuildInputs = [ @@ -39,6 +39,10 @@ rustPlatform.buildRustPackage rec { source utils/generate-man.sh ''; + # tests don't compile for 1.1.3 + # https://github.com/pendulum-project/ntpd-rs/actions/runs/9712796372/job/26808251482 + doCheck = false; + checkFlags = [ # doesn't find the testca "--skip=daemon::keyexchange::tests"