Commit graph

51 commits

Author SHA1 Message Date
bsiegert
3dce73223e Update Go to 1.5.2, original patch from Kamel Derouiche in PR pkg/50498.
go1.5.2 (released 2015/12/02) includes bug fixes to the compiler,
linker, and the mime/multipart, net, and runtime packages. See the Go
1.5.2 milestone on our issue tracker for details.

https://github.com/golang/go/issues?q=milestone%3AGo1.5.2
2015-12-10 20:04:54 +00:00
agc
54622f28e2 Add SHA512 digests for distfiles for lang category
Problems found with existing digests:
	Package nhc98 distfile nhc98src-1.22.tar.gz
	a8adc8f22371998ee0657bc0e01058a57d876abc [recorded]
	81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated]

Problems found locating distfiles:
	Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz
	Package icc11: missing distfile l_cproc_p_11.1.080.tgz
	Package jini: missing distfile jini-1_2_1_001-src.zip
	Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz
	Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz
	Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin
	Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh
	Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz
	Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz
	Package sun-jre6: missing distfile jce_policy-6.zip
	Package sun-jre6: missing distfile jre-6u45-linux-x64.bin
	Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh
	Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz
	Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 22:50:31 +00:00
bsiegert
2508868dbb Update go14 to 1.4.3. It fixes four security-related issues.
The issues were reported in Go's net/http package. They affect programs using
that package to proxy HTTP requests. We recommend that all users upgrade to Go
1.5, which fixes these issues. For users unable to upgrade to Go 1.5, we have
released version 1.4.3, which is based on Go 1.4.2 plus fixes for these issues.
Affected Go programs—those that use the net/http package as a proxy server—must
be recompiled with Go 1.5 or Go 1.4.3 to receive the fixes.

The CVE issue descriptions and fixes are linked below.

CVE-2015-5739
"Content Length" treated as valid header:
https://go-review.googlesource.com/#/c/11772/

CVE-2015-5740
Double content-length headers does not return 400 error:
https://go-review.googlesource.com/#/c/11810/

CVE-2015-5741
Additional hardening, not sending Content-Length w/Transfer-Encoding,
Closing connections:
https://go-review.googlesource.com/#/c/11810/
https://go-review.googlesource.com/#/c/12865/
https://go-review.googlesource.com/#/c/13148/

The Go team would like to thank Jed Denlea and Régis Leroy for their
contributions to this release. They have been awarded 1337 USD under the Google
Security Bounty program.
2015-09-26 17:37:01 +00:00
fhajny
e3d64585b1 Remove patch for a problem that was fixed in 1.5.1.
Clear PKGREVISION after PKGVERSION update.
2015-09-13 19:11:55 +00:00
bsiegert
1653a6bdcc Update Go to 1.5.1.
go1.5.1 (released 2015/09/08) includes bug fixes to the compiler, assembler,
and the fmt, net/textproto, net/http, and runtime packages. See the Go 1.5.1
milestone on our issue tracker for details:
https://github.com/golang/go/issues?q=milestone%3AGo1.5.1
2015-09-13 14:24:58 +00:00
fhajny
f9facf0aca Add support for the dup2 syscall on SunOS. Bump PKGREVISION. 2015-08-25 23:09:51 +00:00
fhajny
30aa367f71 Define test target for lang/go 2015-08-25 23:07:23 +00:00
fhajny
8e404253de Remove stale cgo/SunOS patches that are no longer needed. Fixes SunOS build.
Fix problem with -lsendfile needed on SunOS when building 3rd party software
that uses the net package.
2015-08-25 21:02:52 +00:00
wiz
31a9165c5b Fix interpreter path in more installed files.
Ignore another file's interpreter during build.
Bump PKGREVISION.
2015-08-22 23:49:13 +00:00
bsiegert
f6269e4136 Update go to 1.5.
This release now needs the previous one (lang/go14) to build.

The biggest developments in the implementation are:

* The compiler and runtime are now written entirely in Go (with a little
  assembler). C is no longer involved in the implementation, and so the
  C compiler that was once necessary for building the distribution is
  gone.
* The garbage collector is now concurrent and provides dramatically
  lower pause times by running, when possible, in parallel with other
  goroutines.
* By default, Go programs run with GOMAXPROCS set to the number of cores
  available; in prior releases it defaulted to 1.
* Support for internal packages is now provided for all repositories,
  not just the Go core.
* The go command now provides experimental support for "vendoring"
  external dependencies.
* A new go tool trace command supports fine-grained tracing of program
  execution.
* A new go doc command (distinct from godoc) is customized for
  command-line use.

Full release notes are at https://golang.org/doc/go1.5.
2015-08-22 10:51:20 +00:00
bsiegert
4f034c2357 Create lang/go14 as a copy of lang/go but which installs under
$PREFIX/go14.

Go 1.5 is going to be released soon, and it will depend on an existing
installation of Go 1.4 to compile. So let's provide one.
2015-07-31 14:46:25 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
bsiegert
c99d17568d Actually define the GO_PLATFORM var before using it. Fixes PLIST generation
for Go packages.
2015-05-11 13:25:35 +00:00
bsiegert
7510a80529 go-package.mk: add an awk fragment for print-PLIST to replace GO_PLATFORM.
After a similar patch by hiramatsu@ for ocaml.mk.
2015-05-03 15:35:54 +00:00
bsiegert
5b3cf9f413 Remove some files that no longer exist from the replace-interpreter list. 2015-05-03 15:32:02 +00:00
bsiegert
9a7bee3121 Add pax to USE_TOOLS. 2015-03-10 21:52:10 +00:00
jperkin
a1dea38e5d Implement cgo support for illumos. Patches by Keith Wesolowski at Joyent.
Bump PKGREVISION.
2015-03-10 13:11:36 +00:00
tnn
aa3fa24b86 dropped DIST_SUBDIR 2015-02-22 13:29:01 +00:00
tnn
2fe97d2274 drop DIST_SUBDIR 2015-02-22 13:28:30 +00:00
mspo
f7f898e3a3 go1.4.2 (released 2015/02/17) includes bug fixes to the go command, the compiler and linker, and the runtime, syscall, reflect, and math/big packages. 2015-02-22 13:14:09 +00:00
tnn
1228c689bc Upstream did distfile switcheroo. Update checksum to match the one listed
on https://golang.org/dl/. Diff to previous rel revealed nothing weird.
2015-02-04 22:57:46 +00:00
wiz
1c9d5ac401 Update to 1.4.1:
We've just released Go version 1.4.1, a minor point release.  This
release fixes bugs in linker and the log, runtime, and syscall
packages.
2015-01-16 11:27:03 +00:00
bsiegert
90b4a70bfb Add definition for GOTOOLDIR.
This is needed for the go-tools package.
2015-01-13 21:35:13 +00:00
bsiegert
e1bf55736f Add infrastructure for compiling software written in Go to pkgsrc. This
used to be in wip/go.
2015-01-02 14:04:00 +00:00
bsiegert
fa64415ac2 Remove special case for golang.org/x/tools from the go command.
We handle it differently in the go-tools package. While here, rename
GO_COMPILER to GOCHAR, which is the name upstream uses.

Bump PKGREVISION.
2014-12-31 11:40:14 +00:00
fhajny
88f01bb366 Only use PLIST subst vars were they should really be. 2014-12-13 15:14:26 +00:00
wiz
5fe43b2df2 Update to 1.4, ok bsiegert:
Today we announce Go 1.4, the fifth major stable release of Go,
arriving six months after our previous major release Go 1.3. It
contains a small language change, support for more operating systems
and processor architectures, and improvements to the tool chain
and libraries. As always, Go 1.4 keeps the promise of compatibility,
and almost everything will continue to compile and run without
change when moved to 1.4. For the full details, see the Go 1.4
release notes.

The most notable new feature in this release is official support
for Android. Using the support in the core and the libraries in
the golang.org/x/mobile repository, it is now possible to write
simple Android apps using only Go code. At this stage, the support
libraries are still nascent and under heavy development. Early
adopters should expect a bumpy ride, but we welcome the community
to get involved.

The language change is a tweak to the syntax of for-range loops.
You may now write "for range s {" to loop over each item from s,
without having to assign the value, loop index, or map key. See
the release notes for details.

The go command has a new subcommand, go generate, to automate the
running of tools to generate source code before compilation. For
example, it can be used to automate the generation of String methods
for typed constants using the new stringer tool. For more information,
see the design document.

Most programs will run about the same speed or slightly faster in
1.4 than in 1.3; some will be slightly slower. There are many
changes, making it hard to be precise about what to expect. See
the release notes for more discussion.

And, of course, there are many more improvements and bug fixes.

In case you missed it, a few weeks ago the sub-repositories were
moved to new locations. For example, the go.tools packages are now
imported from "golang.org/x/tools". See the announcement post for
details.

This release also coincides with the project's move from Mercurial
to Git (for source control), Rietveld to Gerrit (for code review),
and Google Code to Github (for issue tracking and wiki). The move
affects the core Go repository and its sub-repositories. You can
find the canonical Git repositories at go.googlesource.com, and
the issue tracker and wiki at the golang/go GitHub repo.
2014-12-12 09:41:40 +00:00
bsiegert
9c2fed0197 Add a separate Makefile for the version string plus GOARCH. To be used
by Go packages.
2014-11-18 20:39:11 +00:00
wiz
80ca574991 Update to 1.3.3:
go1.3.3 (released 2014/09/30) includes further bug fixes to cgo,
the runtime package, and the nacl port.
2014-10-12 14:51:03 +00:00
khorben
360914d754 Also look for the right path for the SSL certificate repository on NetBSD.
Fixes "go get code.google.com/p/..." for me, once security/mozilla-rootcerts
installed and configured (with the default settings).

Bumps PKGREVISION, since the package is modified.

ok bsiegert@
2014-10-11 16:41:47 +00:00
wiz
d6bad2788b Update to 1.3.2 for a security fix:
We've just released Go version 1.3.2, a minor point release.

This release includes bug fixes to cgo and the crypto/tls package.
    https://golang.org/doc/devel/release.html#go1.3.minor

The crpyto/tls fix addresses a security bug that affects programs
that use crypto/tls to implement a TLS server from Go 1.1 onwards.
If the server enables TLS client authentication using certificates
(this is rare) and explicitly sets SessionTicketsDisabled to true
in the tls.Config, then a malicious client can falsely assert
ownership of any client certificate it wishes. This issue was
discovered internally and there is no evidence of exploitation.
2014-09-26 13:54:28 +00:00
wiz
d2a2201f62 Update to 1.3.1:
This release includes bug fixes to the compiler and the runtime,
net, and crypto/rsa packages.

Ok bsiegert@
2014-08-17 15:17:42 +00:00
fhajny
346f9a7682 SunOS-*-i386 is not supported yet, don't bother building for now. 2014-07-30 12:04:20 +00:00
jperkin
3bde48d60c PLIST fixes for SunOS. 2014-07-07 16:44:18 +00:00
bsiegert
91c851381e Update go to 1.3. One of our patches was accepted upstream.
Note that this is a leaf package. schmonz says it is ok to update this
now.
2014-06-22 14:50:47 +00:00
joerg
412d1471df Regen 2014-06-14 19:31:38 +00:00
joerg
aa8f8bed9b If libgcc.a doesn't exist, don't fail. 2014-06-14 16:22:25 +00:00
joerg
263c37b981 Generalize the orig removal. 2014-06-14 16:20:45 +00:00
bsiegert
6cb9690664 Remove go/pkg/obj from the PLIST once and for all, and delete the directory
in do-install. The obj files are build artifacts.

Fixes breakage reported by wiz in private mail (I hope).
2014-05-31 13:06:47 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
bsiegert
90bc4cb1f6 Update Go to latest version 1.2.2.
go1.2.2 (released 2014/05/05) includes a security fix that affects the tour
binary included in the binary distributions (thanks to Guillaume T).
2014-05-27 18:56:53 +00:00
bsiegert
246fed7ee8 Apply patch from PR pkg/48834: introduce a GO_COMPILER variable that
contains the "arch character" (5, 6 or 8) and substitute it in PLIST.
Fixes installation on i386 and possibly evbarm.
2014-05-24 09:44:39 +00:00
wiz
a54c12cdb6 Fix packaging after patch was added. 2014-05-16 11:53:10 +00:00
christos
8707a29ee0 apply note creation bug fix from the go mercurial head, and adjust our code
so that it works in both cases.
2014-05-15 20:00:47 +00:00
christos
618cddf8e8 fix elf note computation 2014-05-15 19:35:49 +00:00
bsiegert
58b50a7ba2 Update go to 1.2.1, released today.
It contains the following fixes:

* runtime: fix crash in runtime.GoroutineProfile
* runtime: if traceback sees a breakpoint, don't change the PC
* runtime: fix data race in GC
* net: ignore some errors in windows Accept
* database/sql: Use all connections in pool
2014-03-03 15:41:12 +00:00
wiz
1dd0735e63 FETCH_USING should not be set in package Makefiles. 2014-01-05 14:55:09 +00:00
bsiegert
9c3f1aecce Apply a distribution patch to fix the handling of Unix domain sockets
on NetBSD/current. Bump PKGREVISION.
2014-01-04 11:35:48 +00:00
bsiegert
b8d8bd73fb Update go to 1.2.
Follow the example of OpenBSD ports and do not run the tests while building.
They are flaky under the Makefile harness for some reason.
2013-12-15 21:50:34 +00:00
bsiegert
328b115921 Update go to 1.1.2.
go1.1.2 (released 2013/08/13) includes fixes to the gc compiler and cgo,
and the bufio, runtime, syscall, and time packages. See the change
history for details. If you use package syscall's Getrlimit and
Setrlimit functions under Linux on the ARM or 386 architectures, please
note change 55ac276af5a7 that fixes issue 5949.

This is a leaf package, so it should be ok during the freeze.
2013-09-24 20:53:48 +00:00