wok-next rev 21505

updated audit (2.8.4 -> 2.8.5)
author Hans-G?nter Theisgen
date Fri Jun 19 07:56:59 2020 +0100 (2020-06-19)
parents d769035d06d1
children 7e5bf3eaf800
files audit/receipt
line diff
     1.1 --- a/audit/receipt	Fri Jun 19 07:32:57 2020 +0100
     1.2 +++ b/audit/receipt	Fri Jun 19 07:56:59 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="audit"
     1.7 -VERSION="2.8.4"
     1.8 +VERSION="2.8.5"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="System call auditing"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -11,26 +11,28 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="${WEB_SITE}$TARBALL"
    1.15  
    1.16 -BUILD_DEPENDS="python-dev openldap-dev coreutils-file-format swig"
    1.17 +BUILD_DEPENDS="coreutils-file-format openldap-dev python-dev swig"
    1.18  SPLIT="$PACKAGE-python $PACKAGE $PACKAGE-dev"
    1.19  
    1.20 -compile_rules() {
    1.21 -	./configure \
    1.22 -		--disable-static \
    1.23 -		--sbindir=/sbin \
    1.24 +compile_rules()
    1.25 +{
    1.26 +	./configure			\
    1.27 +		--disable-static	\
    1.28 +		--sbindir=/sbin		\
    1.29  		$CONFIGURE_ARGS &&
    1.30  	fix libtool &&
    1.31  	make &&
    1.32  	make install || return 1
    1.33  
    1.34  	# make files readable for the web interface; fix permissions later in post_install
    1.35 -	chmod 755 $install/etc/audisp/plugins.d/
    1.36 +	chmod 755	$install/etc/audisp/plugins.d/
    1.37  	find $install/etc/audisp/ $install/etc/libaudit.conf \
    1.38  	$install/etc/sysconfig/auditd $install/sbin/audispd \
    1.39  	-type f -exec chmod o+r '{}' \;
    1.40  }
    1.41  
    1.42 -genpkg_rules() {
    1.43 +genpkg_rules()
    1.44 +{
    1.45  	case $PACKAGE in
    1.46  		audit-python)
    1.47  			copy *.py site-packages/*.so
    1.48 @@ -47,8 +49,9 @@
    1.49  	esac
    1.50  }
    1.51  
    1.52 -post_install_audit() {
    1.53 -	chmod 750 "$1/etc/audisp/plugins.d/"
    1.54 +post_install_audit()
    1.55 +{
    1.56 +	chmod 750	"$1/etc/audisp/plugins.d/"
    1.57  	find "$1/etc/audisp/" "$1/etc/libaudit.conf" "$1/etc/sysconfig/auditd" \
    1.58  	"$1/sbin/audispd" -type f -exec chmod o-r '{}' \;
    1.59  }