diff --git a/common/shlibs b/common/shlibs index 343ee78db4baab..8e663872e34310 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template index 32bdaf4807cb9a..54a01ccf7bf43c 100644 --- a/srcpkgs/audit/template +++ b/srcpkgs/audit/template @@ -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 " 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 } @@ -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 } } @@ -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" diff --git a/srcpkgs/libauplugin b/srcpkgs/libauplugin new file mode 120000 index 00000000000000..ba33219b36f39e --- /dev/null +++ b/srcpkgs/libauplugin @@ -0,0 +1 @@ +audit \ No newline at end of file diff --git a/srcpkgs/libauplugin-devel b/srcpkgs/libauplugin-devel new file mode 120000 index 00000000000000..ba33219b36f39e --- /dev/null +++ b/srcpkgs/libauplugin-devel @@ -0,0 +1 @@ +audit \ No newline at end of file