From d651eea3dce926399cd42c62494e4ce1940bcf06 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Wed, 27 Oct 2021 12:02:59 +0200 Subject: [PATCH] cups: exclude beta/rc versions from version check Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni --- meta/recipes-extended/cups/cups.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index f6f8637a43..2994973b8c 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/meta/recipes-extended/cups/cups.inc @@ -18,7 +18,7 @@ SRC_URI = "https://github.com/OpenPrinting/cups/releases/download/v${PV}/cups-${ " UPSTREAM_CHECK_URI = "https://github.com/OpenPrinting/cups/releases" -UPSTREAM_CHECK_REGEX = "cups-(?P.+)-source.tar" +UPSTREAM_CHECK_REGEX = "cups-(?P(?!.+\d(b|rc)\d.+).+)-source.tar" # Issue only applies to MacOS CVE_CHECK_WHITELIST += "CVE-2008-1033" @@ -116,4 +116,4 @@ cups_sysroot_preprocess () { # -25317 concerns /var/log/cups having lp ownership. Our /var/log/cups is # root:root, so this doesn't apply. -CVE_CHECK_WHITELIST += "CVE-2021-25317" \ No newline at end of file +CVE_CHECK_WHITELIST += "CVE-2021-25317" -- 2.40.1