diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2016-05-17 18:04:13 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2016-05-17 18:15:53 +0200 |
| commit | 99effc8faa43d478371eb06aee5df8ae1383c51a (patch) | |
| tree | 6e01a04c76f80f4707c56c12bdb6cad80d410b20 /doc | |
| parent | 1c29f3ef8452860c4301d7ae57c89ac5956d1663 (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.texi | 13 |
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: | |||
| 4961 | where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., | 4961 | where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., |
| 4962 | @code{CVE-2015-7554}. | 4962 | @code{CVE-2015-7554}. |
| 4963 | 4963 | ||
| 4964 | Package developers can specify in package recipes the | ||
| 4965 | @uref{https://nvd.nist.gov/cpe.cfm,Common Platform Enumeration (CPE)} | ||
| 4966 | name and version of the package when they differ from the name that Guix | ||
| 4967 | uses, 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 |
| 4965 | Warn about obvious source code formatting issues: trailing white space, | 4978 | Warn about obvious source code formatting issues: trailing white space, |
| 4966 | use of tabulations, etc. | 4979 | use of tabulations, etc. |
