audit: 4.0 -> 4.0.2
This commit is contained in:
@@ -18,34 +18,22 @@
|
|||||||
}:
|
}:
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "audit";
|
pname = "audit";
|
||||||
version = "4.0";
|
version = "4.0.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://people.redhat.com/sgrubb/audit/audit-${finalAttrs.version}.tar.gz";
|
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 = ''
|
postPatch = ''
|
||||||
substituteInPlace bindings/swig/src/auditswig.i \
|
substituteInPlace bindings/swig/src/auditswig.i \
|
||||||
--replace-fail "/usr/include/linux/audit.h" \
|
--replace-fail "/usr/include/linux/audit.h" \
|
||||||
"${linuxHeaders}/include/linux/audit.h"
|
"${linuxHeaders}/include/linux/audit.h"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
"bin"
|
"bin"
|
||||||
|
"lib"
|
||||||
"dev"
|
"dev"
|
||||||
"out"
|
"out"
|
||||||
"man"
|
"man"
|
||||||
|
|||||||
Reference in New Issue
Block a user