Skip to contentSkip to conversation

ncurses: Comment out version parsing that broke CVE checking

PATCH New Adrian Bunk 1 participant 1 message Feb 29, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ncurses: Comment out version parsing that broke CVE checking

This will be needed again when using patchlevel versions again. Also make it more generic.

---
 meta/recipes-core/ncurses/ncurses_6.2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/ncurses/ncurses_6.2.bb +2 -1
index b6d899c878..723e685a9b 100644
@@ -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]}"
Signature · 1 line
2.17.1