From nobody Sun Oct 26 02:28:06 2025 X-Original-To: dev-commits-src-all@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 4cvLCZ2wpFz6Dgr9; Sun, 26 Oct 2025 02:28:10 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cvLCW1TC1z3HFZ; Sun, 26 Oct 2025 02:28:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761445687; 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=oeifbK/PYiuAjU6VSFFTgoTj+Ude4hRi42p4kjShDMc=; b=XO6GfO5z0okCHeayWlQRzKZqlCFv8qcwFPxts7DOaYpVw+hxJ4F2dH+agwh4qG5SL+O4xW 5HJju42eH8mUp5vE3g1NB6M9o3mkcHGFrUmqSY2My0CAQtnxKtXRhbjhiaRPh973w+KW8D p82CWB2/68lRAxbo4vIJmxL/trKlbjrwNhhi2+jrc2CG0nR5KKLM4gRJMHgrWdBKlKqr+N 8Zfe9jWrwN9xYOPgUQLijSDOk4zcqHzxu/05b7kbAM9PXA5kTK6L9u7nH7rN5+oIBy60fd UVvaaOgY9TYJFDrF9V053N8Sz4LP7+4e3rTzDMCgIo7GKNA8q4MbSWH5TKYWKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761445687; 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=oeifbK/PYiuAjU6VSFFTgoTj+Ude4hRi42p4kjShDMc=; b=S04Dblk+QeiTmDkEQNLR3LQEwiEGHwN8Z+aUhIMGqxFL+CHcBSs9iMiwqt5BVouTPx5jbX KBowDB//YTlub7Bx13RMJoTPfk/QMhAH/ONh1ATCDlOOpO75b3jE7hS1LhAuYgw7+eNEEQ Rak9Duo1k5M1POoMTTVhqthd02TgKf4H/psFOhscBxhRR7ol7UjhPAyK2CJwriiFqohW2T yqt7bOhK43UkLLtbKMc4H4KWktOkkbiEmd3zndzoQenZcrpFoS8vaaCMQgF6xiRq6fkq3R 6mhi4kd4S5DsxO1WF+pjEpelhVYnX+/Ff6wqvh8ev/HW80n6txh0W1D6/l1iHA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761445687; a=rsa-sha256; cv=none; b=KspMX/INDARK8UTt7DcFKAgskcYhiCRNWJLyWMnwzniLo1k/sHfE/jbv7YkY1szQ9+G68K ae4TUiiKaykOgreCfQrREUJlzeqadBezjrHBKIgikiNlmdL14NC5sHS5ijgoTU9jBywo0L XlPCEimZkFrWb8AGp1pT+tV7Kj2GRAEujErMQNAqnclqug2A8o46a7kX76LmX50wPZtfb9 y1dZpywHO25Oxp/B34psnlKZygkJ/U3qxv70MAo1WLfh4i3WK45dep90KFGhYhgGPeitqp cz5L5TTlUzd8IfPezseOFyNaN6LhRwmC+EZ0TiFpVamgID9FaZ4IgJroXabVZg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cvLCV6F7Dz1CGw; Sun, 26 Oct 2025 02:28:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59Q2S6fa069078; Sun, 26 Oct 2025 02:28:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59Q2S6W6069075; Sun, 26 Oct 2025 02:28:06 GMT (envelope-from git) Date: Sun, 26 Oct 2025 02:28:06 GMT Message-Id: <202510260228.59Q2S6W6069075@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Lexi Winter Subject: git: 82f96b2bc983 - main - share/man/man5: Use MANGROUPS.yes List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ivy X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 82f96b2bc983163a890f1782d3091701498b78a2 Auto-Submitted: auto-generated The branch main has been updated by ivy: URL: https://cgit.FreeBSD.org/src/commit/?id=82f96b2bc983163a890f1782d3091701498b78a2 commit 82f96b2bc983163a890f1782d3091701498b78a2 Author: Lexi Winter AuthorDate: 2025-10-25 17:27:23 +0000 Commit: Lexi Winter CommitDate: 2025-10-26 02:25:58 +0000 share/man/man5: Use MANGROUPS.yes Simplify the Makefile logic by using MANGROUPS.yes for optional packages. Also, move bluetooth manpages to the correct package, add the correct conditional for OpenSSH (MK_OPENSSH), and properly alphabetise the file. MFC after: 3 days Reviewed by: emaste Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D53127 --- share/man/man5/Makefile | 70 ++++++++++++++++++++++--------------------------- 1 file changed, 32 insertions(+), 38 deletions(-) diff --git a/share/man/man5/Makefile b/share/man/man5/Makefile index c13a8b7afde2..abf4b59d184b 100644 --- a/share/man/man5/Makefile +++ b/share/man/man5/Makefile @@ -43,20 +43,6 @@ MAN= a.out.5 \ style.mdoc.5 \ sysctl.conf.5 \ -.if ${MK_BLUETOOTH} != "no" -MAN+= bluetooth.device.conf.5 \ - bluetooth.hosts.5 \ - bluetooth.protocols.5 -.endif - -.if ${MK_FREEBSD_UPDATE} != "no" -MAN+= freebsd-update.conf.5 -.endif - -.if ${MK_HESIOD} != "no" -MAN+= hesiod.conf.5 -.endif - MLINKS= dir.5 dirent.5 MLINKS+=fs.5 inode.5 MLINKS+=hosts.equiv.5 rhosts.5 @@ -69,37 +55,46 @@ MANGROUPS+= ACCT ACCT= acct.5 ACCTPACKAGE= acct -MANGROUPS+= BOOTLOADER +MANGROUPS.${MK_BLUETOOTH}+= BLUETOOTH +BLUETOOTHPACKAGE= bluetooth +BLUETOOTH= bluetooth.device.conf.5 \ + bluetooth.hosts.5 \ + bluetooth.protocols.5 + +MANGROUPS+= BOOTLOADER +BOOTLOADERPACKAGE= bootloader BOOTLOADER= device.hints.5 -BOOTLOADERPACKAGE=bootloader -.if ${MK_TOOLCHAIN} != "no" -MANGROUPS+= TOOLCHAIN +MANGROUPS.${MK_FREEBSD_UPDATE}+= FREEBSD_UPDATE +FREEBSD_UPDATE= freebsd-update.conf.5 + +MANGROUPS.${MK_HESIOD}+= HESIOD +HESIOD= hesiod.conf.5 + +MANGROUPS.${MK_TOOLCHAIN}+= TOOLCHAIN +TOOLCHAINPACKAGE= toolchain TOOLCHAIN= ar.5 -TOOLCHAINPACKAGE=toolchain -.endif -MANGROUPS+= LP +MANGROUPS+= LP +LPPACKAGE= lp LP= hosts.lpd.5 -LPPACKAGE= lp -MANGROUPS+= PERIODIC +MANGROUPS+= PERIODIC +PERIODICPACKAGE= periodic PERIODIC= periodic.conf.5 -PERIODICPACKAGE=periodic -.if ${MK_PF} != "no" -MANGROUPS+= PF +MANGROUPS.${MK_PF}+= PF +PFPACKAGE= pf PF= pf.conf.5 \ pf.os.5 -PFPACKAGE= pf -.endif -MANGROUPS+= RC +MANGROUPS+= RC +RCPACKAGE= rc RC= rc.conf.5 RCLINKS= rc.conf.5 rc.conf.local.5 -RCPACKAGE= rc -MANGROUPS+= RUNTIME +MANGROUPS+= RUNTIME +RUNTIMEPACKAGE= runtime RUNTIME= devfs.conf.5 \ devfs.rules.5 \ fstab.5 \ @@ -107,19 +102,18 @@ RUNTIME= devfs.conf.5 \ RUNTIMELINKS= passwd.5 master.passwd.5 RUNTIMELINKS+= passwd.5 pwd.db.5 RUNTIMELINKS+= passwd.5 spwd.db.5 -RUNTIMEPACKAGE= runtime -MANGROUPS+= SMB +MANGROUPS+= SMB +SMBPACKAGE= smbutils SMB= nsmb.conf.5 -SMBPACKAGE= smbutils -MANGROUPS+= SSH +MANGROUPS.${MK_OPENSSH}+= SSH +SSHPACKAGE= ssh SSH= moduli.5 -SSHPACKAGE= ssh -MANGROUPS+= UFS +MANGROUPS+= UFS +UFSPACKAGE= ufs UFS= fs.5 -UFSPACKAGE= ufs # This makes more sense for amd64 and i386 but # we decide to install all manpages in all architectures