ncurses: add CVE_VERSION
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.
Signed-off-by Anuj Mittal <[email protected]>
Signed-off-by Richard Purdie <[email protected]>
Signed-off-by Adrian Bunk <[email protected]>
--- 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
@@ -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