aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerardo Zamudio <gerardo.zamudio@linux.com>2017-07-18 08:52:55 -0500
committerGerardo Zamudio <gerardo.zamudio@linux.com>2017-07-18 08:52:55 -0500
commit6c9a69ec37f2771db353ff9f028612b295214257 (patch)
tree393141060132c3b2c46e93145bbb0b86091bb91c
parentf763b69537749e9d4826fbdc4fc94d4dcbc56f81 (diff)
system/rkhunter: Use built in TXZ layout
-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 9395537af9a67..345b815babffd 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