diff options
Diffstat (limited to 'meta/recipes-extended/cups')
| -rw-r--r-- | meta/recipes-extended/cups/cups.inc | 7 |
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" | |||
| 8 | LICENSE = "Apache-2.0" | 8 | LICENSE = "Apache-2.0" |
| 9 | DEPENDS = "libpng jpeg dbus zlib libusb1" | 9 | DEPENDS = "libpng jpeg dbus zlib libusb1" |
| 10 | 10 | ||
| 11 | SRC_URI = "https://github.com/OpenPrinting/cups/releases/download/v${PV}/cups-${PV}-source.tar.gz \ | 11 | SRC_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 | ||
| 20 | UPSTREAM_CHECK_URI = "https://github.com/OpenPrinting/cups/releases" | 20 | GITHUB_BASE_URI = "https://github.com/OpenPrinting/cups/releases" |
| 21 | UPSTREAM_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 |
| 24 | CVE_CHECK_IGNORE += "CVE-2008-1033" | 23 | CVE_CHECK_IGNORE += "CVE-2008-1033" |
| @@ -33,7 +32,7 @@ LEAD_SONAME = "libcupsdriver.so" | |||
| 33 | 32 | ||
| 34 | CLEANBROKEN = "1" | 33 | CLEANBROKEN = "1" |
| 35 | 34 | ||
| 36 | inherit autotools-brokensep binconfig useradd systemd pkgconfig multilib_script | 35 | inherit autotools-brokensep binconfig useradd systemd pkgconfig multilib_script github-releases |
| 37 | 36 | ||
| 38 | USERADD_PACKAGES = "${PN}" | 37 | USERADD_PACKAGES = "${PN}" |
| 39 | GROUPADD_PARAM:${PN} = "--system lpadmin" | 38 | GROUPADD_PARAM:${PN} = "--system lpadmin" |
