From nobody Thu Feb 29 19:53:07 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tm22X4yBbz5Cnwf; Thu, 29 Feb 2024 19:53:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tm22X15RYz4cRm; Thu, 29 Feb 2024 19:53:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709236388; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=r92fDNedt9GIC5l7KDGMNELQ+6kIijuSMQ8FAYMjrgE=; b=rSgOVzLPdMptmydexnfodneUkOIeIu6709ZFDVtlBJmWnnmvQprYwbzJlfTyLtHLRG6hNZ ghsU1jPFNGZ168yfz76URO7cIHWbnEX551jvJvJGHkvXQD1vCauGFYh++nRnUThu/pVvlo 9e7DmIiwG9Y52lNAsAH9BJinb+sCZgpJ+JI+Zm5l8xIdIZkhkH3ZaRFE2tlbMW9NkOxCAI vmA9kq8PR/fwCtIxxIf4qgYtk83flzJXVFNx3Vyc+1wmEBThCRs7+f4mTsqKUfLy5K1fAz /vFEK7H9s28mbj8M5lmhWZgNJeG/dnuZEdFSvLB0gXjZ85r1t9aQlPBy9KLLFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709236388; a=rsa-sha256; cv=none; b=LSdsB9bPSF8zkN4hZrBf2ZaZpH5vAlJtasqfKtaPbYysTS0i5HxYLj6Bg92pY/uhNyjFKl FtD/4f4o3qUtymmVW0liAFOlBo15+E/xHJuWqo00tcc1E8ZKnGDhdfnTEegvtWZR4oZtDJ 3zGD3acEZVE1bsJxXZ3AGNGh+gOAuv8r66H7yi20tmWsPViRstQl+doFsw1qNcctmWSKux rTcaoWz2+8RyiBFjEpCJFcTC5IKl+KJb3NghwSazT4o32vGNR33LW9Q0ZlK05PRka3UMKG aQRVIRf8CxJTUWQHTKJSu4cALoeWUGnJzrBSjDXKtJuBSROOuaX/skX3kF+5jg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709236388; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=r92fDNedt9GIC5l7KDGMNELQ+6kIijuSMQ8FAYMjrgE=; b=ZORIzRkiqFWLOLaBT7zyYcPIaan4eshsFTreIblmOlIUC5KoB1M6Y+LTd7uBtsNKqcrRp7 K32gWVr4JrrdRanlKGaIAU7Vo1KX34AXl3hD/02TDYFlbizQtiQJuF9c7o10Qan6va7D7l 7Yzp305gzLGLx7B7T2kVTGwBH0+e3U0LSgW5Wfxl94cmJLiNe55KsmZxB30dPOQxD9l4EH mUQ53XFZoKX9GCl3QbM8YjUi00ZDpG/6mVbqxM2zVsf3g0B1CiPQFrj32u4U5M6shnpTa6 TlaJIx7Tmfv4dvUgSDdU9SZlcuDH1tTivv9AV7GRvqQYsvXKgUzH+q4E2jC7QQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tm22X0jqYzwTN; Thu, 29 Feb 2024 19:53:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41TJr7k4079650; Thu, 29 Feb 2024 19:53:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41TJr7Kg079647; Thu, 29 Feb 2024 19:53:07 GMT (envelope-from git) Date: Thu, 29 Feb 2024 19:53:07 GMT Message-Id: <202402291953.41TJr7Kg079647@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: b18af1280f12 - main - Mk/Scripts: Add qa check for man pages List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b18af1280f1241d8c8a0622d7d29a47d0f4b656c Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=b18af1280f1241d8c8a0622d7d29a47d0f4b656c commit b18af1280f1241d8c8a0622d7d29a47d0f4b656c Author: Muhammad Moinur Rahman AuthorDate: 2024-02-29 19:40:25 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-02-29 19:52:23 +0000 Mk/Scripts: Add qa check for man pages portmgr@ has been actively working on moving man pages from ${PREFIX}/man to ${PREFIX}/share/man. Majority of the ports belonging to non-committers or aliases has been migrated to ${PREFIX}/share/man. There are still around 1000+ ports remaining mainly from the committers. portmgr@ has planned to make the hard change after the split of 2024Q3 after which ports that installs man pages in ${PREFIX}/man will no longer build or will be BROKEN. Approved by: portmgr --- Mk/Scripts/qa.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh index 4ba045601ebb..c570550dd9f6 100644 --- a/Mk/Scripts/qa.sh +++ b/Mk/Scripts/qa.sh @@ -1034,10 +1034,21 @@ reinplace() fi } +prefixman() { + local manlist + + manlist=$(find ${STAGEDIR}${PREFIX}/man -type f) + if [ -n "${manlist}" ]; then + warn "Installing man files in ${PREFIX}/man is no longer supported. Consider installing these files in ${PREFIX}/share/man instead." + ls -liTd ${manlist} + fi + return 0 +} + checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo" checks="$checks suidfiles libtool libperl prefixvar baselibs terminfo" checks="$checks proxydeps sonames perlcore no_arch gemdeps gemfiledeps flavors" -checks="$checks license depends_blacklist pkgmessage reinplace" +checks="$checks license depends_blacklist pkgmessage reinplace prefixman" ret=0 cd ${STAGEDIR} || exit 1