summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2020-01-04 18:05:37 +0100
committer Willy Sudiarto Raharjo2020-01-12 02:47:44 +0100
commit603283176a176aeed55ea7e01759172c6cac44c0 (patch)
tree746233361e59f79aa317bdb4338e2cf8c2724e39
parentf089a98ec3acfa9830446ddc2651f87792e2f1d6 (diff)
downloadslackbuilds-603283176a176aeed55ea7e01759172c6cac44c0.tar.gz
system/chkrootkit: Make sbolint happy.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--system/chkrootkit/chkrootkit.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/chkrootkit/chkrootkit.SlackBuild b/system/chkrootkit/chkrootkit.SlackBuild
index 6c119ee964..2fd9cda0a0 100644
--- a/system/chkrootkit/chkrootkit.SlackBuild
+++ b/system/chkrootkit/chkrootkit.SlackBuild
@@ -79,6 +79,7 @@ done
# Thanks to Erik Jan Tromp (alphageek) for the suggestion on this
# Install a wrapper script
+###sbolint off
mkdir -p $PKG/usr/sbin
cat << EOF > $PKG/usr/sbin/chkrootkit
#!/bin/sh
@@ -87,6 +88,7 @@ PRGDIR=/usr/lib${LIBDIRSUFFIX}/${PRGNAM}/bin
cd \$PRGDIR && exec ./$PRGNAM \$*
EOF
chmod 0755 $PKG/usr/sbin/$PRGNAM
+###sbolint on
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true