]> code.ossystems Code Review - openembedded-core.git/commitdiff
cups: exclude beta/rc versions from version check
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 27 Oct 2021 10:02:59 +0000 (12:02 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Oct 2021 13:16:26 +0000 (14:16 +0100)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-extended/cups/cups.inc

index f6f8637a431503f27f0e6ce6d0775ad9de267ac6..2994973b8c696f432fa2b3c000986f0107cec25f 100644 (file)
@@ -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<pver>.+)-source.tar"
+UPSTREAM_CHECK_REGEX = "cups-(?P<pver>(?!.+\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"