Skip to contentSkip to conversation

protobuf: fix source location

PATCH In review Venkateswara Rao Mandela 2 participants 2 messages Sep 3, 2016 – Sep 6, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 protobuf: fix source location

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.

---
 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(-)
recipes-devtools/protobuf/protobuf-c_0.15.bb +3 -3
index 91dcb3b..4876d33 100644
@@ -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
 
recipes-devtools/protobuf/protobuf-native_2.5.0.bb +4 -4
index 61b18a7..47acdae 100644
@@ -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"
recipes-devtools/protobuf/protobuf_2.5.0.bb +4 -5
index 23b74a7..b503a35 100644
@@ -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
 
Signature · 1 line
2.9.3
#1 lore raw
Quoted 6 lines · Venkateswara Rao Mandela

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.

merged

Bruce

Quoted 97 lines
---
 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(-)
recipes-devtools/protobuf/protobuf-c_0.15.bb +0 -0
index 91dcb3b..4876d33 100644
@@ -6,14 +6,14 @@ LICENSE = "Apache-2.0"
 
 LIC_FILES_CHKSUM = "file://src/google/protobuf-c/

protobuf-c.c;endline=33;md5=333140fae7cf8a38dc5f980ddb63704b"

recipes-devtools/protobuf/protobuf-c_0.15.bb +1 -1
-PR = "r0"
+PR = "r1"
 
 DEPENDS = "protobuf"
 
 SRC_URI[md5sum] = "73ff0c8df50d2eee75269ad8f8c07dc8"
 SRC_URI[sha256sum] = "8fcb538e13a5431c46168fc8f2e6ad

2574e2db9b684c0c72b066e24f010a0036"
-SRC_URI = "http://protobuf-c.googlecode.com/files/protobuf-c-${PV}.tar.gz \

recipes-devtools/protobuf/protobuf-c_0.15.bb +1 -1
-       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 \

recipes-devtools/protobuf/protobuf-c_0.15.bb +1 -0
+        file://disable_tests.patch"
 
 inherit autotools
recipes-devtools/protobuf/protobuf-native_2.5.0.bb +0 -0
index 61b18a7..47acdae 100644
@@ -8,11 +8,11 @@ LICENSE = "BSD-3-Clause"
 
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=af6809583bfde9a31595a58bb4a245

14"

recipes-devtools/protobuf/protobuf-native_2.5.0.bb +1 -3
-PR = "r0"
+PR = "r1"
 
-SRC_URI[md5sum] = "b751f772bdeb2812a2a8e7202bf1dae8"
-SRC_URI[sha256sum] = "c55aa3dc538e6fd5eaf732f4eb6b98

bdcb7cedb5b91d3b5bdcf29c98c293f58e"

recipes-devtools/protobuf/protobuf-native_2.5.0.bb +2 -1
-SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.gz \
+SRC_URI[md5sum] = "9c21577a03adc1879aba5b52d06e25cf"
+SRC_URI[sha256sum] = "c2665a7aa2ac1a206e61b28e014486

e3de59009ea2be2bde9182e0847f38b62f"

recipes-devtools/protobuf/protobuf-native_2.5.0.bb +1 -0
+SRC_URI = "https://github.com/google/protobuf/archive/v${PV}.tar.gz \
        "
 
 EXTRA_OECONF += " --with-protoc=echo --disable-shared"
recipes-devtools/protobuf/protobuf_2.5.0.bb +0 -0
index 23b74a7..b503a35 100644
@@ -8,16 +8,15 @@ LICENSE = "BSD-3-Clause"
 
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=af6809583bfde9a31595a58bb4a245

14"

recipes-devtools/protobuf/protobuf_2.5.0.bb +1 -3
-PR = "r0"
+PR = "r1"
 EXCLUDE_FROM_WORLD = "1"
 
-SRC_URI[md5sum] = "b751f772bdeb2812a2a8e7202bf1dae8"
-SRC_URI[sha256sum] = "c55aa3dc538e6fd5eaf732f4eb6b98

bdcb7cedb5b91d3b5bdcf29c98c293f58e"

recipes-devtools/protobuf/protobuf_2.5.0.bb +2 -1
-SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.gz \
+SRC_URI[md5sum] = "9c21577a03adc1879aba5b52d06e25cf"
+SRC_URI[sha256sum] = "c2665a7aa2ac1a206e61b28e014486

e3de59009ea2be2bde9182e0847f38b62f"

recipes-devtools/protobuf/protobuf_2.5.0.bb +1 -2
+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

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"