summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/logrotate
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/logrotate
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/logrotate')
-rw-r--r--meta/recipes-extended/logrotate/logrotate_3.20.1.bb7
1 files changed, 2 insertions, 5 deletions
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 \