diff options
author | B. Watson <yalhcru@gmail.com> | 2020-01-04 12:05:37 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-12 08:47:44 +0700 |
commit | 603283176a176aeed55ea7e01759172c6cac44c0 (patch) | |
tree | 746233361e59f79aa317bdb4338e2cf8c2724e39 /system | |
parent | f089a98ec3acfa9830446ddc2651f87792e2f1d6 (diff) |
system/chkrootkit: Make sbolint happy.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system')
-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 |