diff options
Diffstat (limited to 'system/chkrootkit')
-rw-r--r-- | system/chkrootkit/chkrootkit.SlackBuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/chkrootkit/chkrootkit.SlackBuild b/system/chkrootkit/chkrootkit.SlackBuild index 6c119ee9649c9..2fd9cda0a0cd3 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 |