From owner-svn-ports-head@freebsd.org Thu Jun 23 11:31:16 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7834B7373F; Thu, 23 Jun 2016 11:31:16 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A897C17AC; Thu, 23 Jun 2016 11:31:16 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5NBVFGZ021581; Thu, 23 Jun 2016 11:31:15 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5NBVFur021580; Thu, 23 Jun 2016 11:31:15 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201606231131.u5NBVFur021580@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Thu, 23 Jun 2016 11:31:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417364 - head/Mk/Scripts X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2016 11:31:16 -0000 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}