mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
audit: update to 4.0.3.
This commit is contained in:
parent
30e9e29bb5
commit
67ee3b1042
1 changed files with 14 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'audit'
|
||||
pkgname=audit
|
||||
version=3.1.4
|
||||
revision=3
|
||||
version=4.0.3
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--libdir=/usr/lib --enable-shared=audit --enable-gssapi-krb5
|
||||
--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"
|
||||
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=220a78cf35e6a7c57f42fcfc42b759692641c7e8e0e39c9844fbc0aa51783631
|
||||
distfiles="https://github.com/linux-audit/audit-userspace/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=154b3e77b3d47be95f765376d45bb0d8952c06c361f2806b573ed0d8bd652372
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) configure_args+=" --disable-zos-remote" ;;
|
||||
*) ;;
|
||||
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() {
|
||||
vinstall rules/10-base-config.rules 644 etc/audit/rules.d
|
||||
vmkdir usr/share/examples/audit/rules.d
|
||||
|
|
Loading…
Add table
Reference in a new issue