Version: 1.16.2, Package name: go-1.16.2 |
Maintained by: Joel Sing |
Master sites: |
Flavors (export FLAVOR=xyz, setenv FLAVOR xyz):
|
Description The Go programming language is an open source project to make programmers more productive. Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language. |
Filesize: 20415.171 KB |
Version History (View Complete History) |
|
2021-03-23 07:19:08 by Aaron Bieber | Files touched by this commit (1) |
Log message: modgo-gen-modules should use MODGO_MODNAME instead of ALL_TARGET. |
2021-03-18 16:35:26 by Stuart Henderson | Files touched by this commit (1) |
Log message: teach go.port.mk to handle repos with a primary executable in the root and ancillaries in cmd/, from Josh Rickmar with a tweak from Mikolaj Kucharski. earlier version ok abieber, I tested all go ports. |
2021-03-12 10:36:22 by Joel Sing | Files touched by this commit (3) |
Log message: Update lang/go to 1.16.2 |
2021-03-02 10:56:41 by Joel Sing | Files touched by this commit (33) |
Log message: Switch lang/go to libc-based syscalls on armv7 and i386. This is already the case for amd64 and arm64 in Go 1.16. The conversion of the remaining architectures is still being upstreamed. |
2021-02-24 07:44:15 by Marc Espie | Files touched by this commit (1) |
Log message: fix indentation of Makefile tests, this is already complicated enough without bogus indents |
2021-02-23 10:32:57 by Joel Sing | Files touched by this commit (2) |
Log message: Switch lang/go on i386 to use a binary bootstrap. This allows us to build with GO386=softfloat. Discussed with abieber@ and sthen@ |
2021-02-23 08:45:05 by Stuart Henderson | Files touched by this commit (1) |
Log message: add a "native_bootstrap" pseudo-flavour, similar to jdk's, allowing build with an existing installed go package. tweak/ok jsing@ |
2021-02-21 10:21:42 by Joel Sing | Files touched by this commit (2) |
Log message: Add binary bootstrap for mips64/octeon. |
2021-02-21 09:49:11 by Joel Sing | Files touched by this commit (2) |
Log message: Bump lang/go binary bootstraps to Go 1.16. |
2021-02-20 08:13:56 by Joel Sing | Files touched by this commit (1) |
Log message: s/maching/machine/ |
2021-02-20 07:56:34 by Aaron Bieber | Files touched by this commit (4) |
Log message: Update Go to 1.16. OK jsing@ |
2021-02-14 16:35:22 by Aaron Bieber | Files touched by this commit (1) |
Log message: Stop overwriting DISTFILES. This was an oversite on my part. Pointed out by sthen@. Tested with a mini-go-bulk. |
2021-01-21 07:47:16 by Aaron Bieber | Files touched by this commit (3) |
Log message: Update Go to 1.15.7 OK jsing@ |
2021-01-16 16:38:13 by Aaron Bieber | Files touched by this commit (1) |
Log message: Teach go.port.mk and Go.pm how to escape modules that contain uppercase letters. OK kn, make magic from espie/naddy, feedback from afresh1 and sthen. |
2020-11-25 08:23:49 by Stuart Henderson | Files touched by this commit (1) |
Log message: For MODGO_MODULES ports, don't point the port to fetch files directly from /usr/ports/distfiles when it wants to unpack modules during the build, instead copy the files into the WRKDIR and point it there. If there was a mistake with setting up MODGO_MODULES/MODGO_MODFILES in a port then this change will cause it to show up in build, otherwise it may succeed or fail randomly depending on what files are present in distfiles (fetched by other ports). |
2020-10-09 07:23:51 by Paco Esteban | Files touched by this commit (1) |
Log message: new target modgo-gen-modules for lang/go It generates the lists for MODGO_MODULES and MODGO_MODFILES Useful to update go ports. ok abieber@ |
2020-09-27 10:48:57 by Joel Sing | Files touched by this commit (3) |
Log message: Update lang/go to 1.15.2. ok abieber@ naddy@ |
2020-08-21 16:12:24 by Aaron Bieber | Files touched by this commit (3) |
Log message: Update Go to 1.15. OK jsing@ |
2020-07-20 05:34:52 by Stuart Henderson | Files touched by this commit (1) |
Log message: regen plist to unbreak packaging on !amd64 |
2020-07-17 12:19:18 by Aaron Bieber | Files touched by this commit (9) |
Log message: Bump Go to 1.15beta1. - Add a permissions fix from sthen@ - Remove patches as they are not needed now Tested on amd64, arm64, armv7 and i386 (ty sthen!). armv7 has an intermittent issue with tests. OK sthen, jsing |
2020-06-25 07:57:45 by Aaron Bieber | Files touched by this commit (1) |
Log message: Add the ability to follow redirected dependencies. - De-duplicate our .mod and .zip files. - Move chdir to a child process. - Break MODGO_MODULES and MODGO_MODFILES values into their own lines for easier reading. |
2020-06-08 07:16:27 by Paco Esteban | Files touched by this commit (1) |
Log message: add FIX_CLEANUP_PERMISSIONS and enable it by default on go.port.mk when using MODGO_MODNAME. This is needed to work around this issue: https://github.com/golang/go/issues/27455 which makes `make clean` because of the restrictive permissions. input and corrections from sthen@ and jca@ ok sthen@ jca@ espie@ |
2020-05-17 07:08:20 by Antoine Jacoutot | Files touched by this commit (1) |
Log message: No need to extract the zip modules either, go takes care of it. prodded by and ok abieber@ |
2020-05-17 04:31:50 by Antoine Jacoutot | Files touched by this commit (1) |
Log message: Do not extract mod files. |
2020-05-17 04:08:36 by Antoine Jacoutot | Files touched by this commit (1) |
Log message: SUPDISTFILES is never added to DISTFILES so "make fetch" will not get them. Move to DISTFILES directly; to be revisited once the go folks are awake but it should at least fix the breakage seen by naddy@ for now. |
2020-05-14 19:32:48 by Aaron Bieber | Files touched by this commit (1) |
Log message: Teach portgen how to speak Go! With this a port can be easily generated for Go applications that support Go modules (there will be a go.mod file in the root of the project). For example: https://github.com/jrick/domain/blob/master/go.mod The mod file lists "github.com/jrick/domain" as the module name, so a portgen command to build the above tool would be: portgen go github.com/jrick/domain OK afresh1@ kmos@ |
2020-03-20 05:23:08 by Joel Sing | Files touched by this commit (2) |
Log message: Update lang/go binary bootstrap to a version that contains no ops following swi instructions on openbsd/arm. |
2020-03-20 03:04:07 by Joel Sing | Files touched by this commit (3) |
Log message: Update lang/go to 1.13.9. |
2020-03-20 02:02:29 by Joel Sing | Files touched by this commit (3) |
Log message: Add two no op instructions following swi for Go on openbsd/arm. arm processors have the same speculative execution flaw that occurs across a syscall boundary, which was previously addressed in the arm64 port. |
2020-03-06 08:26:18 by Marc Espie | Files touched by this commit (4) |
Log message: simpler SEPARATE_BUILD semantics |
2020-02-23 07:28:44 by Joel Sing | Files touched by this commit (2) |
Log message: Update lang/go binary bootstrap to a version that contains no ops following svc instructions on openbsd/arm64. |
2020-02-04 10:22:42 by Joel Sing | Files touched by this commit (3) |
Log message: Add two no op instructions following svc for Go on openbsd/arm64. All except some of the most recent arm64 processors have a speculative execution flaw that occurs across a syscall boundary, which cannot be mitigated in the kernel. In order to protect against this leak a speculation barrier needs to be placed after an svc instruction. In order to avoid the performance impact of these instructions, the kernel will soon start returning execution two instructions past the svc call. For now two hardware no ops are added, which allows syscalls to work with both old and new kernels. Once the kernel is cut over the no ops can be replaced with actual speculation barriers. Discussed at length with deraadt@ |
2020-01-30 10:11:08 by Joel Sing | Files touched by this commit (2) |
Log message: Update lang/go to 1.13.7. |
2020-01-26 01:14:01 by Joel Sing | Files touched by this commit (2) |
Log message: Update lang/go to 1.13.6. |
2020-01-01 06:03:40 by Joel Sing | Files touched by this commit (4) |
Log message: Update lang/go to 1.13.5. |
2019-12-02 15:20:38 by Stuart Henderson | Files touched by this commit (1) |
Log message: actually pass ${MAKE_ENV}, GO386=387 wasn't getting correctly passed through for lang/go itself (though was working for ports built using go.port.mk). |
2019-11-19 02:30:40 by Stuart Henderson | Files touched by this commit (1) |
Log message: include REVISION in PKGSPEC, to trigger updates in dependent packages due to the i386 SSE->387 change |
2019-11-19 02:17:06 by Stuart Henderson | Files touched by this commit (2) |
Log message: On i386, currently go autodetects SSE at build time, and produces binaries appropriate for the build machine. This doesn't work for package builds where packages are produced on a machine with SSE but are expected to work on machines without. Set GO386=387 during the build to disable this. OK/improved comment from jsing@. |
2019-10-24 10:22:07 by Joel Sing | Files touched by this commit (3) |
Log message: Update lang/go to 1.13.3. This includes security fixes released in 1.13.2. |
2019-10-06 09:37:15 by Stuart Henderson | Files touched by this commit (2) |
Log message: fix MODGO_PACKAGES and MODGO_TOOLS arch name on aarch64 machines (using the same arch conversion list as done in the lang/go port itself; add a comment reminding to keep them in-sync). unbreaks packaging of the few golang ports that actually build on aarch64. |
2019-10-04 11:02:11 by Joel Sing | Files touched by this commit (2) |
Log message: Update lang/go to 1.13.1. This addresses a security issue in net/http. ok naddy@ |
2019-09-27 13:04:57 by Theo Buehler | Files touched by this commit (1) |
Log message: Make tests work with PORTS_PRIVSEP=Yes. |
2019-09-14 20:04:00 by Joel Sing | Files touched by this commit (1) |
Log message: Set GO111MODULE=off via go.port.mk to prevent external access being attempted during builds. Fixes several other packages that break during build. ok sthen@ |
2019-09-14 20:00:35 by Joel Sing | Files touched by this commit (2) |
Log message: Enable Go on aarch64/arm64. ok phessler@ |
2019-09-14 15:30:41 by Stuart Henderson | Files touched by this commit (1) |
Log message: poison GOPROXY in the environment during ports build, ports aren't allowed to access the network at build time and this makes failures obvious even if you don't use (recommended) PORTS_PRIVSEP. |
2019-09-13 03:04:07 by Joel Sing | Files touched by this commit (2) |
Log message: Update the lang/go binary bootstrap to Go 1.13. |
2019-09-12 12:48:30 by Joel Sing | Files touched by this commit (6) |
Log message: Update lang/go to Go 1.13. ok abieber@ sthen@ |
2019-09-04 06:22:03 by Martijn van Duren | Files touched by this commit (1) |
Log message: Add support for MODGO_BINDIR to allow go applications to be installed in an alternative location. Still defaults to bin/. OK sthen@ |
2019-08-14 02:23:28 by Joel Sing | Files touched by this commit (2) |
Log message: Update lang/go to 1.12.8. This includes security fixes to the net/http and net/url packages. |
2019-07-12 14:47:59 by Stuart Henderson | Files touched by this commit (874) |
Log message: replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes |
2019-07-09 11:54:46 by Joel Sing | Files touched by this commit (3) |
Log message: Update lang/go to Go 1.12.7. |
2019-05-07 10:33:42 by Joel Sing | Files touched by this commit (3) |
Log message: Update lang/go to 1.12.5 |
2019-05-04 15:46:17 by Stuart Henderson | Files touched by this commit (5) |
Log message: No need for a special MODGO_ENV for go.port.mk, just use normal MAKE_ENV like the rest of the ports tree. This also allows removing a bunch of manual setting of PATH="${PORTPATH}" HOME="${PORTHOME}" done in various ports etc. This also makes sure CFLAGS is passed through (not everything honours it but it does improve at least some ports). Remove NO_CCACHE from www/honk that was added because the above problem resulted in ccache variables not being passed through correctly breaking the cc calls in this. ok kmos@ |
2019-05-04 09:03:15 by Joel Sing | Files touched by this commit (1) |
Log message: Ensure GOCACHE refers to a suitable location when building Go. Issue found and fix verified by phessler@ |
2019-04-19 01:15:36 by Joel Sing | Files touched by this commit (2) |
Log message: Build lang/go for openbsd/arm using a binary bootstrap. With input from and ok sthen@. |
2019-04-15 11:14:14 by Joel Sing | Files touched by this commit (3) |
Log message: Update lang/go to 1.12.4. |
2019-03-16 09:01:31 by Joel Sing | Files touched by this commit (3) |
Log message: Update lang/go to version 1.12.1. |
2019-03-16 07:37:29 by Joel Sing | Files touched by this commit (5) |
Log message: Update lang/go to version 1.12. ok sthen@ |
2019-03-16 07:36:01 by Joel Sing | Files touched by this commit (1) |
Log message: Go 1.12 requires GOCACHE to be enabled - update go.port.mk appropriately. ok sthen@ |
2019-02-09 08:09:19 by Joel Sing | Files touched by this commit (2) |
Log message: Use hw.ncpuonline rather than hw.ncpu to determine how many threads to run. Prompted by tedu@ |
2019-01-29 07:25:28 by Joel Sing | Files touched by this commit (2) |
Log message: Update lang/go to 1.11.5. This includes a security fix to the crypto/elliptic package. |
2019-01-05 05:59:25 by Joel Sing | Files touched by this commit (3) |
Log message: Allow weak symbols to be duplicated when already defined. When -mretpoline is enabled with clang, a __llvm_retpoline_r11 weak symbol is emitted in each compilation unit. This results in the Go linker complaining when processing a package archive that contains cgo linkages, since it finds the same weak symbol defined in multiple object files. Relax the duplicate symbol detection such that weak symbols are permitted to be duplicated. This makes it possible to build Go with clang again and addresses a similar duplicate weak symbol issue that results from retguard. Also backport an upstream commit that corrects the handling of libgcc vs libcompiler_rt. Combined with the above fix `make regress` now passes with both gcc and clang. |
2018-12-15 07:54:41 by Joel Sing | Files touched by this commit (3) |
Log message: Update lang/go to version 1.11.4. This minor revision update includes various fixes, three of which address security related issues. |
2018-11-04 13:49:46 by Joel Sing | Files touched by this commit (3) |
Log message: Update lang/go to 1.11.2. |
2018-09-23 11:19:11 by Joel Sing | Files touched by this commit (19) |
Log message: Update lang/go to 1.11. |
2018-05-21 15:11:27 by Stuart Henderson | Files touched by this commit (1) |
Log message: move MODGO_FLAGS+=-x under the DEBUG .if - as jsing pointed out a while ago, output from this is really very noisy. since the build with no flags is silent, add -v as a middle ground by defaulot, so you can see that something is happening during the build, but without so much console spam. ok jasper@ |
2018-05-10 12:39:35 by Klemens Nanni | Files touched by this commit (2) |
Log message: Simplify do-install, combine/improve find calls, clean up whitespace nits. No package change. OK jsing, jca |
2018-04-06 07:01:39 by Klemens Nanni | Files touched by this commit (4) |
Log message: Update to go 1.10.1 OK jsing |
2018-04-05 23:56:44 by Joel Sing | Files touched by this commit (2) |
Log message: Update PLIST for lang/go MAP_STACK change. The MAP_STACK patches create a new source file, however the PLIST was not updated to include it. Found the hard way by abieber@ and nigel@ |
2018-04-05 12:38:38 by Joel Sing | Files touched by this commit (17) |
Log message: Make go work with MAP_STACK. |
2018-03-14 08:14:36 by Joel Sing | Files touched by this commit (7) |
Log message: Update lang/go to Go 1.10. ok jasper@ |
2018-03-14 08:12:02 by Joel Sing | Files touched by this commit (1) |
Log message: Tweak go.port.mk for Go 1.10. - Disable the Go 1.10 test caching via GOCACHE - this seems to interact badly with the ports build infrastructure and does not provide any real benefit in this environment. - Provide a MODGO_TEST_FLAGS variable that allows ports to specify test flags. ok jasper@ |
2017-09-03 09:42:25 by Joel Sing | Files touched by this commit (15) |
Log message: Update lang/go to version 1.9. ok ajacoutot@ jasper@ |
2017-08-31 11:05:19 by Joel Sing | Files touched by this commit (3) |
Log message: Fix compiler flag handling and --print-libgcc-file-name hack, now that clang is installed as cc. Allows regress pass again. |
2017-06-04 12:04:03 by Joel Sing | Files touched by this commit (4) |
Log message: Make lang/go work with clang. This requires three changes: - OpenBSD clang produces __guard_local symbols that are marked as hidden, which causes problems with the go linker. Workaround this by explicitly making __guard_local symbols visible when reading in an ELF object. - OpenBSD clang currently fails to correctly report the compiler runtime via --print-libgcc-file-name. Workaround this issue by hardcoding it for the time being. - The TestCgoConsistentResults test passes successfully outside of ports, however fails under a ports build. This requires further investigation but we can just skip the test for now. |
2017-05-27 05:18:27 by Pierre-Emmanuel Andre | Files touched by this commit (3) |
Log message: Update to 1.8.3 ok jsing@ |
2017-05-24 14:18:14 by Pierre-Emmanuel Andre | Files touched by this commit (2) |
Log message: Security update to 1.8.2 (CVE-2017-8932) ok jsing@ |
2017-04-22 03:55:16 by Antoine Jacoutot | Files touched by this commit (1) |
Log message: Use MODGO_post-patch instead of checking for an existing post-patch target. This will allow go ports to setup a post-patch target when needed. ok czarkoff@ |
2017-04-10 10:50:19 by Joel Sing | Files touched by this commit (3) |
Log message: Update lang/go to 1.8.1. |
2017-02-26 13:05:12 by Stuart Henderson | Files touched by this commit (1) |
Log message: unbreak !amd64 packaging, duplicate item in packing-list: -go/src/cmd/vet/all/whitelist${GOCFG}.txt +go/src/cmd/vet/all/whitelist/openbsd_amd64.txt |
2017-02-23 08:57:42 by Joel Sing | Files touched by this commit (19) |
Log message: Update lang/go to version 1.8. ok ajacoutot@ |
2017-02-19 07:07:26 by Antoine Jacoutot | Files touched by this commit (1) |
Log message: Export PATH so that things using cgo don't die with, for e.g. exec "cc" not found in path s/PATH/PORTPATH/ from sthen@ ok jsing@ sthen@ |
2017-01-30 09:58:40 by Antoine Jacoutot | Files touched by this commit (1) |
Log message: Split -ldflags="-s -w" from MODGO_FLAGS and instead: - create a new MODGO_LDFLAGS variable - set MODGO_LDFLAGS to "-s -w" by default (no DEBUG) - add -ldflags="${MODGO_LDFLAGS}" to the build and test CMDs if MODGO_LDFLAGS is defined ok czarkoff@ jsing@ |
2016-12-06 08:40:09 by Joel Sing | Files touched by this commit (4) |
Log message: Update lang/go to 1.7.4. This release addresses a security issue with net/http package's Request.ParseMultipartForm method: https://golang.org/doc/devel/release.html#go1.7.minor ok jasper@ |
2016-08-21 08:08:25 by Dmitrij Czarkoff | Files touched by this commit (2) |
Log message: make go libraries build- and run-depend on particular version of lang/go Go libraries should be rebuilt on every lang/go update. This change adds runtime dependency on lang/go for ports with "lib" in MODGO_TYPE, and tunes PKGSPEC to force dependency on exact version of go. OK jsing@, "makes sense" sthen@ |
2016-08-18 11:23:03 by Joel Sing | Files touched by this commit (11) |
Log message: Upgrade lang/go to 1.7. ok czarkoff@ pea@ |
2016-08-03 03:34:10 by Antoine Jacoutot | Files touched by this commit (1) |
Log message: Properly strip go binaries when !DEBUG. On big executables, size drops by ~40%. with and ok czarkoff@ |
2016-07-20 09:52:14 by Pierre-Emmanuel Andre | Files touched by this commit (2) |
Log message: Security update to 1.6.3 (CVE-2016-5386) ok jsing@, naddy@ |
2016-06-27 09:57:17 by Joel Sing | Files touched by this commit (9) |
Log message: Update lang/go to handle the sys_thrkill/sys_kill change. Partially based on a diff from Ray Lai. |
2016-05-20 19:39:36 by Dmitrij Czarkoff | Files touched by this commit (1) |
Log message: Allow single go port install both binaries and libraries OK jsing@ kspillner@ |
2016-05-20 10:03:24 by Joel Sing | Files touched by this commit (4) |
Log message: Update lang/go to 1.6.2. |
2016-05-16 07:50:02 by Joel Sing | Files touched by this commit (7) |
Log message: Allow lang/go to generate PT_TLS when cgo is used on OpenBSD. This makes Go 1.6 pass regress on openbsd/386 and openbsd/amd64. Also stop exporting environ and __progname from cgo, since these symbols are no longer required by libc. |
2016-05-13 07:49:26 by Joel Sing | Files touched by this commit (3) |
Log message: Stop using sigreturn from the Go openbsd/386 signal trampoline - the sigreturn syscall is going away in future versions of OpenBSD and its use for Go is already broken due to the trampoline return checks. Instead just return directly from the signal trampoline (as we have always done for Go openbsd/amd64). Also fix a bug in the Go openbsd/386 linker, which results in symbols in the dynamic symbol table being emitted with a size of zero. With a current ld.so, this results in symbol mismatch warnings. Unbreaks the Go port on openbsd/386, however it still fails to pass regress due to the PT_TLS changes. |
2016-05-13 00:43:37 by Jasper Lievisse Adriaanse | Files touched by this commit (1) |
Log message: bump MODGO_BUILD_DEPENDS to lang/go>=1.6 some ports that used to depend on GO15VENDOREXPERIMENT=1 need 1.6 or they won't build as the usage of that variable has been removed in their Makefiles. ok czarkoff@ sthen@ |
2016-05-11 09:19:04 by Dmitrij Czarkoff | Files touched by this commit (3) |
Log message: update to go 1.6 OK jsing (MAINTAINER) |
2016-05-08 06:29:17 by Dmitrij Czarkoff | Files touched by this commit (3) |
Log message: simplify MODGO_CMD environment customization Clear user's environment with SETENV and provide MODGO_ENV for adding variables to environment and MODGO_GOPATH for altering GOPATH. OK ajacoutot@, jasper@, kspillner@ |
2016-05-06 04:04:00 by Dmitrij Czarkoff | Files touched by this commit (1) |
Log message: use INSTALL_DATA instead of cp for go libraries OK ajacoutot@ sthen@ |
2016-05-05 04:46:50 by Dmitrij Czarkoff | Files touched by this commit (5) |
Log message: Set INSTALL_STRIP= for go ports OK ajacoutot@, sthen@ |
2016-04-14 11:45:33 by Juan Francisco Cantero Hurtado | Files touched by this commit (2) |
Log message: Update to go 1.5.4. OK jasper@ jsing@ (MAINTAINER). https://groups.google.com/forum/#!topic/golang-announce/9eqIHqaWvck "Go's crypto libraries passed certain parameters unchecked to the underlying big integer library, possibly leading to extremely long-running computations, which in turn makes Go programs vulnerable to remote denial of service attacks. Programs using HTTPS client certificates or the Go SSH server libraries are both exposed to this vulnerability. This is CVE-2016-3959 and was addressed by this change: https://golang.org/cl/21533 Thanks to David Wong for identifying this issue." |
2016-04-14 11:43:26 by Juan Francisco Cantero Hurtado | Files touched by this commit (3) |
Log message: Update to go 1.5.4. OK jasper@ jsing@ (MAINTAINER). https://groups.google.com/forum/#!topic/golang-announce/9eqIHqaWvck "Go's crypto libraries passed certain parameters unchecked to the underlying big integer library, possibly leading to extremely long-running computations, which in turn makes Go programs vulnerable to remote denial of service attacks. Programs using HTTPS client certificates or the Go SSH server libraries are both exposed to this vulnerability. This is CVE-2016-3959 and was addressed by this change: https://golang.org/cl/21533 Thanks to David Wong for identifying this issue." |
2016-02-28 06:24:16 by Dmitrij Czarkoff | Files touched by this commit (1) |
Log message: Fix MODGO_INSTALL_TARGET so that timestamps would be preserved. This should fix issue with go ports rebuilding their dependencies and failing to install them. Based on input from Nigel Taylor. OK ajacoutot@ |
2016-01-14 08:03:08 by Joel Sing | Files touched by this commit (1) |
Log message: Rework go.port.mk to install packages in /usr/local/go-pkg and build without -a, -work and without running things through sed and piping to shell: - Install additional packages under /usr/local/go-pkg and include this in GOPATH when building. Go considers anything under the GOROOT to be part of the standard library, which introduces various problems. In particular they do not get rebuilt without the -a flag. - Using 'go build -a' is unnecessary (at least now that we're not installing in GOROOT). Furthermore, the semantics of -a have changed between go1.4 and go1.5. In go1.4 the standard library was excluded from the -a flag whereas for go1.5 it does mean all dependencies including the standard library (this was the same for go1.3). However, there is already blanket 'do not rebuild standard library packages' in place when the -a flag is NOT specified. - Avoid -work since it leaves the work directory behind and nothing is currently cleaning it up. - Overall, avoid running 'go install -x' and piping the results through sed and sh. Firstly, 'go install -x' is already running those commands, then they're being run a second time around via sh. Secondly, there are cases where replacing GOROOT is incorrect. ok jasper@ sthen@ kspillner@ czarkoff@ |
2016-01-14 05:11:50 by Joel Sing | Files touched by this commit (2) |
Log message: Update lang/go to 1.5.3. This release addresses CVE-2015-8618. ok ajacoutot@ sthen@ |
2015-12-04 22:01:24 by Joel Sing | Files touched by this commit (10) |
Log message: Update to Go 1.5.2. This also installs in a manner that allows /usr/local/go to now be used for GOROOT_BOOTSTRAP, if building from source. ok jasper@ |
2015-08-22 02:19:06 by Jasper Lievisse Adriaanse | Files touched by this commit (2) |
Log message: backport various security fixes: - CVE-2015-5739, "Content Length" treated as valid header - CVE-2015-5740, Double content-length headers does not return 400 error - CVE-2015-5741, Additional hardening, not sending Content-Length w/Transfer-Encoding, Closing connections from upstream git ok jsing@ (MAINTAINER), czarkoff@ |
2015-08-19 01:02:31 by Jasper Lievisse Adriaanse | Files touched by this commit (2) |
Log message: backport various security fixes from upstream git: - CVE-2015-5739, "Content Length" treated as valid header - CVE-2015-5740, Double content-length headers does not return 400 error - CVE-2015-5741, Additional hardening, not sending Content-Length w/Transfer-Encoding, Closing connections ok jsing@ (MAINTAINER), czarkoff@ |
2015-08-19 00:57:20 by Jasper Lievisse Adriaanse | Files touched by this commit (6) |
Log message: backport various security fixes: - CVE-2015-5739, "Content Length" treated as valid header - CVE-2015-5740, Double content-length headers does not return 400 error - CVE-2015-5741, Additional hardening, not sending Content-Length w/Transfer-Encoding, Closing connections from upstream git ok jsing@ (MAINTAINER), czarkoff@ |
2015-08-11 14:16:21 by Jasper Lievisse Adriaanse | Files touched by this commit (1) |
Log message: add lang/go to CATEGORIES ok czarkoff@ |
2015-06-11 23:20:48 by Dmitrij Czarkoff | Files touched by this commit (1) |
Log message: Don't call go with "-a" flag when building binaries. Allow overriding MODGO_FLAGS in ports that need to do so. OK ajacoutot@, kspillner@, sthen@ |
2015-06-08 03:17:04 by Dmitrij Czarkoff | Files touched by this commit (5) |
Log message: Refactor lang/go module From port-modules(5): lang/go Adds Go toolchain support. Requires ALL_TARGET to be set to canonical Go import path of port. (Module sets it automatically for ports that use GH_ACCOUNT and GH_PROJECT macros.) During execution of post-patch target module moves source code from ${MODGO_SUBDIR} to ${WRKSRC}, subdirectory of ${MODGO_WORKSPACE} - specially-crafted Go workspace located at ${WRKDIR}/go. During do-build module calls ``go install'' with GOPATH set to ${MODGO_WORKSPACE}, runs its output through sed to prevent writes outside WRKDIR sandbox and sends output to sh(1). During do-install it copies executables from ${MODGO_WORKSPACE}/bin to ${PREFIX}/bin, and/or directories ${MODGO_WORKSPACE}/pkg and ${MODGO_WORKSPACE}/src to ${PREFIX}/go, depending on MODGO_TYPE contents. Sets BUILD_DEPENDS, RUN_DEPENDS, ALL_TARGET, TEST_TARGET, ONLY_FOR_ARCHS, SEPARATE_BUILD, and WRKSRC. Defines: MODGO_TYPE Type of port. May be any combination of: bin ordinary binary, which should be installed to ${PREFIX}/bin, lib library, which should come with source code. Defaults to bin. MODGO_WORKSPACE Path to Go workspace set up for port build process. Defaults to ${WRKDIR}/go. See Go documentation for details. MODGO_SUBDIR Path to Go source code within port's sources tarball. Defaults to ${WRKDIST}. MODGO_SETUP_WORKSPACE Commands setting up Go workspace for building ports. By default, happens during execution of post-patch target. MODGO_BUILDDEP Controls whether contents of MODGO_BUILD_DEPENDS are appended to port's BUILD_DEPENDS. Defaults to Yes. Additionally defines MODGO_PACKAGES, MODGO_SOURCES and MODGO_TOOLS (paths for installed Go packages, sources and tools respectively), MODGO_CMD and MODGO_FLAGS (source code build command and flags passed as its arguments), MODGO_BUILD_CMD and MODGO_TEST_CMD (commands for building and testing go packages; normally called with canonical Go package names as arguments), MODGO_{BUILD,INSTALL,TEST}_TARGET and MODGO_{BUILD,RUN}_DEPENDS. OK sthen@ |
2015-05-15 01:30:41 by Jasper Lievisse Adriaanse | Files touched by this commit (1) |
Log message: add beginnings for a golang module input and ok jsing@ kspillner@ sthen@ |
2015-05-06 02:28:26 by Jasper Lievisse Adriaanse | Files touched by this commit (2) |
Log message: update to go 1.4.2 - http://golang.org/doc/devel/release.html#go1.4.minor ok jsing@ |
2015-03-18 10:21:02 by Kent R. Spillner | Files touched by this commit (1) |
Log message: Switch to using GO_ARCHS. ok jsing@ |
2015-01-23 05:09:27 by Joel Sing | Files touched by this commit (3) |
Log message: Update lang/go to 1.4.1. ok sthen@ rpe@ |
2014-12-23 05:21:37 by Joel Sing | Files touched by this commit (7) |
Log message: Update lang/go to version 1.4. ok bmercer@ daniel@ sthen@ |
2014-10-26 07:07:14 by Joel Sing | Files touched by this commit (3) |
Log message: Update lang/go to 1.3.3. ok sthen@ |