From 6094df4fc16cb7500db5834e34e4a2339d0083de Mon Sep 17 00:00:00 2001 From: Mihail Ivanchev Date: Sun, 2 Jun 2024 22:28:22 +0200 Subject: [PATCH] audit: update to 3.1.4 --- srcpkgs/audit/template | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template index 63913bc07c31b6..56f94480fbd23d 100644 --- a/srcpkgs/audit/template +++ b/srcpkgs/audit/template @@ -1,7 +1,7 @@ # Template file for 'audit' pkgname=audit -version=3.0.3 -revision=6 +version=3.1.4 +revision=1 build_style=gnu-configure configure_args="--libdir=/usr/lib --enable-shared=audit --enable-gssapi-krb5 --with-apparmor --with-libcap-ng --with-python3" @@ -15,13 +15,20 @@ license="GPL-2.0-or-later, LGPL-2.0-or-later" homepage="https://people.redhat.com/sgrubb/audit" changelog="https://raw.githubusercontent.com/linux-audit/audit-userspace/master/ChangeLog" distfiles="${homepage}/${pkgname}-${version}.tar.gz" -checksum=23777e1dc9a80a2ee06a4d442a6a0a9bcbf1ae7ee4b5738a220ff619738cc904 +checksum=220a78cf35e6a7c57f42fcfc42b759692641c7e8e0e39c9844fbc0aa51783631 case "$XBPS_TARGET_MACHINE" in *-musl) configure_args+=" --disable-zos-remote" ;; *) ;; esac +post_patch() { + case "$XBPS_TARGET_MACHINE" in + *-musl) patch -Np1 -i "${FILESDIR}/musl.patch" ;; + *) ;; + esac +} + post_install() { vinstall rules/10-base-config.rules 644 etc/audit/rules.d vmkdir usr/share/examples/audit/rules.d