svn commit: r385021 - head/Mk/Scripts
Bryan Drewery
bdrewery at FreeBSD.org
Thu Apr 30 02:44:31 UTC 2015
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
More information about the svn-ports-all
mailing list