Skip to contentSkip to conversation

ncurses: add CVE_VERSION

PATCH New Adrian Bunk 1 participant 1 message Feb 21, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ncurses: add CVE_VERSION

From: Anuj Mittal <[email protected]>

Include the version number in a format that is comparable to what we get from NVD.

---
 meta/recipes-core/ncurses/ncurses_6.1+20190803.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-core/ncurses/ncurses_6.1+20190803.bb +2 -0
index e638a3737c..c3a89f1c4f 100644
@@ -10,3 +10,5 @@ SRCREV = "3c9b2677c96c645496997321bf2fe465a5e7e21f"
 S = "${WORKDIR}/git"
 EXTRA_OECONF += "--with-abi-version=5 --cache-file=${B}/config.cache"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+(\+\d+)*)"
+
+CVE_VERSION = "6.1.${@d.getVar("PV").split('+')[1]}"
Signature · 1 line
2.17.1