summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/cups
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-09-27 14:09:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-28 08:01:10 +0100
commitafefe7de281e558ed823460f80ddc631e718feb3 (patch)
tree69cc46fb93265fcbc2bcf9064829b088fa2dbed5 /meta/recipes-extended/cups
parent35708f8860adbf51549b2b2b07c176ba34eed812 (diff)
downloadpoky-afefe7de281e558ed823460f80ddc631e718feb3.tar.gz
meta: fix version checks in all github recipes using the github-releases class
(From OE-Core rev: b04316bdd28b7945c2c91b4e43c007b650eedc14) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/cups')
-rw-r--r--meta/recipes-extended/cups/cups.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc
index 4592980766..9c920bb133 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -8,7 +8,7 @@ SECTION = "console/utils"
8LICENSE = "Apache-2.0" 8LICENSE = "Apache-2.0"
9DEPENDS = "libpng jpeg dbus zlib libusb1" 9DEPENDS = "libpng jpeg dbus zlib libusb1"
10 10
11SRC_URI = "https://github.com/OpenPrinting/cups/releases/download/v${PV}/cups-${PV}-source.tar.gz \ 11SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/cups-${PV}-source.tar.gz \
12 file://0001-use-echo-only-in-init.patch \ 12 file://0001-use-echo-only-in-init.patch \
13 file://0002-don-t-try-to-run-generated-binaries.patch \ 13 file://0002-don-t-try-to-run-generated-binaries.patch \
14 file://libexecdir.patch \ 14 file://libexecdir.patch \
@@ -17,8 +17,7 @@ SRC_URI = "https://github.com/OpenPrinting/cups/releases/download/v${PV}/cups-${
17 file://cups-volatiles.conf \ 17 file://cups-volatiles.conf \
18 " 18 "
19 19
20UPSTREAM_CHECK_URI = "https://github.com/OpenPrinting/cups/releases" 20GITHUB_BASE_URI = "https://github.com/OpenPrinting/cups/releases"
21UPSTREAM_CHECK_REGEX = "cups-(?P<pver>(?!.+\d(b|rc)\d.+).+)-source.tar"
22 21
23# Issue only applies to MacOS 22# Issue only applies to MacOS
24CVE_CHECK_IGNORE += "CVE-2008-1033" 23CVE_CHECK_IGNORE += "CVE-2008-1033"
@@ -33,7 +32,7 @@ LEAD_SONAME = "libcupsdriver.so"
33 32
34CLEANBROKEN = "1" 33CLEANBROKEN = "1"
35 34
36inherit autotools-brokensep binconfig useradd systemd pkgconfig multilib_script 35inherit autotools-brokensep binconfig useradd systemd pkgconfig multilib_script github-releases
37 36
38USERADD_PACKAGES = "${PN}" 37USERADD_PACKAGES = "${PN}"
39GROUPADD_PARAM:${PN} = "--system lpadmin" 38GROUPADD_PARAM:${PN} = "--system lpadmin"