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+20190803.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-core/ncurses/ncurses_6.1+20190803.bb +2 -0
@@ -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