11# Template file for 'audit'
22pkgname=audit
3- version=4.0.3
4- revision=4
3+ version=4.2.1
4+ revision=1
55build_style=gnu-configure
66configure_args="--libdir=/usr/lib --enable-shared=audit --enable-gssapi-krb5
77 --with-apparmor --with-libcap-ng --with-python3"
8- hostmakedepends="automake libtool pkg-config gettext python3-setuptools swig"
8+ hostmakedepends="automake libtool pkg-config gettext python3-setuptools
9+ python3-packaging-bootstrap swig tar"
910makedepends="mit-krb5-devel libldap-devel libapparmor-devel libcap-ng-devel
1011 python3-devel"
1112make_dirs="/var/log/audit 0700 root root"
1213short_desc="Linux Security Auditing Framework"
1314maintainer="Orphaned <orphan@voidlinux.org>"
1415license="GPL-2.0-or-later, LGPL-2.0-or-later"
15- homepage="https://people.redhat. com/sgrubb /audit"
16+ homepage="https://github. com/linux-audit /audit-documentation/wiki "
1617changelog="https://raw.githubusercontent.com/linux-audit/audit-userspace/master/ChangeLog"
1718distfiles="https://github.com/linux-audit/audit-userspace/archive/refs/tags/v${version}.tar.gz"
18- checksum=154b3e77b3d47be95f765376d45bb0d8952c06c361f2806b573ed0d8bd652372
19+ checksum=42876d195ee2ded19e5f72d7664096eee314928aa36ad346719ba5b25818fc84
1920
2021if [ "$XBPS_TARGET_LIBC" = musl ]; then
2122 configure_args+=" --disable-zos-remote"
2223fi
2324
24- post_patch() {
25- # Test assumes gdm user is present
26- vsed -e 's/auid=42 (gdm)/auid=42 (unknown(42))/g' -i auparse/test/auparse_test.ref \
27- -i auparse/test/auparse_test.ref.py
28- }
29-
3025pre_configure() {
3126 autoreconf -fi
3227}
@@ -70,7 +65,6 @@ libaudit-devel_package() {
7065 vmove usr/share/aclocal/audit.m4
7166 vmove "usr/share/man/man3/audit*"
7267 vmove usr/share/man/man3/get_auditfail_action.3
73- vmove usr/share/man/man3/set_aumessage_mode.3
7468 }
7569}
7670
@@ -94,6 +88,24 @@ libauparse-devel_package() {
9488 }
9589}
9690
91+ libauplugin_package() {
92+ short_desc+=" - Plugin Library"
93+ pkg_install() {
94+ vmove "usr/lib/libauplugin.so.*"
95+ }
96+ }
97+
98+ libauplugin-devel_package() {
99+ short_desc+=" - Plugin Library development files"
100+ depends="libauplugin-${version}_${revision}"
101+ pkg_install() {
102+ vmove usr/include/auplugin.h
103+ vmove usr/lib/libauplugin.a
104+ vmove usr/lib/libauplugin.so
105+ vmove "usr/share/man/man3/auplugin*"
106+ }
107+ }
108+
97109python3-audit_package() {
98110 lib32disabled=yes
99111 short_desc+=" - Python3 bindings"
0 commit comments