summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/ncurses
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2020-02-29 11:51:04 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-29 21:47:23 +0000
commit7939288700ad35ed43e5988371e16d5afc594a57 (patch)
tree630086fafe4efbafd198dfb53e2eedc0aff19f76 /meta/recipes-core/ncurses
parentf273684f75c050ce3c7c4d93d73a27c973f84df5 (diff)
downloadopenembedded-core-7939288700ad35ed43e5988371e16d5afc594a57.tar.gz
ncurses: Comment out version parsing that broke CVE checking
This will be needed again when using patchlevel versions again. Also make it more generic. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/ncurses')
-rw-r--r--meta/recipes-core/ncurses/ncurses_6.2.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/ncurses/ncurses_6.2.bb b/meta/recipes-core/ncurses/ncurses_6.2.bb
index b6d899c878..723e685a9b 100644
--- a/meta/recipes-core/ncurses/ncurses_6.2.bb
+++ b/meta/recipes-core/ncurses/ncurses_6.2.bb
@@ -10,4 +10,5 @@ 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]}"
+# This is needed when using patchlevel versions like 6.1+20181013
+#CVE_VERSION = "${@d.getVar("PV").split('+')[0]}.${@d.getVar("PV").split('+')[1]}"