mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/audit: Updated for version 2.2.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
5e4af11428
commit
679b859ac1
5 changed files with 19 additions and 25 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copyright 2010, R. Andrew Bailey, Chantilly, VA USA
|
||||
# 2013, Bogdan Radulescu, Bucharest, Romania <bogdan@nimblex.net>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Permission to use, copy, modify, and distribute this software for
|
||||
|
@ -22,17 +23,14 @@
|
|||
# SUCH DAMAGE.
|
||||
|
||||
PRGNAM=audit
|
||||
PKGVER=`basename $PRGNAM*tar.gz .tar.gz | cut -d- -f2`
|
||||
VERSION=${VERSION:-$PKGVER}
|
||||
VERSION=${VERSION:-2.2.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
@ -61,7 +59,6 @@ cd $TMP
|
|||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
|
@ -70,7 +67,7 @@ find . \
|
|||
-exec chmod 644 {} \;
|
||||
|
||||
# Init should check /etc/rc.d/rc.auditd.conf instead of /etc/sysconfig/auditd
|
||||
patch -p1 < $CWD/audit-2.0.4-sysconfig.diff
|
||||
patch -p1 < $CWD/audit-2.2.2-sysconfig.diff
|
||||
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
@ -116,9 +113,6 @@ find $PKG/usr/doc -size 0 -exec rm {} \;
|
|||
find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||
for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="audit"
|
||||
VERSION="2.0.5"
|
||||
VERSION="2.2.2"
|
||||
HOMEPAGE="http://people.redhat.com/sgrubb/audit/"
|
||||
DOWNLOAD="http://people.redhat.com/sgrubb/audit/audit-2.0.5.tar.gz"
|
||||
MD5SUM="1326b712dab362acbc8686cd91f8e3e1"
|
||||
DOWNLOAD="http://people.redhat.com/sgrubb/audit/audit-2.2.2.tar.gz"
|
||||
MD5SUM="6641fde111cf5dfda6d4282ab8410df5"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Andy Bailey"
|
||||
EMAIL="bailey@akamai.com"
|
||||
MAINTAINER="Bogdan Radulescu"
|
||||
EMAIL="bogdan@nimblex.net"
|
||||
|
|
|
@ -23,7 +23,7 @@ preserve_perms() {
|
|||
}
|
||||
|
||||
preserve_perms etc/rc.d/rc.auditd.new
|
||||
config etc/rc.d/rc.auditd.conf.new
|
||||
preserve_perms etc/rc.d/rc.auditd.conf.new
|
||||
config etc/audit/audit.rules.new
|
||||
config etc/audit/auditd.conf.new
|
||||
config etc/audisp/audispd.conf.new
|
||||
|
@ -33,4 +33,4 @@ config etc/audisp/plugins.d/au-remote.conf.new
|
|||
config etc/audisp/plugins.d/audispd-zos-remote.conf.new
|
||||
config etc/audisp/plugins.d/syslog.conf.new
|
||||
config etc/audisp/audisp-remote.conf.new
|
||||
|
||||
config etc/libaudit.conf.new
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
audit: audit (Linux Kernel Audit Framework)
|
||||
|
|
Loading…
Reference in a new issue