summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-04-11 21:56:37 +0200
committerMichał Górny <mgorny@gentoo.org>2017-04-17 17:36:21 +0200
commitc9496010c9bb7eec769c192eea2a0674e08a8b2f (patch)
treea06f914663531540360fc9f451e020195fcb60dd
parentglsa.data: State deprecation of infra/portage GLSAs (diff)
downloaddtd-c9496010c9bb7eec769c192eea2a0674e08a8b2f.tar.gz
dtd-c9496010c9bb7eec769c192eea2a0674e08a8b2f.tar.bz2
dtd-c9496010c9bb7eec769c192eea2a0674e08a8b2f.zip
glsa.dtd: Allow slot="" attribute for vulnerable&unaffected
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.
-rw-r--r--glsa.dtd4
1 files changed, 3 insertions, 1 deletions
diff --git a/glsa.dtd b/glsa.dtd
index 52be18e..b6459d1 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 "*">
<!--
Element: unaffected
@@ -140,6 +141,7 @@
-->
<!ELEMENT unaffected (#PCDATA)>
<!ATTLIST unaffected range (le|lt|eq|gt|ge|rlt|rle|rgt|rge) #REQUIRED
+ slot CDATA "*"
name CDATA #IMPLIED>
<!--