0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

audit: 4.0.2 -> 4.0.3

Changes: https://github.com/linux-audit/audit-userspace/releases/tag/v4.0.3
This commit is contained in:
Sergei Trofimovich 2025-02-03 22:31:28 +00:00
parent 9d962cd4ad
commit 1d6fd5edf0

View file

@ -1,8 +1,7 @@
{
lib,
stdenv,
fetchurl,
fetchpatch,
fetchFromGitHub,
autoreconfHook,
bash,
buildPackages,
@ -18,21 +17,15 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "audit";
version = "4.0.2";
version = "4.0.3";
src = fetchurl {
url = "https://people.redhat.com/sgrubb/audit/audit-${finalAttrs.version}.tar.gz";
hash = "sha256-1dG11Q7kotDReHW8aua9an1bNNlVfqhHo5+uxTH6qgo=";
src = fetchFromGitHub {
owner = "linux-audit";
repo = "audit-userspace";
tag = "v${finalAttrs.version}";
hash = "sha256-+M5Nai/ruK16udsHcMwv1YoVQbCLKNuz/4FCXaLbiCw=";
};
patches = [
(fetchpatch {
name = "static.patch";
url = "https://github.com/linux-audit/audit-userspace/commit/a89664b45c30a853a6f80b19730984bd78432142.patch";
hash = "sha256-HsaL9Bfo1MQ1JBKIS9ckNTapGk5eshjWWKh4M+e+Y9c=";
})
];
postPatch = ''
substituteInPlace bindings/swig/src/auditswig.i \
--replace-fail "/usr/include/linux/audit.h" \