From nobody Thu Jul 07 09:57:03 2022 X-Original-To: dev-commits-src-branches@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 3F73B10FE597; Thu, 7 Jul 2022 09:57:05 +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 4LdsJb4WSbz3C4x; Thu, 7 Jul 2022 09:57:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657187823; 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=rAWiTqXI5bxy5ZUUITihtS1uOdHXbD7rukqlJTRQvvs=; b=Zt4dd8uYwxJ5Oioj7lDmYhs/+sA7W9oYJbBdSGlIq+pcLyln1atb+D1ixYkrB5TyOeCRmV 8TDN8flGRA+sNe2xaEurv46qg511fyAalpxYVZRmcffm+vplaVa4seVF4vzZqC6P4RZkN8 IJqH19wN2+GdEHudY+KerVaGihmx3ivbdmWZhVymmuvgWhT/Iw7xHJ35OWB49Br51zt9nl SGFbggbLeOZD85CAvY9uXRoqaRM5WcsShjayIUjPnscr7kU+xwWinzFbqn46ovyqLMaxAs dwUQCc53G+jV1t+KCUzxTJCA1oLqf2iW6p1NXJJbMZ/nDKADK5EirEd1rTlzXA== 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 4LdsJb2MPNzfNj; Thu, 7 Jul 2022 09:57:03 +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 2679v3qe052768; Thu, 7 Jul 2022 09:57:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2679v3iV052767; Thu, 7 Jul 2022 09:57:03 GMT (envelope-from git) Date: Thu, 7 Jul 2022 09:57:03 GMT Message-Id: <202207070957.2679v3iV052767@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: d686d7558670 - stable/12 - pkg.7: Clean up mdoc List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/12 X-Git-Reftype: branch X-Git-Commit: d686d755867084c5916a645cd429e0cd4152e06e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657187823; 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=rAWiTqXI5bxy5ZUUITihtS1uOdHXbD7rukqlJTRQvvs=; b=sw+nBPWHisV1EdJpmO4TL/ttWEFJatMMF73Q+uvcxu8vu8pROCu7yNOvhDzP4UPg+155ED vh9KDjh+UTd/2BDSixnzWweXyh8iZ30167fpCUm555dUWdXiE0m8ZVhVaq7R8kzGroj3sT +xEyMfXm0nJ5e/Z9v+GaiSoq5AFQ6LlA+4wDAxsV4c/L2B42rtfAGQsOhDFZvPPpe5Zs0A evTywTT5E5Z16fPP88w0eoS58OIg3UX0AHwna3/QZYDeTnox0h+Ps4jXzYOA9CoWkLKe96 hTpQGFXwyCNeuXQJ6WB3mcNApT0Ug0eniT8bAEevgaX5mgWCW1MVFC3lNcLaZw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657187823; a=rsa-sha256; cv=none; b=w4qeWnqYKbX2At/D835XDkRlOvsGWy/er+1AOkokXEy7nWqZhzZioWVOUTfDXplhoeceh/ WEG8td+CUPJkqPPfQgKYwl30LjF0EXuftKp5QxX8Otrfl0uLU43Xrc2FuKzZceQs6ibFS+ +BGV/KCQXc578zXgNJQ3ubF/QO6spLA3V89VqPQOceJnPB+PdqyEaBUhFeUWZolDDhnrQi JnZoLDoGT78BqmUZ4D6myvX+cnQSPNeDR3IUhEYT6UNzpHvBbCwNY02z3eGmfHw0k3fVmm l3pskhPepMUP9mNbcfe8yzi2pcDs8ZT8yUCK8YQPMl04ESOXBxoLV4ckujeYrg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=d686d755867084c5916a645cd429e0cd4152e06e commit d686d755867084c5916a645cd429e0cd4152e06e 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:57 +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