aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2020-02-21 23:58:39 +0200
committerArmin Kuster <akuster808@gmail.com>2020-03-08 09:24:28 -0700
commit359c199634ef82d2b406858b8b71672058f76290 (patch)
treeac8d1f34244070bb4947e38796085d3c91369750
parent6c4477563bc418ec215671d6960e6e8d6bdd074b (diff)
downloadopenembedded-core-contrib-359c199634ef82d2b406858b8b71672058f76290.tar.gz
openembedded-core-contrib-359c199634ef82d2b406858b8b71672058f76290.tar.bz2
openembedded-core-contrib-359c199634ef82d2b406858b8b71672058f76290.zip
ncurses: add CVE_VERSION
Include the version number in a format that is comparable to what we get from NVD. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta/recipes-core/ncurses/ncurses_6.1+20181013.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/ncurses/ncurses_6.1+20181013.bb b/meta/recipes-core/ncurses/ncurses_6.1+20181013.bb
index ef6ca9879bc..90f6b4695ce 100644
--- a/meta/recipes-core/ncurses/ncurses_6.1+20181013.bb
+++ b/meta/recipes-core/ncurses/ncurses_6.1+20181013.bb
@@ -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]}"