]> code.ossystems Code Review - openembedded-core.git/commitdiff
logrotate: use stable download URL
authorRoss Burton <ross.burton@intel.com>
Fri, 15 Sep 2017 10:41:35 +0000 (11:41 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Sep 2017 10:07:22 +0000 (11:07 +0100)
GitHub automatically-generated tarballs from tags can and do change over time,
so change logrotate to use the uploaded tarball.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/logrotate/logrotate_3.12.3.bb

index 05c2ef1c28805e2f5c86ed2b7f4cd922f74d5c15..620b2087cc899665cb868be29a23f281493cd3da 100644 (file)
@@ -19,14 +19,14 @@ S = "${WORKDIR}/${BPN}-${PV}"
 UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
 UPSTREAM_CHECK_REGEX = "logrotate-(?P<pver>\d+(\.\d+)+).tar"
 
-SRC_URI = "https://github.com/${BPN}/${BPN}/archive/${PV}.tar.gz \
+SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \
             file://act-as-mv-when-rotate.patch \
             file://update-the-manual.patch \
             file://disable-check-different-filesystems.patch \
             "
 
-SRC_URI[md5sum] = "d1c41bdf63b9993c8e4e8b48a7bd5b8b"
-SRC_URI[sha256sum] = "683ccb7fff74082471aa6bd9e962ae7a3f4d55eea7df41fd97aa12ec6f55e657"
+SRC_URI[md5sum] = "a560c57fac87c45b2fc17406cdf79288"
+SRC_URI[sha256sum] = "2e6a401cac9024db2288297e3be1a8ab60e7401ba8e91225218aaf4a27e82a07"
 
 PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)}"