From c22c8ad5b4ef0848dbe75db9895ce05d4135b261 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Tue, 29 Oct 2024 17:42:56 +0100 Subject: [PATCH] audit: 4.0 -> 4.0.2 --- pkgs/by-name/au/audit/package.nix | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/pkgs/by-name/au/audit/package.nix b/pkgs/by-name/au/audit/package.nix index 9d54944ee8b1..f1979802228e 100644 --- a/pkgs/by-name/au/audit/package.nix +++ b/pkgs/by-name/au/audit/package.nix @@ -18,34 +18,22 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "audit"; - version = "4.0"; + version = "4.0.2"; src = fetchurl { url = "https://people.redhat.com/sgrubb/audit/audit-${finalAttrs.version}.tar.gz"; - hash = "sha256-v0ItQSard6kqTDrDneVHPyeNw941ck0lGKSMe+FdVNg="; + hash = "sha256-1dG11Q7kotDReHW8aua9an1bNNlVfqhHo5+uxTH6qgo="; }; - patches = [ - (fetchpatch { - name = "musl.patch"; - url = "https://github.com/linux-audit/audit-userspace/commit/64cb48e1e5137b8a389c7528e611617a98389bc7.patch"; - hash = "sha256-DN2F5w+2Llm80FZntH9dvdyT00pVBSgRu8DDFILyrlU="; - }) - (fetchpatch { - name = "musl.patch"; - url = "https://github.com/linux-audit/audit-userspace/commit/4192eb960388458c85d76e5e385cfeef48f02c79.patch"; - hash = "sha256-G6CJ9nBJSsTyJ0qq14PVo+YdInAvLLQtXcR25Q8V5/4="; - }) - ]; - postPatch = '' substituteInPlace bindings/swig/src/auditswig.i \ --replace-fail "/usr/include/linux/audit.h" \ - "${linuxHeaders}/include/linux/audit.h" + "${linuxHeaders}/include/linux/audit.h" ''; outputs = [ "bin" + "lib" "dev" "out" "man"