]> code.ossystems Code Review - openembedded-core.git/commitdiff
ncurses: Comment out version parsing that broke CVE checking
authorAdrian Bunk <bunk@stusta.de>
Sat, 29 Feb 2020 09:51:04 +0000 (11:51 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 29 Feb 2020 21:47:23 +0000 (21:47 +0000)
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>
meta/recipes-core/ncurses/ncurses_6.2.bb

index b6d899c878c9f6b9b170a14d5f364158303aa7c2..723e685a9b926e7f59e7871f363583842606a646 100644 (file)
@@ -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]}"