diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-07-17 09:45:29 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-07-23 21:15:03 +0100 |
| commit | bfed370071e0857b2ad31cc0641b2225a06ab488 (patch) | |
| tree | 5fd54921e61a0360041247ce6a2160228da0f655 /gnu | |
| parent | a73910977d3235e34134095b4b1664233ff1755c (diff) | |
gnu: go-1.25: Update to 1.25.12 [security-fixes].
go1.25.12 (released 2026-07-07) includes security fixes to the
crypto/tls and os packages, as well as bug fixes to the compiler, the go
command, and the net and os packages.
See: <https://github.com/golang/go/milestone/438>,
<https://groups.google.com/g/golang-announce/c/OrmQE_Yp5Sc>.
Contains fixes for:
CVE-2026-39822: os: Root escape via symlink plus trailing slash
CVE-2026-42505: crypto/tls: Encrypted Client Hello privacy leak
* gnu/packages/golang.scm (go-1.25): Update to 1.25.12.
[phases]{remove-testscript-mod_get_fips140_issue73649.txt}: New phase,
remove test script file requiring connection to Internet.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/golang.scm | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a6825bbc511..469070e9f69 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm | |||
| @@ -1087,7 +1087,7 @@ in the style of communicating sequential processes (@dfn{CSP}).") | |||
| 1087 | (package | 1087 | (package |
| 1088 | (inherit go-1.24) | 1088 | (inherit go-1.24) |
| 1089 | (name "go") | 1089 | (name "go") |
| 1090 | (version "1.25.11") | 1090 | (version "1.25.12") |
| 1091 | (source | 1091 | (source |
| 1092 | (origin | 1092 | (origin |
| 1093 | (method git-fetch) | 1093 | (method git-fetch) |
| @@ -1096,7 +1096,7 @@ in the style of communicating sequential processes (@dfn{CSP}).") | |||
| 1096 | (commit (string-append "go" version)))) | 1096 | (commit (string-append "go" version)))) |
| 1097 | (file-name (git-file-name name version)) | 1097 | (file-name (git-file-name name version)) |
| 1098 | (sha256 | 1098 | (sha256 |
| 1099 | (base32 "0l9z57fzjca7z038yxkkxc42f18hcnznbfd3cq4ipng9cp5l2zfc")))) | 1099 | (base32 "13191v8vixwf9a1yrn7hz828xfgdgm5dxx4vp0h4s0bzl4rzjn32")))) |
| 1100 | (arguments | 1100 | (arguments |
| 1101 | (substitute-keyword-arguments (package-arguments go-1.24) | 1101 | (substitute-keyword-arguments (package-arguments go-1.24) |
| 1102 | ((#:phases phases) | 1102 | ((#:phases phases) |
| @@ -1109,6 +1109,13 @@ in the style of communicating sequential processes (@dfn{CSP}).") | |||
| 1109 | (substitute* "src/runtime/synctest_test.go" | 1109 | (substitute* "src/runtime/synctest_test.go" |
| 1110 | (("TestSynctest\\(.*" all) | 1110 | (("TestSynctest\\(.*" all) |
| 1111 | (string-append all "\n t.Skip(\"golang.org/issue/73977\")\n"))))) | 1111 | (string-append all "\n t.Skip(\"golang.org/issue/73977\")\n"))))) |
| 1112 | (add-after 'unpack 'remove-testscript-mod_get_fips140_issue73649.txt | ||
| 1113 | (lambda _ | ||
| 1114 | ;; vcs-test.golang.org rerouted to http://127.0.0.1:46381 | ||
| 1115 | ;; https://vcs-test.golang.org rerouted to https://127.0.0.1:44403 | ||
| 1116 | ;; go test proxy running at GOPROXY=http://127.0.0.1:40005/mod | ||
| 1117 | ;; 2026/07/17 10:05:01 http: TLS handshake error from 127.0.0.1:33040: EOF | ||
| 1118 | (delete-file "src/cmd/go/testdata/script/mod_get_fips140_issue73649.txt"))) | ||
| 1112 | #$@(if (target-aarch64?) | 1119 | #$@(if (target-aarch64?) |
| 1113 | '((add-after 'unpack 'skip-shaky-tests-on-aarch64-system | 1120 | '((add-after 'unpack 'skip-shaky-tests-on-aarch64-system |
| 1114 | (lambda _ | 1121 | (lambda _ |
