[meta-virtualization] [PATCH] protobuf: fix source location

Venkateswara Rao Mandela venkat.mandela at ti.com
Fri Sep 2 20:19:36 PDT 2016


The file locations listed in the recipes for protobuf, protobuf-c
are not currently available. Updating the recipe to

1. Point URI's to valid locations.
2. Update checksums and increment version numbers.

Signed-off-by: Venkateswara Rao Mandela <venkat.mandela at ti.com>
---
 recipes-devtools/protobuf/protobuf-c_0.15.bb       | 6 +++---
 recipes-devtools/protobuf/protobuf-native_2.5.0.bb | 8 ++++----
 recipes-devtools/protobuf/protobuf_2.5.0.bb        | 9 ++++-----
 3 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/recipes-devtools/protobuf/protobuf-c_0.15.bb b/recipes-devtools/protobuf/protobuf-c_0.15.bb
index 91dcb3b..4876d33 100644
--- a/recipes-devtools/protobuf/protobuf-c_0.15.bb
+++ b/recipes-devtools/protobuf/protobuf-c_0.15.bb
@@ -6,14 +6,14 @@ LICENSE = "Apache-2.0"
 
 LIC_FILES_CHKSUM = "file://src/google/protobuf-c/protobuf-c.c;endline=33;md5=333140fae7cf8a38dc5f980ddb63704b"
 
-PR = "r0"
+PR = "r1"
 
 DEPENDS = "protobuf"
 
 SRC_URI[md5sum] = "73ff0c8df50d2eee75269ad8f8c07dc8"
 SRC_URI[sha256sum] = "8fcb538e13a5431c46168fc8f2e6ad2574e2db9b684c0c72b066e24f010a0036"
-SRC_URI = "http://protobuf-c.googlecode.com/files/protobuf-c-${PV}.tar.gz \
-	file://disable_tests.patch"
+SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/protobuf-c/protobuf-c-${PV}.tar.gz \
+        file://disable_tests.patch"
 
 inherit autotools
 
diff --git a/recipes-devtools/protobuf/protobuf-native_2.5.0.bb b/recipes-devtools/protobuf/protobuf-native_2.5.0.bb
index 61b18a7..47acdae 100644
--- a/recipes-devtools/protobuf/protobuf-native_2.5.0.bb
+++ b/recipes-devtools/protobuf/protobuf-native_2.5.0.bb
@@ -8,11 +8,11 @@ LICENSE = "BSD-3-Clause"
 
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=af6809583bfde9a31595a58bb4a24514"
 
-PR = "r0"
+PR = "r1"
 
-SRC_URI[md5sum] = "b751f772bdeb2812a2a8e7202bf1dae8"
-SRC_URI[sha256sum] = "c55aa3dc538e6fd5eaf732f4eb6b98bdcb7cedb5b91d3b5bdcf29c98c293f58e"
-SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.gz \
+SRC_URI[md5sum] = "9c21577a03adc1879aba5b52d06e25cf"
+SRC_URI[sha256sum] = "c2665a7aa2ac1a206e61b28e014486e3de59009ea2be2bde9182e0847f38b62f"
+SRC_URI = "https://github.com/google/protobuf/archive/v${PV}.tar.gz \
 	"
 
 EXTRA_OECONF += " --with-protoc=echo --disable-shared"
diff --git a/recipes-devtools/protobuf/protobuf_2.5.0.bb b/recipes-devtools/protobuf/protobuf_2.5.0.bb
index 23b74a7..b503a35 100644
--- a/recipes-devtools/protobuf/protobuf_2.5.0.bb
+++ b/recipes-devtools/protobuf/protobuf_2.5.0.bb
@@ -8,16 +8,15 @@ LICENSE = "BSD-3-Clause"
 
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=af6809583bfde9a31595a58bb4a24514"
 
-PR = "r0"
+PR = "r1"
 EXCLUDE_FROM_WORLD = "1"
 
-SRC_URI[md5sum] = "b751f772bdeb2812a2a8e7202bf1dae8"
-SRC_URI[sha256sum] = "c55aa3dc538e6fd5eaf732f4eb6b98bdcb7cedb5b91d3b5bdcf29c98c293f58e"
-SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.gz \
+SRC_URI[md5sum] = "9c21577a03adc1879aba5b52d06e25cf"
+SRC_URI[sha256sum] = "c2665a7aa2ac1a206e61b28e014486e3de59009ea2be2bde9182e0847f38b62f"
+SRC_URI = "https://github.com/google/protobuf/archive/v${PV}.tar.gz \
 	file://protobuf-allow-running-python-scripts-from-anywhere.patch \
 	file://run-ptest"
 
-
 EXTRA_OECONF += " --with-protoc=${STAGING_BINDIR_NATIVE}/protoc"
 inherit autotools setuptools ptest
 
-- 
2.9.3



More information about the meta-virtualization mailing list