- Update to 1.4.3, fix vulnerabilities

- Improve clang detection [1]
- Disable CGO, it is not needed to bootstrap 1.5

PR:		202624 [1]
This commit is contained in:
Julien Laffaye 2015-09-27 19:54:19 +00:00
parent 3c7dd2add8
commit 2d11902c35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398046
3 changed files with 14 additions and 31 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= go14
PORTVERSION= 1.4.2
PORTVERSION= 1.4.3
CATEGORIES= lang
MASTER_SITES= http://golang.org/dl/
DISTNAME= go${PORTVERSION}.src
@ -11,7 +11,7 @@ COMMENT= Go programming language
LICENSE= BSD3CLAUSE
USES= shebangfix
USES= compiler shebangfix
SHEBANG_LANG= sh
SHEBANG_FILES= ${WRKSRC}/src/*.bash \
${WRKSRC}/doc/progs/run \
@ -26,6 +26,11 @@ ONLY_FOR_ARCHS= i386 amd64 armv6
.include <bsd.port.pre.mk>
# If cc is clang, change it to clang to help Go identify the compiler
.if ${COMPILER_TYPE} == "clang" && ${CC} == "cc"
CC=clang
.endif
.if ${ARCH} == "i386"
GOARCH=386
GOOBJ=8
@ -50,6 +55,7 @@ do-build:
CC=${CC} \
GOROOT=${WRKSRC} GOROOT_FINAL=${PREFIX}/go14 \
GOBIN= GOARCH=${GOARCH} GOOS=${OPSYS:tl} \
CGO_ENABLED=0 \
${SH} make.bash
do-install:

View file

@ -1,2 +1,2 @@
SHA256 (go1.4.2.src.tar.gz) = 299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b
SIZE (go1.4.2.src.tar.gz) = 10921896
SHA256 (go1.4.3.src.tar.gz) = 9947fc705b0b841b5938c48b22dc33e9647ec0752bae66e50278df4f23f64959
SIZE (go1.4.3.src.tar.gz) = 10875170

View file

@ -1,5 +1,3 @@
go14/.hgignore
go14/.hgtags
go14/AUTHORS
go14/CONTRIBUTORS
go14/LICENSE
@ -188,6 +186,9 @@ go14/include/plan9/stdarg.h
go14/include/plan9/utf.h
go14/include/u.h
go14/include/utf.h
go14/lib/codereview/codereview.cfg
go14/lib/codereview/codereview.py
go14/lib/codereview/test.sh
go14/lib/time/README
go14/lib/time/update.bash
go14/lib/time/zoneinfo.zip
@ -339,33 +340,9 @@ go14/misc/chrome/gophertool/gopher.png
go14/misc/chrome/gophertool/manifest.json
go14/misc/chrome/gophertool/popup.html
go14/misc/chrome/gophertool/popup.js
go14/misc/dashboard/codereview/app.yaml
go14/misc/dashboard/codereview/cron.yaml
go14/misc/dashboard/codereview/dashboard/cl.go
go14/misc/dashboard/codereview/dashboard/front.go
go14/misc/dashboard/codereview/dashboard/gc.go
go14/misc/dashboard/codereview/dashboard/mail.go
go14/misc/dashboard/codereview/dashboard/people.go
go14/misc/dashboard/codereview/index.yaml
go14/misc/dashboard/codereview/queue.yaml
go14/misc/dashboard/codereview/static/gopherstamp.jpg
go14/misc/dashboard/codereview/static/icon.png
go14/misc/editors
go14/misc/git/pre-commit
go14/misc/linkcheck/linkcheck.go
go14/misc/makerelease/darwin/Distribution
go14/misc/makerelease/darwin/Resources/bg.png
go14/misc/makerelease/darwin/etc/paths.d/go
go14/misc/makerelease/darwin/scripts/postinstall
go14/misc/makerelease/darwin/scripts/preinstall
go14/misc/makerelease/makerelease.go
go14/misc/makerelease/windows/LICENSE.rtf
go14/misc/makerelease/windows/README.txt
go14/misc/makerelease/windows/images/Banner.jpg
go14/misc/makerelease/windows/images/Dialog.jpg
go14/misc/makerelease/windows/images/DialogLeft.jpg
go14/misc/makerelease/windows/images/gopher.ico
go14/misc/makerelease/windows/installer.wxs
go14/misc/nacl/README
go14/misc/nacl/go_nacl_386_exec
go14/misc/nacl/go_nacl_amd64p32_exec
@ -514,7 +491,6 @@ go14/pkg/freebsd_%%ARCH%%/regexp.a
go14/pkg/freebsd_%%ARCH%%/regexp/syntax.a
go14/pkg/freebsd_%%ARCH%%/runtime.a
go14/pkg/freebsd_%%ARCH%%/runtime.h
go14/pkg/freebsd_%%ARCH%%/runtime/cgo.a
go14/pkg/freebsd_%%ARCH%%/runtime/debug.a
go14/pkg/freebsd_%%ARCH%%/runtime/pprof.a
go14/pkg/freebsd_%%ARCH%%/runtime/race.a
@ -4336,6 +4312,7 @@ go14/test/fixedbugs/issue9537.dir/b.go
go14/test/fixedbugs/issue9537.go
go14/test/fixedbugs/issue9604.go
go14/test/fixedbugs/issue9634.go
go14/test/fixedbugs/issue10135.go
go14/test/float_lit.go
go14/test/float_lit2.go
go14/test/float_lit3.go