Officially list the slot="" attribute that is used in GLSAs for quite some time in the DTD. It is supported by Portage and gentoolkit for a long time, and was used in GLSAs interchangeably with implicit appended ':slot' to the version. However, the latter was ugly and worked only by accident, so we are moving towards the former. --- glsa.dtd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/glsa.dtd b/glsa.dtd index 52be18e..22237b0 100644 --- a/glsa.dtd +++ b/glsa.dtd @@ -124,7 +124,8 @@ Description: Version of the vulnerable package. Can be a range too --> <!ELEMENT vulnerable (#PCDATA)> -<!ATTLIST vulnerable range (le|lt|eq|gt|ge|rlt|rle|rgt|rge) #REQUIRED> +<!ATTLIST vulnerable range (le|lt|eq|gt|ge|rlt|rle|rgt|rge) #REQUIRED + slot CDATA #IMPLIED> <!-- Element: unaffected @@ -140,6 +141,7 @@ --> <!ELEMENT unaffected (#PCDATA)> <!ATTLIST unaffected range (le|lt|eq|gt|ge|rlt|rle|rgt|rge) #REQUIRED + slot CDATA #IMPLIED name CDATA #IMPLIED> <!-- -- 2.12.2