Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -3611,6 +3611,7 @@ libwx_gtk3u_xrc-3.2.so.0 wxWidgets-gtk3-3.2.2.1_1
libnomacsCore.so.3 nomacs-3.10.2_4
libaudit.so.1 libaudit-2.8.4_1
libauparse.so.0 libauparse-2.8.4_1
libauplugin.so.1 libauplugin-4.2.1_1
libOpenCL.so.1 ocl-icd-2.2.12_1
liburiparser.so.1 uriparser-0.8.6_1
libcpptest.so.1 cpptest-2.0.0_1
Expand Down
36 changes: 24 additions & 12 deletions srcpkgs/audit/template
Original file line number Diff line number Diff line change
@@ -1,32 +1,27 @@
# Template file for 'audit'
pkgname=audit
version=4.0.3
revision=4
version=4.2.1
revision=1
build_style=gnu-configure
configure_args="--libdir=/usr/lib --enable-shared=audit --enable-gssapi-krb5
--with-apparmor --with-libcap-ng --with-python3"
hostmakedepends="automake libtool pkg-config gettext python3-setuptools swig"
hostmakedepends="automake libtool pkg-config gettext python3-setuptools
python3-packaging-bootstrap swig tar"
makedepends="mit-krb5-devel libldap-devel libapparmor-devel libcap-ng-devel
python3-devel"
make_dirs="/var/log/audit 0700 root root"
short_desc="Linux Security Auditing Framework"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="https://people.redhat.com/sgrubb/audit"
homepage="https://github.com/linux-audit/audit-documentation/wiki"
changelog="https://raw.githubusercontent.com/linux-audit/audit-userspace/master/ChangeLog"
distfiles="https://github.com/linux-audit/audit-userspace/archive/refs/tags/v${version}.tar.gz"
checksum=154b3e77b3d47be95f765376d45bb0d8952c06c361f2806b573ed0d8bd652372
checksum=42876d195ee2ded19e5f72d7664096eee314928aa36ad346719ba5b25818fc84

if [ "$XBPS_TARGET_LIBC" = musl ]; then
configure_args+=" --disable-zos-remote"
fi

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
}
Expand Down Expand Up @@ -70,7 +65,6 @@ libaudit-devel_package() {
vmove usr/share/aclocal/audit.m4
vmove "usr/share/man/man3/audit*"
vmove usr/share/man/man3/get_auditfail_action.3
vmove usr/share/man/man3/set_aumessage_mode.3
}
}

Expand All @@ -94,6 +88,24 @@ libauparse-devel_package() {
}
}

libauplugin_package() {
short_desc+=" - Plugin Library"
pkg_install() {
vmove "usr/lib/libauplugin.so.*"
}
}

libauplugin-devel_package() {
short_desc+=" - Plugin Library development files"
depends="libauplugin-${version}_${revision}"
pkg_install() {
vmove usr/include/auplugin.h
vmove usr/lib/libauplugin.a
vmove usr/lib/libauplugin.so
vmove "usr/share/man/man3/auplugin*"
}
}

python3-audit_package() {
lib32disabled=yes
short_desc+=" - Python3 bindings"
Expand Down
1 change: 1 addition & 0 deletions srcpkgs/libauplugin
1 change: 1 addition & 0 deletions srcpkgs/libauplugin-devel