diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2020-02-04 13:47:05 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-05 12:00:34 +0000 |
commit | 8046030dd467f37c468366e0edfd1e71c193dffc (patch) | |
tree | 1ad5fda6cf388184a0651572aa46d936ec7aee78 /meta | |
parent | b5b12cec764fbe8c58c73dde31dea15b7dd28fd4 (diff) | |
download | poky-8046030dd467f37c468366e0edfd1e71c193dffc.tar.gz |
ncurses: add CVE_VERSION
Include the version number in a format that is comparable to what we get
from NVD.
(From OE-Core rev: fdb2a95d5e0265de1172940b6dc71fc7d602e8d1)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/ncurses/ncurses_6.1+20191019.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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" | |||
9 | S = "${WORKDIR}/git" | 9 | S = "${WORKDIR}/git" |
10 | EXTRA_OECONF += "--with-abi-version=5 --cache-file=${B}/config.cache" | 10 | EXTRA_OECONF += "--with-abi-version=5 --cache-file=${B}/config.cache" |
11 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+(\+\d+)*)" | 11 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+(\+\d+)*)" |
12 | |||
13 | CVE_VERSION = "6.1.${@d.getVar("PV").split('+')[1]}" | ||