Skip to contentSkip to conversation

logrotate: use stable download URL

PATCH New Ross Burton 1 participant 1 message Sep 15, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 logrotate: use stable download URL

GitHub automatically-generated tarballs from tags can and do change over time, so change logrotate to use the uploaded tarball.

---
 meta/recipes-extended/logrotate/logrotate_3.12.3.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-extended/logrotate/logrotate_3.12.3.bb +3 -3
index 05c2ef1c288..620b2087cc8 100644
@@ -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)}"
 
Signature · 1 line
2.11.0