From nobody Thu Jul 07 09:56:23 2022 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 6BC4A10FD569; Thu, 7 Jul 2022 09:56:24 +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 4LdsHr0t5Bz598Z; Thu, 7 Jul 2022 09:56:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657187784; 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=svtf0CxQ0bFHdGyPzELFkVc70/mtco8DbW3Xi5kkXo0=; b=r1AK4o2uf/hV+azuYhJLLvN+NG0aARf9xdbSS8L2FetPuSCJKwn+xniBekDwqkjADco8Sr QhJGgBKgYZKNZQsGvrEGoi0QhUbsBzsoFY2sbLiyoOYZJTQogkiyAhskBO1IwjQSjTAJBh +ZfdDRMtzRmPMiLG5iiY0+ggyH3bU+Rf/8iK6aOGnFNnnzCJRCIU3VcU0L105Linez14On rgtaG+li+IdAk8AkkNDbEae+oyOKsOfPa1ZZjqQwlM3xthTW+pirKR51SRk+CxLNJGWUJT m82XdGKZjiVenPNTfOBdDIV0Ziv4WAEsnJSYXsZV8C58CDAb6D/brHlLHacgtg== 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 4LdsHq6RLSzfNf; Thu, 7 Jul 2022 09:56:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2679uNxu052509; Thu, 7 Jul 2022 09:56:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2679uNwf052508; Thu, 7 Jul 2022 09:56:23 GMT (envelope-from git) Date: Thu, 7 Jul 2022 09:56:23 GMT Message-Id: <202207070956.2679uNwf052508@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 2eec1db116b0 - stable/13 - pkg.7: Clean up mdoc 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 2eec1db116b06be00ada9a7cc9b0ef4c84e501d3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657187784; 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=svtf0CxQ0bFHdGyPzELFkVc70/mtco8DbW3Xi5kkXo0=; b=w22DYJByS+GsYuKAY8UCc9NwBCqhwuPhel8wT/jo2clAy+cLbn4IAG91pJkF5OU9Vv9r1X LnYlDOBAArHxdWmHnc3du9kCBZZpNDWPwJX6SH8trmIdi8KeAzZao1f+3DTo2GltURLGp4 JttvA+WgdP19fQ13n44J0n3LjhNKAcFwXKpPpamzlh1NJF1ptyUhLCvZuEUmd+yh+6vnd1 p6UviLBMF5k0I9PgZihTXwUcPJ/ehAiu1ow5qYoOmN5KwiJ5R2wjYE+ITOXGj1WbAnPo/7 7atRtAcPxI7a48cCoT4V0U/u8Ju5nw66YPyLzxFS89O7sRDxisCvosolr4dFfw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657187784; a=rsa-sha256; cv=none; b=eGD5HYE0V5CorgJtfwaAz3I7+KHNw8dvVPHHwvIZnxO0MeiaBY7QXRRCfNB1hs4qTqeSit 1KlXjk1Qni4Y7vRkJpz/T4hq9xbU4HTprL+OzMZUH97+l/n50VjtMZGKfmIMUDJXyyH2lR yC6JiTetkC7oCjt1tWFjucxqT3mbPtmUilF+72jvi706bgbVQJfdbQThMdUqUnWrWRrPxc 5K+HK8hQmWItAyUrPt+HVOTvjLPCEjC2nlTZYkV2Ik3y6emCo5/FDFhN2yjDgMy7XIJtdj E25Dgtlb57R22uCh164s2Cg4yemsgHX0lTR+WB4sutZ8kP+hAcMWLceSKxtOwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=2eec1db116b06be00ada9a7cc9b0ef4c84e501d3 commit 2eec1db116b06be00ada9a7cc9b0ef4c84e501d3 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-06-30 13:46:54 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-07-07 09:56:18 +0000 pkg.7: Clean up mdoc MFC after: 1 week (cherry picked from commit 3beedc3840c29f3f728ed28cbc1450e1b9999f61) --- usr.sbin/pkg/pkg.7 | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/usr.sbin/pkg/pkg.7 b/usr.sbin/pkg/pkg.7 index b92f5c9820cd..c8ebf8272092 100644 --- a/usr.sbin/pkg/pkg.7 +++ b/usr.sbin/pkg/pkg.7 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 7, 2021 +.Dd June 30, 2022 .Dt PKG 7 .Os .Sh NAME @@ -32,21 +32,19 @@ .Nd a utility for manipulating packages .Sh SYNOPSIS .Nm -.Ao Ar command Ac +.Ar command ... .Nm -add -.Op Fl f +.Cm add +.Op Fl fy .Op Fl r Ar reponame -.Op Fl y -.Ao Pa pkg.txz Ac +.Ar pkg.txz .Nm .Fl N .Nm -.Op Fl 4 | Fl 6 -bootstrap -.Op Fl f +.Op Fl 46 +.Cm bootstrap +.Op Fl fy .Op Fl r Ar reponame -.Op Fl y .Sh DESCRIPTION .Nm is the package management tool. @@ -62,15 +60,15 @@ The first time invoked, will bootstrap the real .Xr pkg 8 from a remote repository. -.Bl -tag -width "pkg bootstrap" -.It Nm Ao Ar command Ac +.Bl -tag +.It Nm Ar command ... If .Xr pkg 8 is not installed yet, it will be fetched, have its signature verified, installed, and then have the original command forwarded to it. If already installed, the command requested will be forwarded to the real .Xr pkg 8 . -.It Nm Li add Oo Fl f Oc Oo Fl r Ar reponame Oc Oo Fl y Oc Ao Pa pkg.txz Ac +.It Nm Cm add Oo Fl fy Oc Oo Fl r Ar reponame Oc Ar pkg.txz Install .Xr pkg 8 from a local package instead of fetching from remote. @@ -96,8 +94,8 @@ Do not bootstrap, just determine if is actually installed or not. Returns 0 and the number of packages installed if it is, otherwise 1. -.It Nm Oo Fl 4 | Fl 6 Oc Li bootstrap Oo Fl f Oc \ -Oo Fl r Ar reponame Oc Oo Fl y Oc +.It Nm Oo Fl 46 Oc Cm bootstrap Oo Fl fy Oc \ +Oo Fl r Ar reponame Oc Attempt to bootstrap and do not forward anything to .Xr pkg 8 after it is installed. @@ -243,7 +241,7 @@ configuration files. .Sh FILES Configuration is read from the files in the listed order. This path can be changed by setting -.Sy REPOS_DIR . +.Ev REPOS_DIR . The last enabled repository is the one used for bootstrapping .Xr pkg 8 . .Bl -tag -width "/usr/local/etc/pkg/repos/*.conf" @@ -282,12 +280,12 @@ Remove unneeded dependencies: .Dl % pkg autoremove .Pp Change a package from automatic to non-automatic, which will prevent -.Ic autoremove +.Xr pkg-autoremove 8 from removing it: .Dl % pkg set -A 0 perl .Pp Change a package from non-automatic to automatic, which will make -.Ic autoremove +.Xr pkg-autoremove 8 allow it be removed once nothing depends on it: .Dl % pkg set -A 1 perl .Pp