Skip to content

Commit 4975e34

Browse files
committed
audit: update to 4.2.1
1 parent 85edf2d commit 4975e34

1 file changed

Lines changed: 24 additions & 12 deletions

File tree

srcpkgs/audit/template

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,27 @@
11
# Template file for 'audit'
22
pkgname=audit
3-
version=4.0.3
4-
revision=4
3+
version=4.2.1
4+
revision=1
55
build_style=gnu-configure
66
configure_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"
910
makedepends="mit-krb5-devel libldap-devel libapparmor-devel libcap-ng-devel
1011
python3-devel"
1112
make_dirs="/var/log/audit 0700 root root"
1213
short_desc="Linux Security Auditing Framework"
1314
maintainer="Orphaned <orphan@voidlinux.org>"
1415
license="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"
1617
changelog="https://raw.githubusercontent.com/linux-audit/audit-userspace/master/ChangeLog"
1718
distfiles="https://github.com/linux-audit/audit-userspace/archive/refs/tags/v${version}.tar.gz"
18-
checksum=154b3e77b3d47be95f765376d45bb0d8952c06c361f2806b573ed0d8bd652372
19+
checksum=42876d195ee2ded19e5f72d7664096eee314928aa36ad346719ba5b25818fc84
1920

2021
if [ "$XBPS_TARGET_LIBC" = musl ]; then
2122
configure_args+=" --disable-zos-remote"
2223
fi
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-
3025
pre_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+
97109
python3-audit_package() {
98110
lib32disabled=yes
99111
short_desc+=" - Python3 bindings"

0 commit comments

Comments
 (0)