audit: update to 4.0.3.
This commit is contained in:
parent
30e9e29bb5
commit
67ee3b1042
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'audit'
|
# Template file for 'audit'
|
||||||
pkgname=audit
|
pkgname=audit
|
||||||
version=3.1.4
|
version=4.0.3
|
||||||
revision=3
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--libdir=/usr/lib --enable-shared=audit --enable-gssapi-krb5
|
configure_args="--libdir=/usr/lib --enable-shared=audit --enable-gssapi-krb5
|
||||||
--with-apparmor --with-libcap-ng --with-python3"
|
--with-apparmor --with-libcap-ng --with-python3"
|
||||||
@ -14,14 +14,24 @@ maintainer="Cameron Nemo <cam@nohom.org>"
|
|||||||
license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
||||||
homepage="https://people.redhat.com/sgrubb/audit"
|
homepage="https://people.redhat.com/sgrubb/audit"
|
||||||
changelog="https://raw.githubusercontent.com/linux-audit/audit-userspace/master/ChangeLog"
|
changelog="https://raw.githubusercontent.com/linux-audit/audit-userspace/master/ChangeLog"
|
||||||
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
|
distfiles="https://github.com/linux-audit/audit-userspace/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=220a78cf35e6a7c57f42fcfc42b759692641c7e8e0e39c9844fbc0aa51783631
|
checksum=154b3e77b3d47be95f765376d45bb0d8952c06c361f2806b573ed0d8bd652372
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) configure_args+=" --disable-zos-remote" ;;
|
*-musl) configure_args+=" --disable-zos-remote" ;;
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
# Test assumes gdm user is present
|
||||||
|
vsed -e 's/auid=42 (gdm)/auid=42 (unknown(42))/g' -i auparse/test/auparse_test.ref \
|
||||||
|
-i auparse/test/auparse_test.ref.py
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall rules/10-base-config.rules 644 etc/audit/rules.d
|
vinstall rules/10-base-config.rules 644 etc/audit/rules.d
|
||||||
vmkdir usr/share/examples/audit/rules.d
|
vmkdir usr/share/examples/audit/rules.d
|
||||||
|
Loading…
x
Reference in New Issue
Block a user