Go is an open source programming environment that makes it easy to build
simple, reliable, and efficient software.
FreeBSD allows you to install multiple versions of Go at the same time.
As a result, this package installs only versioned binaries (i.e. goXYZ,
gofmtXYZ). To get unversioned names (go, gofmt, etc.) install the "go"
package or the lang/go port.
===> The following configuration options are available for go124-1.24.13:
====> Options available for the single GOAMD64: you have to select exactly one of them
V1=on: Use baseline x86-64 instruction set
V2=off: V1 instructions plus CMPXCHG16B, LAHF, SAHF, POPCNT, SSE*
V3=off: V2 instructions plus AVX*, BMI*, F16C, FMA, LZCNT, MOVBE, OSXSAVE
V4=off: V3 instructions plus AVX512*
===> Use 'make config' to modify these settings
lang/go124: Update to 1.24.13
Changes: go1.24.13 (released 2026-02-04) includes security fixes to the
go command and the crypto/tls package, as well as bug fixes to the
crypto/x509 package. See the Go 1.24.13 milestone on our issue tracker
for details.
lang/go: Add bsd.go.mk and use it for go124 and go125
Previously, we used lang/go-devel as a MASTERDIR, but go-devel itself
was really old (essentially 3 years old), and Go doesn't have the
concept of a public "development" version anymore.
Rather than tying modern Go ports to a vestigial version that nobody
should actually use, this commit adds a bsd.go.mk that Go ports can
include. This allows us to get lang/go* Makefiles down to 3 lines.
While here, extend the pkg-descr for both lang/go and the lang/go1*
ports to help users understand what's installing what.
This "new" framework (gently modified from go-devel/Makefile, so all
credit goes to everyone involved in creating that file) provides for
a default pkg-descr, but keeps each port responsible for its own
patches.
No functional changes are intended other than a slightly extended
pkg-descr (not even important enough to bump PORTREVISIONs here). Any
change in behaviour is a bug.
lang/go124: Update to 1.24.12
Changes:
go1.24.12 (released 2026-01-15) includes security fixes to the go
command, and the archive/zip, crypto/tls, and net/url packages, as well
as bug fixes to the compiler, the runtime, and the crypto/tls and os
packages.
lang/go124: Update to 1.24.11
Changes: go1.24.11 (released 2025-12-02) includes two security fixes
to the crypto/x509 package, as well as bug fixes to the
runtime. See the Go 1.24.11 milestone on our issue tracker
for details.
lang/go124: Update to 1.24.10
Changes: go1.24.10 (released 2025-11-05) includes fixes to the
encoding/pem and net/url packages. See the Go 1.24.10 milestone on
our issue tracker for details.
lang/go-devel: move portscout to master port
Implements PORTSCOUT for all lang/go1* ports.
PR: 290231
Fixes: c6297af4eff5e120d01d0c86c2d25d49418f389e "lang/go12[45]: silence
portscout"
lang/go12[45]: silence portscout
Because this does not make sense:
Port | Current version | New version
------------------------------------------------+-----------------+------------
lang/go124 | 1.24.8 | 1.25.3
------------------------------------------------+-----------------+------------
And pet portclippy in the meantime by reordering some variables.
lang/go124: Update to 1.24.9
Changes: go1.24.9 (released 2025-10-13) includes fixes to the
crypto/x509 package. See the Go 1.24.9 milestone on our issue tracker
for details.
lang/go124: Update to 1.24.8
Changes:
go1.24.8 (released 2025-10-07) includes security fixes to the
archive/tar, crypto/tls, crypto/x509, encoding/asn1, encoding/pem,
net/http, net/mail, net/textproto, and net/url packages, as well as bug
fixes to the compiler, the linker, and the debug/pe, net/http, os, and
sync/atomic packages. See the Go 1.24.8 milestone on our issue tracker
for details.
lang/go124: Update to 1.24.6
While here:
1) golang.org now points to go.dev (see Review below, thanks
to Meng Zhuo)
2) Update the bootstrap version to bring in various compiler
improvements.
Changes:
go1.24.6 (released 2025-08-06) includes security fixes to the
database/sql and os/exec packages, as well as bug fixes to the
runtime. See the Go 1.24.6 milestone (follows) on our issue tracker
for details.
https://github.com/golang/go/issues?q=milestone%3AGo1.24.6+label%3ACherryPickApproved
Differential Revision: https://reviews.freebsd.org/D50595
lang/go124: Update to 1.24.5
From upstream:
go1.24.5 (released 2025-07-08) includes security fixes to the go
command, as well as bug fixes to the compiler, the linker, the
runtime, and the go command. See the Go 1.24.5 milestone on our issue
tracker for details.
lang/go124: Update to 1.24.4
go1.24.4 (released 2025-06-05) includes security fixes to the
crypto/x509, net/http, and os packages, as well as bug fixes to the
linker, the go command, and the hash/maphash and os packages. See the Go
1.24.4 milestone on our issue tracker for details.
lang/go-devel: fix a4327166148114c314ae5dd6f9c7e6776178e0ac
There was a typo in the initial commit
Also the glob is on the file name not on the path, to use the hammer
and a wild glob, anyway golang has no external dependencies anyway
lang/go{120,121,122,123,-devel}: Revert "Stop install Linux test binaries"
This reverts commit a9d50d18293658481ab9badf19ddc0dda84628b0.
A better solution was committed in a4327166148114c314ae5dd6f9c7e6776178e0ac
PR: 285151
Reported by: fuz