View | Details | Raw Unified | Return to bug 253576
Collapse All | Expand All

(-)b/lang/go/Makefile (-2 / +2 lines)
Lines 2-12 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	go
4
PORTNAME=	go
5
PORTVERSION?=	1.15.8
5
PORTVERSION?=	1.16
6
PORTREVISION?=	0
6
PORTREVISION?=	0
7
PORTEPOCH?=	1
7
PORTEPOCH?=	1
8
CATEGORIES=	lang
8
CATEGORIES=	lang
9
MASTER_SITES?=	https://golang.org/dl/ \
9
MASTER_SITES?=	https://dl.google.com/go/ \
10
		https://github.com/dmgk/go-bootstrap/releases/download/${BOOTSTRAP_TAG}/:bootstrap \
10
		https://github.com/dmgk/go-bootstrap/releases/download/${BOOTSTRAP_TAG}/:bootstrap \
11
		LOCAL/dmgk:bootstrap
11
		LOCAL/dmgk:bootstrap
12
DISTFILES?=	go${PORTVERSION}.src.tar.gz \
12
DISTFILES?=	go${PORTVERSION}.src.tar.gz \
(-)b/lang/go/distinfo (-3 / +3 lines)
Lines 1-6 Link Here
1
TIMESTAMP = 1612525048
1
TIMESTAMP = 1613538192
2
SHA256 (go1.15.8.src.tar.gz) = 540c0ab7781084d124991321ed1458e479982de94454a98afab6acadf38497c2
2
SHA256 (go1.16.src.tar.gz) = 7688063d55656105898f323d90a79a39c378d86fe89ae192eb3b7fc46347c95a
3
SIZE (go1.15.8.src.tar.gz) = 23018628
3
SIZE (go1.16.src.tar.gz) = 20895394
4
SHA256 (go-freebsd-arm64-go1.14.tar.xz) = f8b0cf0d323e581c9e3e0d5c217847a3e0294fcc92dbac92a5b02cea9d97ad8d
4
SHA256 (go-freebsd-arm64-go1.14.tar.xz) = f8b0cf0d323e581c9e3e0d5c217847a3e0294fcc92dbac92a5b02cea9d97ad8d
5
SIZE (go-freebsd-arm64-go1.14.tar.xz) = 34944548
5
SIZE (go-freebsd-arm64-go1.14.tar.xz) = 34944548
6
SHA256 (go-freebsd-amd64-go1.14.tar.xz) = 3b259247fb228258a4f31e283e9aa23cafd590eabce334666a9e9b2ffe47c19b
6
SHA256 (go-freebsd-amd64-go1.14.tar.xz) = 3b259247fb228258a4f31e283e9aa23cafd590eabce334666a9e9b2ffe47c19b
(-)a/lang/go/files/patch-src_cmd_go_internal_modload_vendor.go (-11 lines)
Removed Link Here
1
--- src/cmd/go/internal/modload/vendor.go.orig	2020-06-11 12:36:37 UTC
2
+++ src/cmd/go/internal/modload/vendor.go
3
@@ -133,7 +133,7 @@ func checkVendorConsistency() {
4
 	readVendorList()
5
 
6
 	pre114 := false
7
-	if modFile.Go == nil || semver.Compare("v"+modFile.Go.Version, "v1.14") < 0 {
8
+	if modFile.Go == nil || semver.Compare("v"+modFile.Go.Version, "v1.14") < 0 || (os.Getenv("GO_NO_VENDOR_CHECKS") == "1" && len(vendorMeta) == 0) {
9
 		// Go versions before 1.14 did not include enough information in
10
 		// vendor/modules.txt to check for consistency.
11
 		// If we know that we're on an earlier version, relax the consistency check.

Return to bug 253576