From 603283176a176aeed55ea7e01759172c6cac44c0 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 4 Jan 2020 12:05:37 -0500 Subject: system/chkrootkit: Make sbolint happy. Signed-off-by: B. Watson --- system/chkrootkit/chkrootkit.SlackBuild | 2 ++ 1 file changed, 2 insertions(+) (limited to 'system') 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 -- cgit v1.2.3