From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0250A138334 for ; Mon, 26 Aug 2019 18:13:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BF12E0822; Mon, 26 Aug 2019 18:13:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3B40E0822 for ; Mon, 26 Aug 2019 18:13:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8787A34A2DF for ; Mon, 26 Aug 2019 18:13:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A7C176B for ; Mon, 26 Aug 2019 18:13:12 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1566842989.b8cc6a4cd9990a86894ff14f2832f5f3a88bbd22.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: man/ X-VCS-Repository: proj/portage X-VCS-Files: man/glsa-check.1 X-VCS-Directories: man/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: b8cc6a4cd9990a86894ff14f2832f5f3a88bbd22 X-VCS-Branch: master Date: Mon, 26 Aug 2019 18:13:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 60eb054a-9da1-4593-964d-c2046b934e6b X-Archives-Hash: eb353fa5287fffaf40c1321de894e3cd commit: b8cc6a4cd9990a86894ff14f2832f5f3a88bbd22 Author: Aaron Bauman gentoo org> AuthorDate: Sun Aug 25 20:13:26 2019 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Aug 26 18:09:49 2019 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=b8cc6a4c man/glsa-check.1: update the glsa-check man page * Remove "Gentoo" from the name. It is obvious. * Change "SYNTAX" to "SYNOPSIS" which is more common among man pages * Update description to use the command name vice "This tool" * Move bug reporting information to BUGS section * Remove references to the "portage tree". Just call it a repo. * Add the "sets" all, new, and affected to the SYNOPSIS * Sentence case and add periods to all option descriptions Signed-off-by: Aaron Bauman gentoo.org> Signed-off-by: Zac Medico gentoo.org> man/glsa-check.1 | 119 ++++++++++++++++++++++++++----------------------------- 1 file changed, 57 insertions(+), 62 deletions(-) diff --git a/man/glsa-check.1 b/man/glsa-check.1 index 67527230c..a0d49d4dd 100644 --- a/man/glsa-check.1 +++ b/man/glsa-check.1 @@ -1,66 +1,61 @@ -.TH "GLSA-CHECK" "1" "Aug 2019" "Portage VERSION" "Portage" +.TH "GLSA\-CHECK" "1" "August 2019" "Portage VERSION" "Portage" +. .SH "NAME" -.LP -glsa\-check \- Gentoo: Tool to locally monitor and manage GLSAs -.SH "SYNTAX" -.LP -glsa\-check <\fIoption\fP> [\fIglsa\-list\fP] - -[\fIglsa\-list\fR] can contain an arbitrary number of GLSA ids, filenames containing GLSAs or the special identifiers 'all' and 'affected' +\fBglsa\-check\fR \- Tool to locally monitor and manage GLSAs +. +.SH "SYNOPSIS" +\fBglsa\-check\fR [options] [glsa\-id | all | new | affected] +. .SH "DESCRIPTION" -.LP -This tool is used to locally monitor and manage Gentoo Linux Security Advisories. -Please read: -.br -http://www.gentoo.org/security -.br -before reporting a bug. -.LP -Note: In order for this tool to be effective, you must regularly sync your local portage tree. +\fBglsa\-check\fR is used to locally monitor and manage Gentoo Linux Security Advisories\. In order for \fBglsa\-check\fR to be effective, it is required that a local repository exists containing GLSA metadata\. +. .SH "OPTIONS" -.LP -.TP -.B \-l, \-\-list -list the a summary for all GLSAs in glsa\-list and whether they affect the system -.TP -.B \-d, \-\-dump, \-\-print -show all information about the GLSAs in glsa\-list -.TP -.B \-t, \-\-test -test if this system is affected by the GLSAs in glsa\-list and output the GLSA IDs -.TP -.B \-p, \-\-pretend -show the necessary steps to apply the GLSAs in glsa\-list -.TP -.B \-f, \-\-fix -try to auto\-apply the GLSAs in in glsa\-list using emerge. This will only upgrade packages to later version, but not remove packages when no upgrade path exists (experimental) -.TP -.B \-i, \-\-inject -inject the given GLSA into the glsa_injected file -.TP -.B \-n, \-\-nocolor -disable colors (option) -.TP -.B \-h, \-\-help -show this help message -.TP -.B \-V, \-\-version -some information about this tool -.TP -.B \-v, \-\-verbose -print more messages (option) -.TP -.B \-c, \-\-cve -show CVE ids in listing mode (option) -.TP -.B \-q, \-\-quiet -be less verbose and do not send empty mail (option) -.TP -.B \-m, \-\-mail -send a mail with the given GLSAs to the administrator +\fB\-l\fR, \fB\-\-list\fR List a summary for the given GLSA(s) or set and whether they affect the system\. +. +.P +\fB\-d\fR, \fB\-\-dump\fR, \fB\-\-print\fR Show all information about the GLSA(s) or set\. +. +.P +\fB\-t\fR, \fB\-\-test\fR Test if this system is affected by the GLSA(s) or set and output the GLSA ID(s)\. +. +.P +\fB\-p\fR, \fB\-\-pretend\fR Show the necessary steps to remediate the system\. +. +.P +\fB\-f\fR, \fB\-\-fix\fR (experimental) Attempt to remediate the system based on the instructions given in the GLSA(s) or set\. This will only upgrade (when an upgrade path exists) or remove packages\. +. +.P +\fB\-i\fR, \fB\-\-inject\fR Inject the given GLSA(s) into the glsa_injected file\. +. +.P +\fB\-n\fR, \fB\-\-nocolor\fR Removes color from output\. +. +.P +\fB\-h\fR, \fB\-\-help\fR Show this help message\. +. +.P +\fBV\fR, \fB\-\-version\fR Show information about \fBglsa\-check\fR\. +. +.P +\fB\-v\fR, \fB\-\-verbose\fR Print more messages\. +. +.P +\fB\-c\fR, \fB\-\-cve\fR Show CVE IDs in listing mode\. +. +.P +\fB\-q\fR, \fB\-\-quiet\fR Be less verbose and do not send empty mail\. +. +.P +\fB\-m\fR, \fB\-\-mail\fR Send a mail with the given GLSAs to the administrator\. +. +.SH "EXAMPLES" +\fBglsa\-check \-t all\fR Test the system against all GLSAs in the GLSA repository\. +. +.P +\fBglsa\-check \-t 201801\-01\fR Test the system against the specific GLSA 201801\-01\. +. .SH "FILES" -.LP -.TP -.B /var/lib/portage/glsa_injected -List of GLSA ids that have been injected and will never show up as 'affected' on this system. -The file must contain one GLSA id (e.g. '200804\-02') per line. +\fB/var/lib/portage/glsa_injected\fR List of GLSA ids that have been injected and will never show up as \'affected\' on this system\. The file must contain one GLSA ID (e\.g\. \'200804\-02\') per line\. +. +.SH "BUGS" +All bugs should be reported to the Portage team via https://bugs\.gentoo\.org