Date: Thu, 23 Jun 2016 11:31:15 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417364 - head/Mk/Scripts Message-ID: <201606231131.u5NBVFur021580@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Thu Jun 23 11:31:15 2016 New Revision: 417364 URL: https://svnweb.freebsd.org/changeset/ports/417364 Log: Extend the symlink checks to warn on absolute targets. Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D6930 Modified: head/Mk/Scripts/qa.sh (contents, props changed) Modified: head/Mk/Scripts/qa.sh ============================================================================== --- head/Mk/Scripts/qa.sh Thu Jun 23 11:26:18 2016 (r417363) +++ head/Mk/Scripts/qa.sh Thu Jun 23 11:31:15 2016 (r417364) @@ -134,6 +134,9 @@ symlinks() { err "Bad symlink '${l#${STAGEDIR}${PREFIX}/}' pointing inside the stage directory" rc=1 ;; + /*) + warn "Bad symlink '${l#${STAGEDIR}}' pointing to an absolute pathname '${link}'" + ;; esac # Use heredoc to avoid losing rc from find|while subshell. done <<-EOF @@ -607,7 +610,9 @@ proxydeps() { return ${rc} } -checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo suidfiles libtool libperl prefixvar baselibs terminfo proxydeps" +checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo" +checks="$checks suidfiles libtool libperl prefixvar baselibs terminfo" +checks="$checks proxydeps" ret=0 cd ${STAGEDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606231131.u5NBVFur021580>