wok-next view audit/receipt @ rev 20856
Update libfm-extra, menu-cache, libfm, pcmanfm
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 26 17:13:37 2018 +0300 (2018-06-26) |
parents | 757d032c55c7 |
children | ac33744dc2c2 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="audit"
4 VERSION="2.2.1"
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="python-dev openldap-dev coreutils-file-format swig"
15 SPLIT="audit-python audit audit-dev"
17 compile_rules() {
18 ./configure \
19 --sbindir=/sbin \
20 $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make DESTDIR=$DESTDIR install || return 1
25 # make files readable for the web interface; fix permissions later in post_install
26 chmod 755 $install/etc/audisp/plugins.d/
27 find $install/etc/audisp/ $install/etc/libaudit.conf \
28 $install/etc/sysconfig/auditd $install/sbin/audispd \
29 -type f -exec chmod o+r '{}' \;
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 audit-python)
35 copy *.py site-packages/*.so
36 CAT="misc|Python bindings"
37 DEPENDS="audit python"
38 ;;
39 audit)
40 copy @std @rm
41 DEPENDS="openssl libldap"
42 ;;
43 *-dev)
44 copy @dev
45 ;;
46 esac
47 }
49 post_install_audit() {
50 chmod 750 "$1/etc/audisp/plugins.d/"
51 find "$1/etc/audisp/" "$1/etc/libaudit.conf" "$1/etc/sysconfig/auditd" \
52 "$1/sbin/audispd" -type f -exec chmod o-r '{}' \;
53 }