From nobody Thu Jun 30 14:22:34 2022 X-Original-To: dev-commits-src-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 8DFB587098B; Thu, 30 Jun 2022 14:22:35 +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 4LYgXB6v41z4rbP; Thu, 30 Jun 2022 14:22:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656598955; 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=4VVE9TP5tSVMcx8sW53dhCGMf2bAoH+dElL6Tqz5f7k=; b=Ahknh7DNmwnbIqaMNZC9KiY8kQ+hDfcC4mFEErw6vMYWkInNG0zAvhsEh4FKItTPk29uw2 42DvxZ5NsD9/wQxR45/fZvz8pTExtYU4RXWLBrlpk78UcLT4jCc9tgJ8hzrhHQ96jDWqgl KNkeDUek0gwgcL36XLPoSF5d5mBl4uNMHfUT8FkVvdlodiIuxmKCJ205eSfZBKjnDzWwpD /0T5T9BVkUOvC8sj3Vt5OAe1GxC1taeY8oepFnMl2Dx5OfA9vh9YRtn2md2jjQAt2aFdrT Xykm5f5ytFSonTdE3hWtgXon9VeDyFAQdBHe+YBcbESczXVT1fmUCXXR9ubz9A== 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 889E427FB3; Thu, 30 Jun 2022 14:22:34 +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 25UEMY3l064339; Thu, 30 Jun 2022 14:22:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25UEMYCk064338; Thu, 30 Jun 2022 14:22:34 GMT (envelope-from git) Date: Thu, 30 Jun 2022 14:22:34 GMT Message-Id: <202206301422.25UEMYCk064338@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 3beedc3840c2 - main - pkg.7: Clean up mdoc List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 3beedc3840c29f3f728ed28cbc1450e1b9999f61 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656598955; 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=4VVE9TP5tSVMcx8sW53dhCGMf2bAoH+dElL6Tqz5f7k=; b=uz2W4vKaOT+N4GYPXfjNLt9cmyU5mdnaFWmXLWb/7A5tl9WJp8Uam8s3DrWD0TsA1+Lmde pp2RVPdfQ2XR8zkk1qYWWWIjy8+DfYeEOUjKwPD0BLhW7qCJIaBJO/Z1mP7C2SfnTG7NDt IDM7P1A/5Vp6CqRKAtvZ6RLmg2yvwUHSUwXVAccl1cRJgVgF2m/C/1bRYoGNd+ciKj3dwm Ya/6DlJr/2hszlVjX6YkB7WLVJ1gjgF0EDKgY8/7ZkNeCBxHSS4o3Z29WdC5vRFhWkKHs2 CZ8eFcqL7HqG3LPzkJ6d+hG7rUkPp1piobRtuHpO4awWbOXOn9DxFzeoOKQDlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656598955; a=rsa-sha256; cv=none; b=nOdYT571IL3uiRqTgo+ns1DOTO1qgBg9lcJOwAAst6r0GIgQRiGY5xbxM9mUk/ntacIBnF +P1nH/nmEB5Jm7RrYNSSMDkJFsb0wdAehttnSJDh6a/BaH3xM6RvLNV9Y5w/KSu9XiiPRs ykZphV09bTIKVMg/f97zcCtr2rYogW9PUWERmALWwRjYUae1PUt0VvQCWe45LfahUpzlv1 vfCCLWNrtOP0UPaMPVaXNkyp2UgHxe9NRfbxYpWhptBykmXCOoJyM9Ns0tlW2HHAYMu9Jb M7ZqcG6LWEHrhdei9jnQEJkxqGiK15N0RwfFG2dG3ajdu/at9YqjY607LggmQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=3beedc3840c29f3f728ed28cbc1450e1b9999f61 commit 3beedc3840c29f3f728ed28cbc1450e1b9999f61 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-06-30 13:46:54 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-06-30 14:22:02 +0000 pkg.7: Clean up mdoc MFC after: 1 week --- 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