From aaed20480c5ee15d330bc1bbb75c605f6a820839 Mon Sep 17 00:00:00 2001 From: emilylange Date: Fri, 2 May 2025 15:10:05 +0200 Subject: [PATCH 1/2] laurel: 0.7.0 -> 0.7.1 https://github.com/threathunters-io/laurel/releases/tag/v0.7.1 diff: https://github.com/threathunters-io/laurel/compare/v0.7.0...v0.7.1 --- pkgs/servers/monitoring/laurel/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/laurel/default.nix b/pkgs/servers/monitoring/laurel/default.nix index 6dd83daa56c3..dc6c71d6831d 100644 --- a/pkgs/servers/monitoring/laurel/default.nix +++ b/pkgs/servers/monitoring/laurel/default.nix @@ -7,17 +7,17 @@ rustPlatform.buildRustPackage rec { pname = "laurel"; - version = "0.7.0"; + version = "0.7.1"; src = fetchFromGitHub { owner = "threathunters-io"; repo = "laurel"; tag = "v${version}"; - hash = "sha256-fToxRAcZOZvuuzaaWSjweqEwdUu3K2EKXY0K2Qixqpo="; + hash = "sha256-SXCQxIzprBt0qnUpniHp3AOu9yxgQTtf+1b/p9X+7xc="; }; useFetchCargoVendor = true; - cargoHash = "sha256-i5wsS7y65sIvICfgViVIAbQU9f1E0EmspX+YVKDSKOU="; + cargoHash = "sha256-qXsbq6lgQMNQAbrU2ntw0yGeNcR1h/g8jKg2ZoU0XfA="; postPatch = '' # Upstream started to redirect aarch64-unknown-linux-gnu to aarch64-linux-gnu-gcc @@ -29,6 +29,14 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ rustPlatform.bindgenHook ]; buildInputs = [ acl ]; + checkFlags = [ + # Nix' build sandbox does not allow setting ACLs: + # https://github.com/NixOS/nix/blob/2.28.3/src/libstore/unix/build/local-derivation-goal.cc#L1760-L1769 + # Skip the tests that are failing with "Operation not supported (os error 95)" because of this: + "--skip=rotate::test::existing" + "--skip=rotate::test::fresh_file" + ]; + meta = with lib; { description = "Transform Linux Audit logs for SIEM usage"; homepage = "https://github.com/threathunters-io/laurel"; From e39c8ddcb499b4ed6723dffe5218e6fd8a7e8797 Mon Sep 17 00:00:00 2001 From: emilylange Date: Fri, 2 May 2025 15:12:18 +0200 Subject: [PATCH 2/2] laurel: 0.7.1 -> 0.7.2 https://github.com/threathunters-io/laurel/releases/tag/v0.7.2 diff: https://github.com/threathunters-io/laurel/compare/v0.7.1...v0.7.2 --- pkgs/servers/monitoring/laurel/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/laurel/default.nix b/pkgs/servers/monitoring/laurel/default.nix index dc6c71d6831d..e21072772356 100644 --- a/pkgs/servers/monitoring/laurel/default.nix +++ b/pkgs/servers/monitoring/laurel/default.nix @@ -7,17 +7,17 @@ rustPlatform.buildRustPackage rec { pname = "laurel"; - version = "0.7.1"; + version = "0.7.2"; src = fetchFromGitHub { owner = "threathunters-io"; repo = "laurel"; tag = "v${version}"; - hash = "sha256-SXCQxIzprBt0qnUpniHp3AOu9yxgQTtf+1b/p9X+7xc="; + hash = "sha256-rOf7UtkMoYpReZr/2135QcpMEfYD80IY4zF0TwAWr4I="; }; useFetchCargoVendor = true; - cargoHash = "sha256-qXsbq6lgQMNQAbrU2ntw0yGeNcR1h/g8jKg2ZoU0XfA="; + cargoHash = "sha256-Pfs4Bg6VZIiiXQu0ZKcDi9zeEYl08kOnWi3R2iaQG24="; postPatch = '' # Upstream started to redirect aarch64-unknown-linux-gnu to aarch64-linux-gnu-gcc