summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2022-10-26 08:06:16 +0200
committer Matteo Bernardini2024-03-16 09:14:59 +0100
commit24418267e6b874a7d37cb5e365e9e12ba75a8f89 (patch)
tree5cf8e5f664c22c33d2719993758357769ba4122d
parentf2fd02d810ccafdcb54cd1ce380341a85bbefd77 (diff)
downloadslackbuilds-audit.tar.gz
system/audit: Disable the python bindings.audit
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--system/audit/audit.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/audit/audit.SlackBuild b/system/audit/audit.SlackBuild
index baf85c9b38..45aca7c2a1 100644
--- a/system/audit/audit.SlackBuild
+++ b/system/audit/audit.SlackBuild
@@ -79,6 +79,9 @@ find -L . \
# Init should check /etc/rc.d/rc.auditd.conf instead of /etc/sysconfig/auditd
patch -p1 < $CWD/audit-2.3.6-sysconfig.diff
+# python binding are disabled ATM, see
+# https://listman.redhat.com/archives/linux-audit/2022-February/msg00085.html
+# thanks to fourtysixandtwo for the pointers
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -94,6 +97,8 @@ CFLAGS="$SLKCFLAGS" \
--enable-systemd=no \
--with-libcap-ng=yes \
--enable-gssapi-krb5=yes \
+ --without-python \
+ --without-python3 \
--build=$ARCH-slackware-linux
make