1 |
On czw, 2017-04-13 at 07:39 +0200, Michał Górny wrote: |
2 |
> Officially list the slot="" attribute that is used in GLSAs for quite |
3 |
> some time in the DTD. It is supported by Portage and gentoolkit for |
4 |
> a long time, and was used in GLSAs interchangeably with implicit |
5 |
> appended ':slot' to the version. However, the latter was ugly and worked |
6 |
> only by accident, so we are moving towards the former. |
7 |
> --- |
8 |
> glsa.dtd | 4 +++- |
9 |
> 1 file changed, 3 insertions(+), 1 deletion(-) |
10 |
> |
11 |
> diff --git a/glsa.dtd b/glsa.dtd |
12 |
> index 52be18e..b6459d1 100644 |
13 |
> --- a/glsa.dtd |
14 |
> +++ b/glsa.dtd |
15 |
> @@ -124,7 +124,8 @@ |
16 |
> Description: Version of the vulnerable package. Can be a range too |
17 |
> --> |
18 |
> <!ELEMENT vulnerable (#PCDATA)> |
19 |
> -<!ATTLIST vulnerable range (le|lt|eq|gt|ge|rlt|rle|rgt|rge) #REQUIRED> |
20 |
> +<!ATTLIST vulnerable range (le|lt|eq|gt|ge|rlt|rle|rgt|rge) #REQUIRED |
21 |
> + slot CDATA "*"> |
22 |
> |
23 |
> <!-- |
24 |
> Element: unaffected |
25 |
> @@ -140,6 +141,7 @@ |
26 |
> --> |
27 |
> <!ELEMENT unaffected (#PCDATA)> |
28 |
> <!ATTLIST unaffected range (le|lt|eq|gt|ge|rlt|rle|rgt|rge) #REQUIRED |
29 |
> + slot CDATA "*" |
30 |
> name CDATA #IMPLIED> |
31 |
> |
32 |
> <!-- |
33 |
|
34 |
Pushed. |
35 |
|
36 |
-- |
37 |
Best regards, |
38 |
Michał Górny |