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+20181013.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-core/ncurses/ncurses_6.1+20181013.bb +2 -0
index ef6ca9879b..90f6b4695c 100644
@@ -9,3 +9,5 @@ SRCREV = "7a97a7f937762ba342d5b2fd7cd090885a809835"
 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