pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/go Update Go to 1.7.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1249d9435814
branches:  trunk
changeset: 354366:1249d9435814
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Thu Oct 27 18:58:00 2016 +0000

description:
Update Go to 1.7.3.

go1.7.2 should not be used. It was tagged but not fully released. The release
was deferred due to a last minute bug report. Use go1.7.3 instead, and refer to
the summary of changes below.

go1.7.3 (released 2016/10/19) includes fixes to the compiler, runtime, and the
crypto/cipher, crypto/tls, net/http, and strings packages. See the Go 1.7.3
milestone on our issue tracker for details.

diffstat:

 lang/go/Makefile                                 |   3 +-
 lang/go/PLIST                                    |   3 +-
 lang/go/distinfo                                 |  11 +++---
 lang/go/patches/patch-src_net_http_h2__bundle.go |  37 ------------------------
 lang/go/version.mk                               |   4 +-
 5 files changed, 10 insertions(+), 48 deletions(-)

diffs (107 lines):

diff -r f68a5e710107 -r 1249d9435814 lang/go/Makefile
--- a/lang/go/Makefile  Thu Oct 27 16:36:03 2016 +0000
+++ b/lang/go/Makefile  Thu Oct 27 18:58:00 2016 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.47 2016/09/17 15:56:58 bsiegert Exp $
+# $NetBSD: Makefile,v 1.48 2016/10/27 18:58:00 bsiegert Exp $
 
 .include "version.mk"
 
 DISTNAME=      go${GO_VERSION}.src
 PKGNAME=       go-${GO_VERSION}
-PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  https://storage.googleapis.com/golang/
 
diff -r f68a5e710107 -r 1249d9435814 lang/go/PLIST
--- a/lang/go/PLIST     Thu Oct 27 16:36:03 2016 +0000
+++ b/lang/go/PLIST     Thu Oct 27 18:58:00 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.27 2016/09/10 09:09:23 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.28 2016/10/27 18:58:00 bsiegert Exp $
 bin/go
 bin/gofmt
 go/AUTHORS
@@ -5694,6 +5694,7 @@
 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/one.go
 go/test/fixedbugs/issue3552.dir/two.go
diff -r f68a5e710107 -r 1249d9435814 lang/go/distinfo
--- a/lang/go/distinfo  Thu Oct 27 16:36:03 2016 +0000
+++ b/lang/go/distinfo  Thu Oct 27 18:58:00 2016 +0000
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.40 2016/09/17 15:56:58 bsiegert Exp $
+$NetBSD: distinfo,v 1.41 2016/10/27 18:58:00 bsiegert Exp $
 
-SHA1 (go1.7.1.src.tar.gz) = 6df2097fd11014086f6b6015cd4777f3acf37b91
-RMD160 (go1.7.1.src.tar.gz) = 378d3fd9d3d8b7e331b7ce4531a704afcbd32a75
-SHA512 (go1.7.1.src.tar.gz) = eab2b44f44d05c62645756e05078c2a8b7e3c4d2413617a20a6659df22e4612bb2059cf4906ab81134421eb371903034c1b197bb5595c9af9901819b2b3330a3
-Size (go1.7.1.src.tar.gz) = 14098889 bytes
+SHA1 (go1.7.3.src.tar.gz) = a862e865e9fbfcae21deef3687543fbd16198e26
+RMD160 (go1.7.3.src.tar.gz) = a1fbbf8e0805989e2ca74d66912c87e58328c6b5
+SHA512 (go1.7.3.src.tar.gz) = 9289c7720a551725643be757df0b676b7ec3add73e5f01af5e3ac1d81e2b31a304aca6e86d395ddc06fc3982099814478b5ec693124a3327f79399db7bcd73eb
+Size (go1.7.3.src.tar.gz) = 14196345 bytes
 SHA1 (patch-lib_time_update.bash) = 17d28ba574dd08735b58cf73487104a5df3b7684
 SHA1 (patch-misc_io_clangwrap.sh) = cd91c47ba0fe7b6eb8009dd261c0c26c7d581c29
 SHA1 (patch-src_crypto_x509_root__bsd.go) = 0eca1eafa967268ae9b224be4aeda347ebc91901
-SHA1 (patch-src_net_http_h2__bundle.go) = af6682edc3066ea5d7c2c3ecdc93927ee7c622d5
 SHA1 (patch-src_syscall_syscall__solaris.go) = 436371947897dcba574a6dfecc6bbcd04f6e25b2
diff -r f68a5e710107 -r 1249d9435814 lang/go/patches/patch-src_net_http_h2__bundle.go
--- a/lang/go/patches/patch-src_net_http_h2__bundle.go  Thu Oct 27 16:36:03 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-$NetBSD: patch-src_net_http_h2__bundle.go,v 1.1 2016/09/17 15:56:58 bsiegert Exp $
-
-From: Brad Fitzpatrick <bradfitz%golang.org@localhost>
-Date: Mon, 12 Sep 2016 14:44:02 +0000
-Subject: [PATCH] http2: don't sniff first Request.Body byte in Transport until we have a conn
-
-bodyAndLength mutates Request.Body if Request.ContentLength == 0,
-reading the first byte to determine whether it's actually empty or
-just undeclared. But we did that before we checked whether our
-connection was overloaded, which meant the caller could retry the
-request on an new or lesser-loaded connection, but then lose the first
-byte of the request.
-
-Updates golang/go#17071 (needs bundle into std before fixed)
-
---- src/net/http/h2_bundle.go.orig     2016-09-07 19:34:35.000000000 +0000
-+++ src/net/http/h2_bundle.go
-@@ -5486,9 +5486,6 @@ func (cc *http2ClientConn) RoundTrip(req
-       }
-       hasTrailers := trailers != ""
- 
--      body, contentLen := http2bodyAndLength(req)
--      hasBody := body != nil
--
-       cc.mu.Lock()
-       cc.lastActive = time.Now()
-       if cc.closed || !cc.canTakeNewRequestLocked() {
-@@ -5496,6 +5493,9 @@ func (cc *http2ClientConn) RoundTrip(req
-               return nil, http2errClientConnUnusable
-       }
- 
-+      body, contentLen := http2bodyAndLength(req)
-+      hasBody := body != nil
-+
-       // TODO(bradfitz): this is a copy of the logic in net/http. Unify somewhere?
-       var requestedGzip bool
-       if !cc.t.disableCompression() &&
diff -r f68a5e710107 -r 1249d9435814 lang/go/version.mk
--- a/lang/go/version.mk        Thu Oct 27 16:36:03 2016 +0000
+++ b/lang/go/version.mk        Thu Oct 27 18:58:00 2016 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: version.mk,v 1.17 2016/09/10 09:09:23 bsiegert Exp $
+# $NetBSD: version.mk,v 1.18 2016/10/27 18:58:00 bsiegert Exp $
 
 .include "../../mk/bsd.prefs.mk"
 
-GO_VERSION=    1.7.1
+GO_VERSION=    1.7.3
 GO14_VERSION=  1.4.3
 
 ONLY_FOR_PLATFORM=     *-*-i386 *-*-x86_64 *-*-evbarm



Home | Main Index | Thread Index | Old Index