wok-next view audit/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="audit"
4 VERSION="2.8.5"
5 CATEGORY="misc"
6 SHORT_DESC="System call auditing"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://people.redhat.com/sgrubb/audit/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 BUILD_DEPENDS="coreutils-file-format openldap-dev python-dev swig"
15 SPLIT="$PACKAGE-python $PACKAGE $PACKAGE-dev"
17 compile_rules()
18 {
19 ./configure \
20 --disable-static \
21 --sbindir=/sbin \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install || return 1
27 # make files readable for the web interface; fix permissions later in post_install
28 chmod 755 $install/etc/audisp/plugins.d/
29 find $install/etc/audisp/ $install/etc/libaudit.conf \
30 $install/etc/sysconfig/auditd $install/sbin/audispd \
31 -type f -exec chmod o+r '{}' \;
32 }
34 genpkg_rules()
35 {
36 case $PACKAGE in
37 audit-python)
38 copy *.py site-packages/*.so
39 CAT="misc|Python bindings"
40 DEPENDS="audit python"
41 ;;
42 audit)
43 copy @std @rm
44 DEPENDS="libldap"
45 ;;
46 *-dev)
47 copy @dev
48 ;;
49 esac
50 }
52 post_install_audit()
53 {
54 chmod 750 "$1/etc/audisp/plugins.d/"
55 find "$1/etc/audisp/" "$1/etc/libaudit.conf" "$1/etc/sysconfig/auditd" \
56 "$1/sbin/audispd" -type f -exec chmod o-r '{}' \;
57 }