summaryrefslogtreecommitdiff
path: root/system/rkhunter/rkhunter.SlackBuild
diff options
context:
space:
mode:
authorGerardo Zamudio <gerardo.zamudio@linux.com>2017-01-17 06:00:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-20 19:35:20 +0700
commitaad6a81bfa4c42a1081176da7caf0e8bb6a36fec (patch)
tree6a27a8adf41bfece014e5b6772c0008b33cc151a /system/rkhunter/rkhunter.SlackBuild
parente3ea657b230bd7add62d3423613fcc29e562b7fb (diff)
downloadslackbuilds-aad6a81bfa4c42a1081176da7caf0e8bb6a36fec.tar.gz
system/rkhunter: Updated for version 1.4.2 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/rkhunter/rkhunter.SlackBuild')
-rw-r--r--system/rkhunter/rkhunter.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/system/rkhunter/rkhunter.SlackBuild b/system/rkhunter/rkhunter.SlackBuild
index a723a6acad..e466f98be6 100644
--- a/system/rkhunter/rkhunter.SlackBuild
+++ b/system/rkhunter/rkhunter.SlackBuild
@@ -3,16 +3,17 @@
# Slackware build script for Rootkit Hunter
# Written by Michael Johnson (youngmug@animeneko.net)
-# Currently maintained by Mr. B-o-B <mr dot chew dot baka at gmail dot com>
+# Was maintained by Mr. B-o-B <mr dot chew dot baka at gmail dot com>
+# Currently maintained by Gerardo Zamudio <gerardo.zamudio@linux.com>
PRGNAM=rkhunter
-VERSION=${VERSION:-1.4.0}
+VERSION=${VERSION:-1.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -37,7 +38,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -47,10 +48,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Set the installer to build in our package directory
TGZ_BUILD_ROOT=$PKG \