diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template index 9f0dc744431..1f3ff32f1fd 100644 --- a/srcpkgs/audit/template +++ b/srcpkgs/audit/template @@ -1,12 +1,11 @@ # Template file for 'audit' pkgname=audit version=2.8.4 -revision=1 +revision=2 build_style=gnu-configure configure_args="--libdir=/usr/lib --enable-shared=audit --enable-gssapi-krb5 --with-apparmor --with-libcap-ng --with-python --with-python3" -hostmakedepends="automake libtool pkg-config intltool - swig python-setuptools python3-setuptools" +hostmakedepends="automake libtool pkg-config intltool python python3 swig" makedepends="mit-krb5-devel libldap-devel libapparmor-devel libcap-ng-devel python-devel python3-devel" make_dirs="/var/log/audit 0700 root root" @@ -86,16 +85,18 @@ libauparse-devel_package() { } python-audit_package() { - short_desc+=" - Python bindings" - pycompile_module="audit" + lib32disabled=yes + short_desc+=" - Python2 bindings" + pycompile_module="audit.py" pkg_install() { vmove "usr/lib/python2*" } } python3-audit_package() { + lib32disabled=yes short_desc+=" - Python3 bindings" - pycompile_module="audit" + pycompile_module="audit.py" pkg_install() { vmove "usr/lib/python3*" }