main/audit: fix paths of audisp-af_unix and auditctl

This commit is contained in:
Celeste 2025-07-23 05:13:24 +00:00
parent 14c8e92353
commit c05e9c33fa
2 changed files with 25 additions and 3 deletions

View File

@ -4,7 +4,7 @@
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=audit
pkgver=4.1.0
pkgrel=0
pkgrel=1
pkgdesc="User space tools for kernel auditing"
url="https://people.redhat.com/sgrubb/audit/"
arch="all"
@ -80,7 +80,7 @@ fe17a4a7ea44160b439ac39c311cce10341149e780136d95911db304b244d35b745e93c3834b9eb5
4e69914dcb428599769c27cdecfaa3211d2bdc8138b32bcb1410105d4d00ed11479e1bfc9b9f544fe014cc555e87002db4d36f349eabce076217e55a3e8e484b 0003-all-get-rid-of-strndupa.patch
d461fe5cc7afb80ea9c51eda93f13f8350f56a0b0f8ca566b4b60c3f550ca21d6349659fd63b64c9b6da1d688e6b5bdcedfb7d83633cf0b03fa029e39597c5c1 fix-musl-build.patch
eb3a0e74d4653f468af935197999a7fd22bea575556a6e7e688d2567a1b8ddb9782c4165317fa0b5074a071c598d4111d878bdb83b57815ede5d61bf598c7c71 fix-tests.patch
90c7d213a0b4ef27bf643e046dd2b3c5909706c62fba24ef34ecb32ff07b73fda13ed04c616a7cf8148115fc977aa1096b61e717abd5bd32f72f7bb4ac07999f usr-paths.patch
155c347310862e00c1fc3a86ce5a00dfa580f6da6e89f6766ebd800e90de445a1d6824449b327428d4697756b4355a14a86bdb9e756254cec9cc8d22844b9b23 usr-paths.patch
b3d7ceba02b6b4406222c3b142fcfdf2b612dc52eebc490cfd121d696e4ef7c6cc5e27813d67937c464ed4c3cd283de9ccfcb75e63405a447523fa4641e79da3 auditd.initd
69d8777772ded7a8c0db2bcf84961b121bb355fa0d4ba0e14e311f8a8bfe665cbd2b7ac632d73477f9dfa9a6eec357a7ed458fe9b3e7b5ede75b166f3f092ab7 auditd.confd
"

View File

@ -1,9 +1,20 @@
From: Dermot Bradley <dermot_bradley@yahoo.com>
Date: Fri, 29 May 2020 19:55:23 +0100
Updated: Mon, 30 May 2022 23:42:39 +0000
Updated: Wed, 23 Jul 2025 04:50:16 +0000
correct paths in plugins
--- a/audisp/audispd-pconfig.c
+++ b/audisp/audispd-pconfig.c
@@ -401,7 +401,7 @@
return 1;
}
-static const char *BUILTIN_PATH="/sbin/audisp-af_unix";
+static const char *BUILTIN_PATH="/usr/sbin/audisp-af_unix";
static int path_parser(struct nv_pair *nv, int line,
plugin_conf_t *config)
{
--- a/audisp/plugins/remote/au-remote.conf
+++ b/audisp/plugins/remote/au-remote.conf
@@ -5,7 +5,7 @@
@ -26,3 +37,14 @@ correct paths in plugins
type = always
args = LOG_INFO
format = string
--- a/init.d/augenrules
+++ b/init.d/augenrules
@@ -40,7 +40,7 @@
try_load() {
if [ $LoadRules -eq 1 ] ; then
- /sbin/auditctl -R ${DestinationFile}
+ /usr/sbin/auditctl -R ${DestinationFile}
RETVAL=$?
fi
}