diff options
Diffstat (limited to 'meta/recipes-extended/logrotate')
-rw-r--r-- | meta/recipes-extended/logrotate/logrotate_3.20.1.bb | 7 |
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 | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
12 | 12 | ||
13 | UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" | 13 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.xz" |
14 | UPSTREAM_CHECK_REGEX = "logrotate-(?P<pver>\d+(\.\d+)+).tar" | ||
15 | |||
16 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz" | ||
17 | 14 | ||
18 | SRC_URI[sha256sum] = "742f6d6e18eceffa49a4bacd933686d3e42931cfccfb694d7f6369b704e5d094" | 15 | SRC_URI[sha256sum] = "742f6d6e18eceffa49a4bacd933686d3e42931cfccfb694d7f6369b704e5d094" |
19 | 16 | ||
@@ -47,7 +44,7 @@ EXTRA_OEMAKE = "\ | |||
47 | # INSTALL=install and BASEDIR=/usr. | 44 | # INSTALL=install and BASEDIR=/usr. |
48 | OS_NAME = "Linux" | 45 | OS_NAME = "Linux" |
49 | 46 | ||
50 | inherit autotools systemd | 47 | inherit autotools systemd github-releases |
51 | 48 | ||
52 | SYSTEMD_SERVICE:${PN} = "\ | 49 | SYSTEMD_SERVICE:${PN} = "\ |
53 | ${BPN}.service \ | 50 | ${BPN}.service \ |