From 7e75801c9a76d7bcd2fed3a6522214f483966166 Mon Sep 17 00:00:00 2001 From: Lee Chee Yang Date: Thu, 4 Mar 2021 22:44:07 +0800 Subject: cve-check: CVE_VERSION_SUFFIX to work with patched release CVE_VERSION_SUFFIX in "patch" to treat version string with suffix "pX" or "patchX" as patched release. also update testcases to cover this changes and set CVE_VERSION_SUFFIX for sudo. Signed-off-by: Lee Chee Yang Signed-off-by: Richard Purdie (cherry picked from commit 8076815fc2ffc8f632e73527ce2b7d158a29e9ea) Signed-off-by: Anuj Mittal --- meta/recipes-extended/sudo/sudo.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-extended/sudo/sudo.inc') diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc index 86a18be7e2..8b50f5eee5 100644 --- a/meta/recipes-extended/sudo/sudo.inc +++ b/meta/recipes-extended/sudo/sudo.inc @@ -49,3 +49,5 @@ do_compile_prepend () { do_install_prepend (){ mkdir -p ${D}/${localstatedir}/lib } + +CVE_VERSION_SUFFIX = "patch" -- cgit 1.2.3-korg