Blame SOURCES/BZ-1182075-yum-security-manpage.patch

bb45c0
commit 2e04296024bdb3b4745e7e36420eaffa04f80ec0
bb45c0
Author: Valentina Mukhamedzhanova <vmukhame@redhat.com>
bb45c0
Date:   Wed Jun 17 18:50:40 2015 +0200
bb45c0
bb45c0
    Add missing documentation from yum-security manpage. bug#1182075
bb45c0
bb45c0
diff --git a/docs/yum.8 b/docs/yum.8
bb45c0
index a0038f6..99862fa 100644
bb45c0
--- a/docs/yum.8
bb45c0
+++ b/docs/yum.8
bb45c0
@@ -938,6 +938,20 @@ Specifies an alternate directory to store packages.
bb45c0
 Set any config option in yum config or repo files. For options in the global 
bb45c0
 config just use: \-\-setopt=option=value for repo options use: \-\-setopt=repoid.option=value
bb45c0
 .PP
bb45c0
+.IP "\fB\-\-security\fP"
bb45c0
+This option includes packages that say they fix a security issue, in updates.
bb45c0
+.br
bb45c0
+.IP "\fB\--advisory=ADVS, --advisories=ADVS\fP"
bb45c0
+This option includes in updates packages corresponding to the advisory ID, Eg. FEDORA-2201-123.
bb45c0
+.IP "\fB\--bz=BZS\fP"
bb45c0
+This option includes in updates packages that say they fix a Bugzilla ID, Eg. 123.
bb45c0
+.IP "\fB\--cve=CVES\fP"
bb45c0
+This option includes in updates packages that say they fix a CVE - Common Vulnerabilities and Exposures ID (http://cve.mitre.org/about/), Eg. CVE-2201-0123.
bb45c0
+.IP "\fB\--bugfix\fP"
bb45c0
+This option includes in updates packages that say they fix a bugfix issue.
bb45c0
+.IP "\fB\--sec-severity=SEVS, --secseverity=SEVS\fP"
bb45c0
+This option includes in updates security relevant packages of the specified severity.
bb45c0
+
bb45c0
 
bb45c0
 .SH "LIST OPTIONS"
bb45c0
 The following are the ways which you can invoke \fByum\fP in list
bb45c0
@@ -1045,6 +1059,56 @@ Tell any enabled plugins to eliminate their cached data.
bb45c0
 .IP "\fByum clean all\fP"
bb45c0
 Does all of the above.
bb45c0
 
bb45c0
+.SH "EXAMPLES"
bb45c0
+.PP
bb45c0
+To list all updates that are security relevant, and get a return code on whether there are security updates use:
bb45c0
+.IP
bb45c0
+yum --security check-update
bb45c0
+.PP
bb45c0
+To upgrade packages that have security errata (upgrades to the latest
bb45c0
+available package) use:
bb45c0
+.IP
bb45c0
+yum --security update
bb45c0
+.PP
bb45c0
+To upgrade packages that have security errata (upgrades to the last
bb45c0
+security errata package) use:
bb45c0
+.IP
bb45c0
+yum --security update-minimal
bb45c0
+.PP
bb45c0
+To get a list of all BZs that are fixed for packages you have installed use:
bb45c0
+.IP
bb45c0
+yum updateinfo list bugzillas
bb45c0
+.PP
bb45c0
+To get a list of all security advisories, including the ones you have already
bb45c0
+installed use:
bb45c0
+.IP
bb45c0
+yum updateinfo list all security
bb45c0
+.PP
bb45c0
+To get the information on advisory FEDORA-2707-4567 use:
bb45c0
+.IP
bb45c0
+yum updateinfo info FEDORA-2707-4567
bb45c0
+.PP
bb45c0
+To update packages to the latest version which contain fixes for Bugzillas 123, 456 and 789; and all security updates use:
bb45c0
+.IP
bb45c0
+yum --bz 123 --bz 456 --bz 789 --security update
bb45c0
+.PP
bb45c0
+To update to the packages which just update Bugzillas 123, 456 and 789; and all security updates use:
bb45c0
+.IP
bb45c0
+yum --bz 123 --bz 456 --bz 789 --security update-minimal
bb45c0
+.PP
bb45c0
+To get an info list of the latest packages which contain fixes for Bugzilla 123; CVEs CVE-2207-0123 and CVE-2207-3210; and Fedora advisories FEDORA-2707-4567 and FEDORA-2707-7654 use:
bb45c0
+.IP
bb45c0
+yum --bz 123 --cve CVE-2207-0123 --cve CVE-2207-3210 --advisory FEDORA-2707-4567 --advisory FEDORA-2707-7654 info updates
bb45c0
+.PP
bb45c0
+To get a list of packages which are "new".
bb45c0
+.IP
bb45c0
+yum updateinfo list new
bb45c0
+.PP
bb45c0
+To get a summary of advisories you haven't installed yet use:
bb45c0
+.IP
bb45c0
+yum updateinfo summary
bb45c0
+
bb45c0
+
bb45c0
 .PP 
bb45c0
 .SH "PLUGINS"
bb45c0
 Yum can be extended through the use of plugins. A plugin is a Python ".py" file