libuv: switch away from github archive
PATCH 1/2 libuv: switch away from github archive
Since we know that github archives which are automatically generated have a tendency to change their checksums[1], switch to using a git clone.
[1] http://lists.openembedded.org/pipermail/openembedded-devel/2017-September/114916.html
--- meta-oe/recipes-connectivity/libuv/libuv_1.11.0.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
meta-oe/recipes-connectivity/libuv/libuv_1.11.0.bb +4 -4
@@ -4,10 +4,10 @@ BUGTRACKER = "https://github.com/libuv/libuv/issues" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=bb5ea0d651f4c3519327171906045775" -SRC_URI = "https://github.com/libuv/${BPN}/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz" - -SRC_URI[md5sum] = "15550a9f5f45f7f32ae2d9bb0a21a2a7" -SRC_URI[sha256sum] = "6ec7eec6ecc24b1a8ffedebedb2fe9313fffb5410de89aaf784dd01080411c7a" +S = "${WORKDIR}/git" +SRCREV = "7452ef4e06a4f99ee26b694c65476401534f2725" +BRANCH = "v1.x" +SRC_URI = "git://github.com/libuv/libuv.git;protocol=https;branch=${BRANCH};" inherit autotools
Signature · 1 line
2.17.0.rc2.3.gc2a499e6c
PATCH 2/2 libuv: update 1.11.0 -> 1.20.3
The license change is as a result of removing one of the files (pthread-fixes.h) from the list of files from Google and Sony. No change in license has occurred. Here is a diff of the license file:
--- LICENSE.old 2018-05-11 10:50:19.024581228 -0400
+++ LICENSE.new 2018-05-11 10:49:53.088488515 -0400
@@ -62,8 +62,8 @@
- stdint-msvc2008.h (from msinttypes), copyright Alexander Chemeris. Three clause BSD license.
- - pthread-fixes.h, pthread-fixes.c, copyright Google Inc. and Sony Mobile
- Communications AB. Three clause BSD license.
+ - pthread-fixes.c, copyright Google Inc. and Sony Mobile Communications AB.
+ Three clause BSD license.
- android-ifaddrs.h, android-ifaddrs.c, copyright Berkeley Software Design Inc, Kenneth MacKay and Emergya (Cloud4all, FP7/2007-2013, grant agreement
---
.../libuv/{libuv_1.11.0.bb => libuv_1.20.3.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-oe/recipes-connectivity/libuv/{libuv_1.11.0.bb => libuv_1.20.3.bb} (78%)meta-oe/recipes-connectivity/libuv/libuv_1.20.3.bb renamed from meta-oe/recipes-connectivity/libuv/libuv_1.11.0.bb +2 -2
@@ -2,10 +2,10 @@ SUMMARY = "A multi-platform support library with a focus on asynchronous I/O" HOMEPAGE = "https://github.com/libuv/libuv" BUGTRACKER = "https://github.com/libuv/libuv/issues" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=bb5ea0d651f4c3519327171906045775" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a68902a430e32200263d182d44924d47" S = "${WORKDIR}/git" -SRCREV = "7452ef4e06a4f99ee26b694c65476401534f2725" +SRCREV = "8cfd67e59195251dff793ee47c185c9d6a8f3818" BRANCH = "v1.x" SRC_URI = "git://github.com/libuv/libuv.git;protocol=https;branch=${BRANCH};"
Signature · 1 line
2.17.0.rc2.3.gc2a499e6c