Update lang/go to 1.7.4.
This release addresses a security issue with net/http package's Request.ParseMultipartForm method: https://golang.org/doc/devel/release.html#go1.7.minor ok jasper@
This commit is contained in:
parent
ad40923974
commit
cd64551231
@ -1,11 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.38 2016/08/21 14:08:25 czarkoff Exp $
|
||||
# $OpenBSD: Makefile,v 1.39 2016/12/06 15:40:09 jsing Exp $
|
||||
|
||||
ONLY_FOR_ARCHS = ${GO_ARCHS}
|
||||
|
||||
COMMENT = Go programming language
|
||||
|
||||
REVISION = 0
|
||||
VERSION = 1.7
|
||||
VERSION = 1.7.4
|
||||
EXTRACT_SUFX = .src.tar.gz
|
||||
DISTNAME = go${VERSION}
|
||||
PKGNAME = go-${VERSION}
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (go1.7.src.tar.gz) = cmgMFroIkfzyzPRtD4CeTs9Hu/iJ9diEzLVMXpoX4cA=
|
||||
SIZE (go1.7.src.tar.gz) = 14091954
|
||||
SHA256 (go1.7.4.src.tar.gz) = TBiREem6ZRors+6GiqiB+rNrLy2jQJ6AiFynWKa2FMw=
|
||||
SIZE (go1.7.4.src.tar.gz) = 14198817
|
||||
|
17
lang/go/patches/patch-src_time_time_test_go
Normal file
17
lang/go/patches/patch-src_time_time_test_go
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-src_time_time_test_go,v 1.1 2016/12/06 15:40:09 jsing Exp $
|
||||
--- src/time/time_test.go.orig Sun Dec 4 01:36:30 2016
|
||||
+++ src/time/time_test.go Sun Dec 4 01:39:11 2016
|
||||
@@ -939,8 +939,11 @@ func TestLoadFixed(t *testing.T) {
|
||||
// but Go and most other systems use "east is positive".
|
||||
// So GMT+1 corresponds to -3600 in the Go zone, not +3600.
|
||||
name, offset := Now().In(loc).Zone()
|
||||
- if name != "GMT+1" || offset != -1*60*60 {
|
||||
- t.Errorf("Now().In(loc).Zone() = %q, %d, want %q, %d", name, offset, "GMT+1", -1*60*60)
|
||||
+ // The zone abbreviation is "-01" since tzdata-2016g, and "GMT+1"
|
||||
+ // on earlier versions; we accept both. (Issue #17276).
|
||||
+ if !(name == "GMT+1" || name == "-01") || offset != -1*60*60 {
|
||||
+ t.Errorf("Now().In(loc).Zone() = %q, %d, want %q or %q, %d",
|
||||
+ name, offset, "GMT+1", "-01", -1*60*60)
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.17 2016/08/18 17:23:03 jsing Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.18 2016/12/06 15:40:09 jsing Exp $
|
||||
bin/go
|
||||
bin/gofmt
|
||||
go/
|
||||
@ -105,6 +105,7 @@ go/doc/gopher/bumper320x180.png
|
||||
go/doc/gopher/bumper480x270.png
|
||||
go/doc/gopher/bumper640x360.png
|
||||
go/doc/gopher/doc.png
|
||||
go/doc/gopher/favicon.svg
|
||||
go/doc/gopher/fiveyears.jpg
|
||||
go/doc/gopher/frontpage.png
|
||||
go/doc/gopher/gopherbw.png
|
||||
@ -5954,6 +5955,7 @@ go/test/fixedbugs/issue16133.go
|
||||
go/test/fixedbugs/issue16193.go
|
||||
go/test/fixedbugs/issue16249.go
|
||||
go/test/fixedbugs/issue16515.go
|
||||
go/test/fixedbugs/issue17318.go
|
||||
go/test/fixedbugs/issue2615.go
|
||||
go/test/fixedbugs/issue3552.dir/
|
||||
go/test/fixedbugs/issue3552.dir/one.go
|
||||
|
Loading…
x
Reference in New Issue
Block a user