diff mbox series

logrotate: use stable download URL

Message ID 20170915115859.5041-1-ross.burton@intel.com
State Accepted
Commit ff1ef935087ca66559c983ba38bf951f174c7115
Headers show
Series logrotate: use stable download URL | expand

Commit Message

Ross Burton Sept. 15, 2017, 11:58 a.m. UTC
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 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/recipes-extended/logrotate/logrotate_3.12.3.bb b/meta/recipes-extended/logrotate/logrotate_3.12.3.bb
index 05c2ef1c288..620b2087cc8 100644
--- a/meta/recipes-extended/logrotate/logrotate_3.12.3.bb
+++ b/meta/recipes-extended/logrotate/logrotate_3.12.3.bb
@@ -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)}"