[OE-core] [PATCH 2/4] ncurses: add CVE_VERSION
Anuj Mittal
anuj.mittal at intel.com
Tue Feb 4 05:47:05 UTC 2020
Include the version number in a format that is comparable to what we get
from NVD.
Signed-off-by: Anuj Mittal <anuj.mittal at intel.com>
---
meta/recipes-core/ncurses/ncurses_6.1+20191019.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-core/ncurses/ncurses_6.1+20191019.bb b/meta/recipes-core/ncurses/ncurses_6.1+20191019.bb
index ee7d4bed28..187777f6ef 100644
--- a/meta/recipes-core/ncurses/ncurses_6.1+20191019.bb
+++ b/meta/recipes-core/ncurses/ncurses_6.1+20191019.bb
@@ -9,3 +9,5 @@ SRCREV = "ea70ec815b362f5bbad7a827a2edf50fd2b459cc"
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]}"
--
2.24.1
More information about the Openembedded-core
mailing list