From owner-svn-ports-all@freebsd.org Mon Aug 10 17:06:51 2015 Return-Path: Delivered-To: svn-ports-all@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 19C0299E18E; Mon, 10 Aug 2015 17:06:51 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 0A1967BD; Mon, 10 Aug 2015 17:06:51 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7AH6o17035793; Mon, 10 Aug 2015 17:06:50 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7AH6ovw035792; Mon, 10 Aug 2015 17:06:50 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201508101706.t7AH6ovw035792@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Mon, 10 Aug 2015 17:06:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393878 - 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-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2015 17:06:51 -0000 Author: antoine Date: Mon Aug 10 17:06:50 2015 New Revision: 393878 URL: https://svnweb.freebsd.org/changeset/ports/393878 Log: Make baselibs QA check non recursive and activate it again Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D3352 Modified: head/Mk/Scripts/qa.sh Modified: head/Mk/Scripts/qa.sh ============================================================================== --- head/Mk/Scripts/qa.sh Mon Aug 10 16:47:02 2015 (r393877) +++ head/Mk/Scripts/qa.sh Mon Aug 10 17:06:50 2015 (r393878) @@ -99,19 +99,19 @@ baselibs() { [ "${PKGBASE}" = "pkg" -o "${PKGBASE}" = "pkg-devel" ] && return while read f; do case ${f} in - /usr/lib/libarchive*) - err "Bad linking on ${f} please add USES=libarchive" + *NEEDED*\[libarchive.so.[56]]) + err "Bad linking on ${f##* } please add USES=libarchive" rc=1 ;; - /lib/libedit*) - err "Bad linking on ${f} please add USES=libedit" + *NEEDED*\[libedit.so.7]) + err "Bad linking on ${f##* } please add USES=libedit" rc=1 ;; esac done <<-EOF $(find ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/sbin \ ${STAGEDIR}${PREFIX}/lib ${STAGEDIR}${PREFIX}/libexec \ - -type f -exec ldd -a {} + 2>/dev/null) + -type f -exec readelf -d {} + 2>/dev/null) EOF return ${rc} } @@ -293,7 +293,7 @@ prefixvar() { fi } -checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo suidfiles libtool libperl prefixvar" # baselibs" +checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo suidfiles libtool libperl prefixvar baselibs" ret=0 cd ${STAGEDIR}