Date: Thu, 30 Apr 2015 02:44:31 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r385021 - head/Mk/Scripts Message-ID: <201504300244.t3U2iVYm007038@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Thu Apr 30 02:44:30 2015 New Revision: 385021 URL: https://svnweb.freebsd.org/changeset/ports/385021 Log: Fix strip check to consider setuid binaries. file(1) returns 'setuid' before the rest of the ELF output. With hat: portmgr Sponsored by: EMC / Isilon Storage Division Modified: head/Mk/Scripts/qa.sh Modified: head/Mk/Scripts/qa.sh ============================================================================== --- head/Mk/Scripts/qa.sh Thu Apr 30 01:55:50 2015 (r385020) +++ head/Mk/Scripts/qa.sh Thu Apr 30 02:44:30 2015 (r385021) @@ -146,7 +146,7 @@ stripped() { while read f; do read output case "${output}" in - ELF\ *\ executable,\ *FreeBSD*,\ not\ stripped*|ELF\ *\ shared\ object,\ *FreeBSD*,\ not\ stripped*) + *ELF\ *\ executable,\ *FreeBSD*,\ not\ stripped*|*ELF\ *\ shared\ object,\ *FreeBSD*,\ not\ stripped*) warn "'${f#${STAGEDIR}${PREFIX}/}' is not stripped consider trying INSTALL_TARGET=install-strip or using \${STRIP_CMD}" ;; esac
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504300244.t3U2iVYm007038>