summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-05-17 18:04:13 +0200
committerLudovic Courtès <ludo@gnu.org>2016-05-17 18:15:53 +0200
commit99effc8faa43d478371eb06aee5df8ae1383c51a (patch)
tree6e01a04c76f80f4707c56c12bdb6cad80d410b20 /doc
parent1c29f3ef8452860c4301d7ae57c89ac5956d1663 (diff)
lint: Honor 'cpe-name' and 'cpe-version' package properties.
* guix/scripts/lint.scm (package-name->cpe-name): Remove. (package-vulnerabilities): Honor 'cpe-name' and 'cpe-version' properties. * gnu/packages/grub.scm (grub)[properties]: New field. * gnu/packages/gnuzilla.scm (icecat)[properties]: Add 'cpe-name' and 'cpe-version'. * doc/guix.texi (Invoking guix lint): Mention 'cpe-name'.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 0e63ecadfdc..3f0106be027 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4961,6 +4961,19 @@ To view information about a particular vulnerability, visit pages such as:
4961where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., 4961where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g.,
4962@code{CVE-2015-7554}. 4962@code{CVE-2015-7554}.
4963 4963
4964Package developers can specify in package recipes the
4965@uref{https://nvd.nist.gov/cpe.cfm,Common Platform Enumeration (CPE)}
4966name and version of the package when they differ from the name that Guix
4967uses, as in this example:
4968
4969@example
4970(package
4971 (name "grub")
4972 ;; @dots{}
4973 ;; CPE calls this package "grub2".
4974 (properties '((cpe-name . "grub2"))))
4975@end example
4976
4964@item formatting 4977@item formatting
4965Warn about obvious source code formatting issues: trailing white space, 4978Warn about obvious source code formatting issues: trailing white space,
4966use of tabulations, etc. 4979use of tabulations, etc.