summaryrefslogtreecommitdiffstats
path: root/system/rkhunter
diff options
context:
space:
mode:
author Gerardo Zamudio2017-07-18 15:52:55 +0200
committer Gerardo Zamudio2017-07-18 15:52:55 +0200
commit6c9a69ec37f2771db353ff9f028612b295214257 (patch)
tree393141060132c3b2c46e93145bbb0b86091bb91c /system/rkhunter
parentf763b69537749e9d4826fbdc4fc94d4dcbc56f81 (diff)
downloadslackbuilds-6c9a69ec37f2771db353ff9f028612b295214257.tar.gz
system/rkhunter: Use built in TXZ layout
Diffstat (limited to 'system/rkhunter')
-rw-r--r--system/rkhunter/rkhunter.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/system/rkhunter/rkhunter.SlackBuild b/system/rkhunter/rkhunter.SlackBuild
index 9395537af9..345b815bab 100644
--- a/system/rkhunter/rkhunter.SlackBuild
+++ b/system/rkhunter/rkhunter.SlackBuild
@@ -8,7 +8,7 @@
PRGNAM=rkhunter
VERSION=${VERSION:-1.4.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -54,15 +54,11 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Set the installer to build in our package directory
-TGZ_BUILD_ROOT=$PKG \
+TXZ_BUILD_ROOT=$PKG \
./installer.sh \
- --layout TGZ \
+ --layout TXZ \
--install
-# Put docs and manual pages in the correct place
-mv $PKG/usr/share/* $PKG/usr
-rmdir $PKG/usr/share
-
# Don't clobber existing config file.
mv $PKG/etc/rkhunter.conf $PKG/etc/rkhunter.conf.new