summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/cronie/cronie_1.6.1.bb7
-rw-r--r--meta/recipes-extended/cups/cups.inc7
-rw-r--r--meta/recipes-extended/logrotate/logrotate_3.20.1.bb7
-rw-r--r--meta/recipes-extended/pam/libpam_1.5.2.bb6
-rw-r--r--meta/recipes-extended/shadow/shadow.inc6
5 files changed, 15 insertions, 18 deletions
diff --git a/meta/recipes-extended/cronie/cronie_1.6.1.bb b/meta/recipes-extended/cronie/cronie_1.6.1.bb
index 6d150dd3c7..078187534e 100644
--- a/meta/recipes-extended/cronie/cronie_1.6.1.bb
+++ b/meta/recipes-extended/cronie/cronie_1.6.1.bb
@@ -14,9 +14,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=dd2a592170760e1386c769e1043b3722 \
14 14
15SECTION = "utils" 15SECTION = "utils"
16 16
17UPSTREAM_CHECK_URI = "https://github.com/cronie-crond/${BPN}/releases/" 17GITHUB_BASE_URI = "https://github.com/cronie-crond/${BPN}/releases/"
18 18
19SRC_URI = "https://github.com/cronie-crond/cronie/releases/download/cronie-${PV}/cronie-${PV}.tar.gz \ 19SRC_URI = "${GITHUB_BASE_URI}/download/cronie-${PV}/cronie-${PV}.tar.gz \
20 file://crond.init \ 20 file://crond.init \
21 file://crontab \ 21 file://crontab \
22 file://crond.service \ 22 file://crond.service \
@@ -27,7 +27,8 @@ PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid"
27 27
28SRC_URI[sha256sum] = "2cd0f0dd1680e6b9c39bf1e3a5e7ad6df76aa940de1ee90a453633aa59984e62" 28SRC_URI[sha256sum] = "2cd0f0dd1680e6b9c39bf1e3a5e7ad6df76aa940de1ee90a453633aa59984e62"
29 29
30inherit autotools update-rc.d useradd systemd 30inherit autotools update-rc.d useradd systemd github-releases
31UPSTREAM_CHECK_REGEX = "releases/tag/cronie-(?P<pver>\d+(\.\d+)+)"
31 32
32PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" 33PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}"
33 34
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"
diff --git a/meta/recipes-extended/logrotate/logrotate_3.20.1.bb b/meta/recipes-extended/logrotate/logrotate_3.20.1.bb
index 35977535aa..034c37b429 100644
--- a/meta/recipes-extended/logrotate/logrotate_3.20.1.bb
+++ b/meta/recipes-extended/logrotate/logrotate_3.20.1.bb
@@ -10,10 +10,7 @@ DEPENDS="coreutils popt"
10 10
11LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 11LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
12 12
13UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" 13SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.xz"
14UPSTREAM_CHECK_REGEX = "logrotate-(?P<pver>\d+(\.\d+)+).tar"
15
16SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz"
17 14
18SRC_URI[sha256sum] = "742f6d6e18eceffa49a4bacd933686d3e42931cfccfb694d7f6369b704e5d094" 15SRC_URI[sha256sum] = "742f6d6e18eceffa49a4bacd933686d3e42931cfccfb694d7f6369b704e5d094"
19 16
@@ -47,7 +44,7 @@ EXTRA_OEMAKE = "\
47# INSTALL=install and BASEDIR=/usr. 44# INSTALL=install and BASEDIR=/usr.
48OS_NAME = "Linux" 45OS_NAME = "Linux"
49 46
50inherit autotools systemd 47inherit autotools systemd github-releases
51 48
52SYSTEMD_SERVICE:${PN} = "\ 49SYSTEMD_SERVICE:${PN} = "\
53 ${BPN}.service \ 50 ${BPN}.service \
diff --git a/meta/recipes-extended/pam/libpam_1.5.2.bb b/meta/recipes-extended/pam/libpam_1.5.2.bb
index 081986ef43..bde7fef8a2 100644
--- a/meta/recipes-extended/pam/libpam_1.5.2.bb
+++ b/meta/recipes-extended/pam/libpam_1.5.2.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7eb5c1bf854e8881005d673599ee74d3 \
12 file://libpamc/License;md5=a4da476a14c093fdc73be3c3c9ba8fb3 \ 12 file://libpamc/License;md5=a4da476a14c093fdc73be3c3c9ba8fb3 \
13 " 13 "
14 14
15SRC_URI = "https://github.com/linux-pam/linux-pam/releases/download/v${PV}/Linux-PAM-${PV}.tar.xz \ 15SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/Linux-PAM-${PV}.tar.xz \
16 file://99_pam \ 16 file://99_pam \
17 file://pam.d/common-account \ 17 file://pam.d/common-account \
18 file://pam.d/common-auth \ 18 file://pam.d/common-auth \
@@ -42,7 +42,7 @@ CFLAGS:append = " -fPIC "
42 42
43S = "${WORKDIR}/Linux-PAM-${PV}" 43S = "${WORKDIR}/Linux-PAM-${PV}"
44 44
45inherit autotools gettext pkgconfig systemd ptest 45inherit autotools gettext pkgconfig systemd ptest github-releases
46 46
47PACKAGECONFIG ??= "" 47PACKAGECONFIG ??= ""
48PACKAGECONFIG[audit] = "--enable-audit,--disable-audit,audit," 48PACKAGECONFIG[audit] = "--enable-audit,--disable-audit,audit,"
@@ -180,6 +180,6 @@ CONFFILES:${PN}-runtime += "${sysconfdir}/pam.d/common-session-noninteractive"
180CONFFILES:${PN}-runtime += "${sysconfdir}/pam.d/common-account" 180CONFFILES:${PN}-runtime += "${sysconfdir}/pam.d/common-account"
181CONFFILES:${PN}-runtime += "${sysconfdir}/security/limits.conf" 181CONFFILES:${PN}-runtime += "${sysconfdir}/security/limits.conf"
182 182
183UPSTREAM_CHECK_URI = "https://github.com/linux-pam/linux-pam/releases" 183GITHUB_BASE_URI = "https://github.com/linux-pam/linux-pam/releases"
184 184
185CVE_PRODUCT = "linux-pam" 185CVE_PRODUCT = "linux-pam"
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index 414bf467ba..a87e23569b 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -10,8 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c9a450b7be84eac23e6353efecb60b5b \
10 10
11DEPENDS = "virtual/crypt" 11DEPENDS = "virtual/crypt"
12 12
13UPSTREAM_CHECK_URI = "https://github.com/shadow-maint/shadow/releases" 13GITHUB_BASE_URI = "https://github.com/shadow-maint/shadow/releases"
14SRC_URI = "https://github.com/shadow-maint/shadow/releases/download/${PV}/${BP}.tar.gz \ 14SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.gz \
15 file://0001-shadow-use-relaxed-usernames.patch \ 15 file://0001-shadow-use-relaxed-usernames.patch \
16 ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \ 16 ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \
17 file://useradd \ 17 file://useradd \
@@ -42,7 +42,7 @@ PAM_SRC_URI = "file://pam.d/chfn \
42 file://pam.d/passwd \ 42 file://pam.d/passwd \
43 file://pam.d/su" 43 file://pam.d/su"
44 44
45inherit autotools gettext 45inherit autotools gettext github-releases
46 46
47export CONFIG_SHELL="/bin/sh" 47export CONFIG_SHELL="/bin/sh"
48 48