ports/contrib (3.3): go: updated to version 1.7.4
commit 4fcb2b3a70aee209971d07472c4a70d03557a04b Author: Matt Housh <jaeger@crux.ninja> Date: Sat Dec 17 00:41:17 2016 -0600 go: updated to version 1.7.4 diff --git a/go/.footprint b/go/.footprint index c10801a..f716251 100644 --- a/go/.footprint +++ b/go/.footprint @@ -4,15 +4,12 @@ lrwxrwxrwx root/root usr/bin/go -> /usr/lib/go/bin/go lrwxrwxrwx root/root usr/bin/gofmt -> /usr/lib/go/bin/gofmt drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/go/ --rw-r--r-- root/root usr/lib/go/AUTHORS -rw-r--r-- root/root usr/lib/go/CONTRIBUTING.md -rw-r--r-- root/root usr/lib/go/CONTRIBUTORS -rw-r--r-- root/root usr/lib/go/LICENSE -rw-r--r-- root/root usr/lib/go/PATENTS --rw-r--r-- root/root usr/lib/go/README.md -rw-r--r-- root/root usr/lib/go/VERSION drwxr-xr-x root/root usr/lib/go/api/ --rw-r--r-- root/root usr/lib/go/api/README -rw-r--r-- root/root usr/lib/go/api/except.txt -rw-r--r-- root/root usr/lib/go/api/go1.1.txt -rw-r--r-- root/root usr/lib/go/api/go1.2.txt @@ -96,7 +93,6 @@ drwxr-xr-x root/root usr/lib/go/doc/devel/ -rw-r--r-- root/root usr/lib/go/doc/go_mem.html -rw-r--r-- root/root usr/lib/go/doc/go_spec.html drwxr-xr-x root/root usr/lib/go/doc/gopher/ --rw-r--r-- root/root usr/lib/go/doc/gopher/README -rw-r--r-- root/root usr/lib/go/doc/gopher/appenginegopher.jpg -rw-r--r-- root/root usr/lib/go/doc/gopher/appenginegophercolor.jpg -rw-r--r-- root/root usr/lib/go/doc/gopher/appenginelogo.gif @@ -183,12 +179,10 @@ drwxr-xr-x root/root usr/lib/go/doc/progs/ -rw-r--r-- root/root usr/lib/go/favicon.ico drwxr-xr-x root/root usr/lib/go/lib/ drwxr-xr-x root/root usr/lib/go/lib/time/ --rw-r--r-- root/root usr/lib/go/lib/time/README -rwxr-xr-x root/root usr/lib/go/lib/time/update.bash -rw-r--r-- root/root usr/lib/go/lib/time/zoneinfo.zip drwxr-xr-x root/root usr/lib/go/misc/ drwxr-xr-x root/root usr/lib/go/misc/android/ --rw-r--r-- root/root usr/lib/go/misc/android/README -rw-r--r-- root/root usr/lib/go/misc/android/cleaner.go -rw-r--r-- root/root usr/lib/go/misc/android/go_android_exec.go drwxr-xr-x root/root usr/lib/go/misc/arm/ @@ -475,7 +469,6 @@ drwxr-xr-x root/root usr/lib/go/misc/cgo/testtls/ -rw-r--r-- root/root usr/lib/go/misc/cgo/testtls/tls_unix.c drwxr-xr-x root/root usr/lib/go/misc/chrome/ drwxr-xr-x root/root usr/lib/go/misc/chrome/gophertool/ --rw-r--r-- root/root usr/lib/go/misc/chrome/gophertool/README.txt -rw-r--r-- root/root usr/lib/go/misc/chrome/gophertool/background.html -rw-r--r-- root/root usr/lib/go/misc/chrome/gophertool/background.js -rw-r--r-- root/root usr/lib/go/misc/chrome/gophertool/gopher.js @@ -487,14 +480,12 @@ drwxr-xr-x root/root usr/lib/go/misc/chrome/gophertool/ drwxr-xr-x root/root usr/lib/go/misc/git/ -rwxr-xr-x root/root usr/lib/go/misc/git/pre-commit drwxr-xr-x root/root usr/lib/go/misc/ios/ --rw-r--r-- root/root usr/lib/go/misc/ios/README -rwxr-xr-x root/root usr/lib/go/misc/ios/clangwrap.sh -rw-r--r-- root/root usr/lib/go/misc/ios/detect.go -rw-r--r-- root/root usr/lib/go/misc/ios/go_darwin_arm_exec.go drwxr-xr-x root/root usr/lib/go/misc/linkcheck/ -rw-r--r-- root/root usr/lib/go/misc/linkcheck/linkcheck.go drwxr-xr-x root/root usr/lib/go/misc/nacl/ --rw-r--r-- root/root usr/lib/go/misc/nacl/README -rwxr-xr-x root/root usr/lib/go/misc/nacl/go_nacl_386_exec -rwxr-xr-x root/root usr/lib/go/misc/nacl/go_nacl_amd64p32_exec -rwxr-xr-x root/root usr/lib/go/misc/nacl/go_nacl_arm_exec @@ -520,7 +511,6 @@ drwxr-xr-x root/root usr/lib/go/misc/swig/stdio/ -rw-r--r-- root/root usr/lib/go/misc/swig/stdio/file.swig -rw-r--r-- root/root usr/lib/go/misc/swig/stdio/file_test.go drwxr-xr-x root/root usr/lib/go/misc/trace/ --rw-r--r-- root/root usr/lib/go/misc/trace/README.md -rw-r--r-- root/root usr/lib/go/misc/trace/trace_viewer_lean.html drwxr-xr-x root/root usr/lib/go/pkg/ drwxr-xr-x root/root usr/lib/go/pkg/bootstrap/ @@ -760,7 +750,6 @@ drwxr-xr-x root/root usr/lib/go/pkg/bootstrap/src/bootstrap/compile/internal/s39 -rw-r--r-- root/root usr/lib/go/pkg/bootstrap/src/bootstrap/compile/internal/s390x/prog.go -rw-r--r-- root/root usr/lib/go/pkg/bootstrap/src/bootstrap/compile/internal/s390x/reg.go drwxr-xr-x root/root usr/lib/go/pkg/bootstrap/src/bootstrap/compile/internal/ssa/ --rw-r--r-- root/root usr/lib/go/pkg/bootstrap/src/bootstrap/compile/internal/ssa/TODO -rw-r--r-- root/root usr/lib/go/pkg/bootstrap/src/bootstrap/compile/internal/ssa/block.go -rw-r--r-- root/root usr/lib/go/pkg/bootstrap/src/bootstrap/compile/internal/ssa/check.go -rw-r--r-- root/root usr/lib/go/pkg/bootstrap/src/bootstrap/compile/internal/ssa/checkbce.go @@ -1265,7 +1254,6 @@ drwxr-xr-x root/root usr/lib/go/pkg/tool/linux_amd64/ drwxr-xr-x root/root usr/lib/go/src/ -rw-r--r-- root/root usr/lib/go/src/Make.dist -rwxr-xr-x root/root usr/lib/go/src/all.bash --rw-r--r-- root/root usr/lib/go/src/all.bat -rwxr-xr-x root/root usr/lib/go/src/all.rc -rwxr-xr-x root/root usr/lib/go/src/androidtest.bash drwxr-xr-x root/root usr/lib/go/src/archive/ @@ -1353,7 +1341,6 @@ drwxr-xr-x root/root usr/lib/go/src/bytes/ -rw-r--r-- root/root usr/lib/go/src/bytes/reader.go -rw-r--r-- root/root usr/lib/go/src/bytes/reader_test.go -rwxr-xr-x root/root usr/lib/go/src/clean.bash --rw-r--r-- root/root usr/lib/go/src/clean.bat -rwxr-xr-x root/root usr/lib/go/src/clean.rc drwxr-xr-x root/root usr/lib/go/src/cmd/ drwxr-xr-x root/root usr/lib/go/src/cmd/addr2line/ @@ -1619,7 +1606,6 @@ drwxr-xr-x root/root usr/lib/go/src/cmd/compile/internal/s390x/ -rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/s390x/prog.go -rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/s390x/reg.go drwxr-xr-x root/root usr/lib/go/src/cmd/compile/internal/ssa/ --rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/ssa/TODO -rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/ssa/block.go -rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/ssa/check.go -rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/ssa/checkbce.go @@ -1648,7 +1634,6 @@ drwxr-xr-x root/root usr/lib/go/src/cmd/compile/internal/ssa/gen/ -rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/ssa/gen/AMD64Ops.go -rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/ssa/gen/ARM.rules -rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/ssa/gen/ARMOps.go --rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/ssa/gen/README -rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/ssa/gen/dec.rules -rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/ssa/gen/decOps.go -rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/ssa/gen/generic.rules @@ -1701,7 +1686,6 @@ drwxr-xr-x root/root usr/lib/go/src/cmd/compile/internal/ssa/gen/ -rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/ssa/value.go -rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/ssa/zcse.go drwxr-xr-x root/root usr/lib/go/src/cmd/compile/internal/test/ --rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/test/README -rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/test/divconst_test.go -rw-r--r-- root/root usr/lib/go/src/cmd/compile/internal/test/test.go drwxr-xr-x root/root usr/lib/go/src/cmd/compile/internal/x86/ @@ -1725,7 +1709,6 @@ drwxr-xr-x root/root usr/lib/go/src/cmd/cover/testdata/ -rw-r--r-- root/root usr/lib/go/src/cmd/cover/testdata/main.go -rw-r--r-- root/root usr/lib/go/src/cmd/cover/testdata/test.go drwxr-xr-x root/root usr/lib/go/src/cmd/dist/ --rw-r--r-- root/root usr/lib/go/src/cmd/dist/README -rw-r--r-- root/root usr/lib/go/src/cmd/dist/build.go -rw-r--r-- root/root usr/lib/go/src/cmd/dist/buildgo.go -rw-r--r-- root/root usr/lib/go/src/cmd/dist/buildruntime.go @@ -2260,7 +2243,6 @@ drwxr-xr-x root/root usr/lib/go/src/cmd/pack/ -rw-r--r-- root/root usr/lib/go/src/cmd/pack/pack.go -rw-r--r-- root/root usr/lib/go/src/cmd/pack/pack_test.go drwxr-xr-x root/root usr/lib/go/src/cmd/pprof/ --rw-r--r-- root/root usr/lib/go/src/cmd/pprof/README -rw-r--r-- root/root usr/lib/go/src/cmd/pprof/doc.go -rw-r--r-- root/root usr/lib/go/src/cmd/pprof/pprof.go drwxr-xr-x root/root usr/lib/go/src/cmd/trace/ @@ -2311,7 +2293,6 @@ drwxr-xr-x root/root usr/lib/go/src/cmd/vendor/golang.org/x/arch/x86/x86asm/test -rw-r--r-- root/root usr/lib/go/src/cmd/vendor/golang.org/x/arch/x86/x86asm/xedext_test.go -rw-r--r-- root/root usr/lib/go/src/cmd/vendor/vendor.json drwxr-xr-x root/root usr/lib/go/src/cmd/vet/ --rw-r--r-- root/root usr/lib/go/src/cmd/vet/README -rw-r--r-- root/root usr/lib/go/src/cmd/vet/asmdecl.go -rw-r--r-- root/root usr/lib/go/src/cmd/vet/assign.go -rw-r--r-- root/root usr/lib/go/src/cmd/vet/atomic.go @@ -2385,7 +2366,6 @@ drwxr-xr-x root/root usr/lib/go/src/cmd/yacc/ -rw-r--r-- root/root usr/lib/go/src/cmd/yacc/doc.go drwxr-xr-x root/root usr/lib/go/src/cmd/yacc/testdata/ drwxr-xr-x root/root usr/lib/go/src/cmd/yacc/testdata/expr/ --rw-r--r-- root/root usr/lib/go/src/cmd/yacc/testdata/expr/README -rw-r--r-- root/root usr/lib/go/src/cmd/yacc/testdata/expr/expr.y -rw-r--r-- root/root usr/lib/go/src/cmd/yacc/testdata/expr/main.go -rw-r--r-- root/root usr/lib/go/src/cmd/yacc/yacc.go @@ -3382,8 +3362,6 @@ drwxr-xr-x root/root usr/lib/go/src/image/png/testdata/ -rw-r--r-- root/root usr/lib/go/src/image/png/testdata/invalid-trunc.png -rw-r--r-- root/root usr/lib/go/src/image/png/testdata/invalid-zlib.png drwxr-xr-x root/root usr/lib/go/src/image/png/testdata/pngsuite/ --rw-r--r-- root/root usr/lib/go/src/image/png/testdata/pngsuite/README --rw-r--r-- root/root usr/lib/go/src/image/png/testdata/pngsuite/README.original -rw-r--r-- root/root usr/lib/go/src/image/png/testdata/pngsuite/basn0g01-30.png -rw-r--r-- root/root usr/lib/go/src/image/png/testdata/pngsuite/basn0g01-30.sng -rw-r--r-- root/root usr/lib/go/src/image/png/testdata/pngsuite/basn0g01.png @@ -3539,7 +3517,6 @@ drwxr-xr-x root/root usr/lib/go/src/log/syslog/ -rw-r--r-- root/root usr/lib/go/src/log/syslog/syslog_test.go -rw-r--r-- root/root usr/lib/go/src/log/syslog/syslog_unix.go -rwxr-xr-x root/root usr/lib/go/src/make.bash --rw-r--r-- root/root usr/lib/go/src/make.bat -rwxr-xr-x root/root usr/lib/go/src/make.rc drwxr-xr-x root/root usr/lib/go/src/math/ -rw-r--r-- root/root usr/lib/go/src/math/abs.go @@ -4234,7 +4211,6 @@ drwxr-xr-x root/root usr/lib/go/src/path/filepath/ -rw-r--r-- root/root usr/lib/go/src/path/path.go -rw-r--r-- root/root usr/lib/go/src/path/path_test.go -rwxr-xr-x root/root usr/lib/go/src/race.bash --rw-r--r-- root/root usr/lib/go/src/race.bat drwxr-xr-x root/root usr/lib/go/src/reflect/ -rw-r--r-- root/root usr/lib/go/src/reflect/all_test.go -rw-r--r-- root/root usr/lib/go/src/reflect/asm_386.s @@ -4277,7 +4253,6 @@ drwxr-xr-x root/root usr/lib/go/src/regexp/syntax/ -rw-r--r-- root/root usr/lib/go/src/regexp/syntax/simplify.go -rw-r--r-- root/root usr/lib/go/src/regexp/syntax/simplify_test.go drwxr-xr-x root/root usr/lib/go/src/regexp/testdata/ --rw-r--r-- root/root usr/lib/go/src/regexp/testdata/README -rw-r--r-- root/root usr/lib/go/src/regexp/testdata/basic.dat -rw-r--r-- root/root usr/lib/go/src/regexp/testdata/nullsubexpr.dat -rw-r--r-- root/root usr/lib/go/src/regexp/testdata/re2-exhaustive.txt.bz2 @@ -4285,7 +4260,6 @@ drwxr-xr-x root/root usr/lib/go/src/regexp/testdata/ -rw-r--r-- root/root usr/lib/go/src/regexp/testdata/repetition.dat -rw-r--r-- root/root usr/lib/go/src/regexp/testdata/testregex.c -rwxr-xr-x root/root usr/lib/go/src/run.bash --rw-r--r-- root/root usr/lib/go/src/run.bat -rwxr-xr-x root/root usr/lib/go/src/run.rc drwxr-xr-x root/root usr/lib/go/src/runtime/ -rw-r--r-- root/root usr/lib/go/src/runtime/Makefile @@ -4670,7 +4644,6 @@ drwxr-xr-x root/root usr/lib/go/src/runtime/pprof/ -rw-r--r-- root/root usr/lib/go/src/runtime/proc_test.go -rw-r--r-- root/root usr/lib/go/src/runtime/race.go drwxr-xr-x root/root usr/lib/go/src/runtime/race/ --rw-r--r-- root/root usr/lib/go/src/runtime/race/README -rw-r--r-- root/root usr/lib/go/src/runtime/race/doc.go -rw-r--r-- root/root usr/lib/go/src/runtime/race/output_test.go -rw-r--r-- root/root usr/lib/go/src/runtime/race/race.go diff --git a/go/.md5sum b/go/.md5sum index a884833..b002603 100644 --- a/go/.md5sum +++ b/go/.md5sum @@ -1,3 +1,3 @@ 3fe2460e64c5703546a4c206dfe2e27b go-certpath.diff -e6903ecf48cb975a6df8d35bc2b048ff go1.7.3.linux-amd64.tar.gz -83d1b7bd4281479ab7d153e5152c9fc9 go1.7.3.src.tar.gz +814fad4ac7dedfb5e286df83cdc7fc21 go1.4.3.linux-amd64.tar.gz +49c1076428a5d3b5ad7ac65233fcca2f go1.7.4.src.tar.gz diff --git a/go/Pkgfile b/go/Pkgfile index 94e5189..bdfce8e 100644 --- a/go/Pkgfile +++ b/go/Pkgfile @@ -3,23 +3,23 @@ # Maintainer: Matt Housh, jaeger at crux dot ninja name=go -version=1.7.3 +version=1.7.4 release=1 -source=(https://storage.googleapis.com/golang/${name}${version}.linux-amd64.tar.gz \ +source=(https://storage.googleapis.com/golang/go1.4.3.linux-amd64.tar.gz \ https://storage.googleapis.com/golang/${name}${version}.src.tar.gz \ $name-certpath.diff) unpack_source() { - install -d $SRC/go${version:0:3} - bsdtar -xf $PKGMK_SOURCE_DIR/${name}${version}.linux-amd64.tar.gz \ - -C $SRC/go${version:0:3} --strip-components 1 + install -d $SRC/go1.4 + bsdtar -xf $PKGMK_SOURCE_DIR/${name}1.4.3.linux-amd64.tar.gz \ + -C $SRC/go1.4 --strip-components 1 bsdtar -xf $PKGMK_SOURCE_DIR/${name}${version}.src.tar.gz \ -C $SRC cp $name-certpath.diff $SRC } build() { - export GOROOT_BOOTSTRAP=${SRC}/go${version:0:3} + export GOROOT_BOOTSTRAP=${SRC}/go1.4 export GOROOT_FINAL=/usr/lib/go export GOOS=linux export GOARCH=amd64 @@ -36,6 +36,7 @@ build() { ln -s /usr/lib/go/bin/go $PKG/usr/bin/ ln -s /usr/lib/go/bin/gofmt $PKG/usr/bin/ - # work around a bug in the build system - find $PKG -name "*.a" -exec chmod 644 '{}' \; + find $PKG \( -name "*.a" -o -name "*.go" \) -exec chmod 644 '{}' \; + find $PKG \( -name "README*" -o -name "AUTHORS" -o -name "TODO" \) -delete + rm $PKG/usr/lib/go/src/*.bat }
participants (1)
-
crux@crux.nu