[Slackbuilds-users] Rkhunter 1.3.8 breaks due to the update to file 5.09
Erik Hanson
erik at slackbuilds.org
Mon Oct 17 09:30:36 UTC 2011
On Mon, 17 Oct 2011 10:25:58 +0100
"Greg' Ar Tourter" <artourter at gmail.com> wrote:
> I suspect this change in behaviour from "file" will also create a
> problem in the default slackbuild templates where it looks for
> binaries to strip
>
> find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared
> object" | grep ELF \
> | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
>
> This line will now react to scripts as well.
I don't think so, "ELF" is not present in the output..
> > "Warning: The command '/usr/bin/rkhunter' has been replaced and is
> > not a script: /usr/bin/rkhunter: POSIX shell script, ASCII text
> > executable"
--
Erik Hanson
More information about the SlackBuilds-users
mailing list