Skip to contentSkip to conversation

go: update to go1.9.1

PATCH Superseded Matt Madison 3 participants 6 messages Oct 10, 2017 – Oct 11, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 go: update to go1.9.1

Addresses two security issues, including CVE-2017-15041

Reference:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15041

---
 meta/recipes-devtools/go/go-1.9.inc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta/recipes-devtools/go/go-1.9.inc +4 -2
index 65adaa8..a2f2b2f 100644
@@ -1,5 +1,7 @@
 require go-common.inc
 
+PV = "1.9.1"
+
 GO_BASEVERSION = "1.9"
 FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:"
 
@@ -16,5 +18,5 @@ SRC_URI += "\
         file://0008-make.bash-add-GOHOSTxx-indirection-for-cross-canadia.patch \
         file://0009-cmd-go-buildmode-pie-forces-external-linking-mode-on.patch \
 "
-SRC_URI[main.md5sum] = "da2d44ea384076efec43ee1f8b7d45d2"
-SRC_URI[main.sha256sum] = "a4ab229028ed167ba1986825751463605264e44868362ca8e7accc8be057e993"
+SRC_URI[main.md5sum] = "27bce1ffb05f4f6bd90d90081e5d4169"
+SRC_URI[main.sha256sum] = "a84afc9dc7d64fe0fa84d4d735e2ece23831a22117b50dafc75c1484f1cb550e"
Signature · 1 line
2.7.4
#1 lore raw
Quoted 2 lines · Matt Madison

+PV = "1.9.1"

Surely having a go-1.9.bb which then sets PV=1.9.1 is confusing at best? Why not just update the checksums and rename the files?

Ross

#2 lore raw
Quoted 8 lines · Ross
Quoted 2 lines · Matt Madison

+PV = "1.9.1"

Surely having a go-1.9.bb which then sets PV=1.9.1 is confusing at best? Why not just update the checksums and rename the files?

I think its in line with what we do with rest of toolchain. Probably

MINOR = ".1"

PV = "{BASE_PV}${MINOR}"

might be better.

Quoted 8 lines

Ross

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#3 lore raw
Quoted 11 lines · Khem Raj
Quoted 8 lines · Ross
Quoted 2 lines · Matt Madison

+PV = "1.9.1"

Surely having a go-1.9.bb which then sets PV=1.9.1 is confusing at best? Why not just update the checksums and rename the files?

I think its in line with what we do with rest of toolchain.

Yes, the pattern has already been long established in the gcc recipes, anyway.

Quoted 7 lines

Probably

MINOR = ".1"

PV = "{BASE_PV}${MINOR}"

might be better.

I'm not sure I understand this. Where would BASE_PV come from?

I'm also fine with just renaming the recipes, .inc file, and subdirectory for the patches, if that's deemed preferable.

Thanks,
-Matt

Quoted 9 lines
Quoted 9 lines

Ross

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#4 lore raw
Quoted 17 lines · Matt Madison
Quoted 11 lines · Khem Raj
Quoted 8 lines · Ross
Quoted 2 lines · Matt Madison

+PV = "1.9.1"

Surely having a go-1.9.bb which then sets PV=1.9.1 is confusing at best? Why not just update the checksums and rename the files?

I think its in line with what we do with rest of toolchain.

Yes, the pattern has already been long established in the gcc recipes, anyway.

Quoted 2 lines

Probably

Quoted 7 lines
Quoted 5 lines

MINOR = ".1"

PV = "{BASE_PV}${MINOR}"

might be better.

I'm not sure I understand this. Where would BASE_PV come from?

it was sort pseudo code, but you already have GO_BASEVERSION which is what BASE_PV stood for.

Quoted 16 lines

I'm also fine with just renaming the recipes, .inc file, and subdirectory for the patches, if that's deemed preferable.

Thanks,
-Matt

Quoted 9 lines
Quoted 9 lines

Ross

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#5 lore raw
Quoted 20 lines · Khem Raj
Quoted 19 lines · Matt Madison
Quoted 11 lines · Khem Raj
Quoted 8 lines · Ross
Quoted 2 lines · Matt Madison

+PV = "1.9.1"

Surely having a go-1.9.bb which then sets PV=1.9.1 is confusing at best? Why not just update the checksums and rename the files?

I think its in line with what we do with rest of toolchain.

Yes, the pattern has already been long established in the gcc recipes, anyway.

Quoted 4 lines

Probably

MINOR = ".1"

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

PV = "{BASE_PV}${MINOR}"

might be better.

I'm not sure I understand this. Where would BASE_PV come from?

it was sort pseudo code, but you already have GO_BASEVERSION which is what BASE_PV stood for.

Got it, thanks. V2 on its way shortly.

-Matt

Quoted 17 lines
Quoted 17 lines

I'm also fine with just renaming the recipes, .inc file, and subdirectory for the patches, if that's deemed preferable.

Thanks,
-Matt

Quoted 9 lines
Quoted 9 lines

Ross

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core