summaryrefslogtreecommitdiffstats
path: root/system/lynis/lynis.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/lynis/lynis.SlackBuild')
-rw-r--r--system/lynis/lynis.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/system/lynis/lynis.SlackBuild b/system/lynis/lynis.SlackBuild
index 5da05e54cf..234c69a233 100644
--- a/system/lynis/lynis.SlackBuild
+++ b/system/lynis/lynis.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for lynis
-# Copyright 2016-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2016-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lynis
-VERSION=${VERSION:-3.0.6}
+VERSION=${VERSION:-3.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -79,12 +76,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p $PKG/usr/bin $PKG/usr/share/lynis/ $PKG/etc/bash_completion.d
+mkdir -p $PKG/usr/bin $PKG/usr/share/lynis/ $PKG/usr/share/bash-completion/completions
mkdir -p $PKG/usr/man/man8/ $PKG/etc/lynis
cp default.prf $PKG/etc/lynis
cp -rf lynis $PKG/usr/bin
cp -rf include plugins db $PKG/usr/share/lynis/
-cp extras/bash_completion.d/$PRGNAM $PKG/etc/bash_completion.d/
+cp extras/bash_completion.d/$PRGNAM $PKG/usr/share/bash-completion/completions/
install -m644 lynis.8 $PKG/usr/man/man8/lynis.8
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \