Update to Go 1.23.6
Resolves: RHEL-83824
This commit is contained in:
parent
493d5c519a
commit
f8ef0eb3e0
2
.gitignore
vendored
2
.gitignore
vendored
@ -33,3 +33,5 @@ SOURCES/go1.19.4.tar.gz
|
||||
/go1.22.9-1-openssl-fips.tar.gz
|
||||
/go1.22.11.tar.gz
|
||||
/go1.22.11-1-openssl-fips.tar.gz
|
||||
/go1.23.6.tar.gz
|
||||
/go1.23.6-1-openssl-fips.tar.gz
|
||||
|
@ -1,48 +1,35 @@
|
||||
From 24aac090069f79307aeceb8362f60a3cc5e60f7f Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Alejandro=20S=C3=A1ez?= <asm@redhat.com>
|
||||
Date: Fri, 3 May 2024 17:25:19 +0200
|
||||
Subject: [PATCH] disable_static_tests_part1
|
||||
|
||||
---
|
||||
src/crypto/internal/backend/nobackend.go | 4 ++--
|
||||
src/crypto/internal/backend/openssl.go | 4 ++--
|
||||
src/crypto/internal/boring/goboringcrypto.h | 1 +
|
||||
src/crypto/internal/boring/syso/syso.go | 2 +-
|
||||
src/vendor/github.com/golang-fips/openssl/v2/goopenssl.h | 1 +
|
||||
5 files changed, 7 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/src/crypto/internal/backend/nobackend.go b/src/crypto/internal/backend/nobackend.go
|
||||
index 5b0e356dff..a2e17f7fa5 100644
|
||||
index 95c2cdc..88df624 100644
|
||||
--- a/src/crypto/internal/backend/nobackend.go
|
||||
+++ b/src/crypto/internal/backend/nobackend.go
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
-//go:build !linux || !cgo || android || cmd_go_bootstrap || msan || no_openssl
|
||||
-// +build !linux !cgo android cmd_go_bootstrap msan no_openssl
|
||||
+//go:build !linux || !cgo || android || cmd_go_bootstrap || msan || no_openssl || static || static
|
||||
+// +build !linux !cgo android cmd_go_bootstrap msan no_openssl static static
|
||||
-//go:build !linux || !cgo || android || cmd_go_bootstrap || msan || no_openssl || purego
|
||||
-// +build !linux !cgo android cmd_go_bootstrap msan no_openssl purego
|
||||
+//go:build !linux || !cgo || android || cmd_go_bootstrap || msan || no_openssl || purego || static
|
||||
+// +build !linux !cgo android cmd_go_bootstrap msan no_openssl purego static
|
||||
|
||||
package backend
|
||||
|
||||
diff --git a/src/crypto/internal/backend/openssl.go b/src/crypto/internal/backend/openssl.go
|
||||
index 3d3a9a36ee..7e32d3b0fa 100644
|
||||
index 297c3cb..1a4fa10 100644
|
||||
--- a/src/crypto/internal/backend/openssl.go
|
||||
+++ b/src/crypto/internal/backend/openssl.go
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
-//go:build linux && cgo && !android && !gocrypt && !cmd_go_bootstrap && !msan && !no_openssl
|
||||
-// +build linux,cgo,!android,!gocrypt,!cmd_go_bootstrap,!msan,!no_openssl
|
||||
+//go:build linux && cgo && !android && !gocrypt && !cmd_go_bootstrap && !msan && !no_openssl && !static
|
||||
+// +build linux,cgo,!android,!gocrypt,!cmd_go_bootstrap,!msan,!no_openssl,!static
|
||||
-//go:build linux && cgo && !android && !gocrypt && !cmd_go_bootstrap && !msan && !no_openssl && !purego
|
||||
-// +build linux,cgo,!android,!gocrypt,!cmd_go_bootstrap,!msan,!no_openssl,!purego
|
||||
+//go:build linux && cgo && !android && !gocrypt && !cmd_go_bootstrap && !msan && !no_openssl && !purego && !static
|
||||
+// +build linux,cgo,!android,!gocrypt,!cmd_go_bootstrap,!msan,!no_openssl,!purego,!static
|
||||
|
||||
// Package openssl provides access to OpenSSLCrypto implementation functions.
|
||||
// Check the variable Enabled to find out whether OpenSSLCrypto is available.
|
||||
diff --git a/src/crypto/internal/boring/goboringcrypto.h b/src/crypto/internal/boring/goboringcrypto.h
|
||||
index 2b11049728..dec1cb2851 100644
|
||||
index 2b11049..dec1cb2 100644
|
||||
--- a/src/crypto/internal/boring/goboringcrypto.h
|
||||
+++ b/src/crypto/internal/boring/goboringcrypto.h
|
||||
@@ -1,4 +1,5 @@
|
||||
@ -52,7 +39,7 @@ index 2b11049728..dec1cb2851 100644
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
diff --git a/src/crypto/internal/boring/syso/syso.go b/src/crypto/internal/boring/syso/syso.go
|
||||
index b3387545e6..db5ea1e3d9 100644
|
||||
index b338754..db5ea1e 100644
|
||||
--- a/src/crypto/internal/boring/syso/syso.go
|
||||
+++ b/src/crypto/internal/boring/syso/syso.go
|
||||
@@ -2,7 +2,7 @@
|
||||
@ -65,7 +52,7 @@ index b3387545e6..db5ea1e3d9 100644
|
||||
// This package only exists with GOEXPERIMENT=boringcrypto.
|
||||
// It provides the actual syso file.
|
||||
diff --git a/src/vendor/github.com/golang-fips/openssl/v2/goopenssl.h b/src/vendor/github.com/golang-fips/openssl/v2/goopenssl.h
|
||||
index e488bf2014..e776aa46a3 100644
|
||||
index e488bf2..e776aa4 100644
|
||||
--- a/src/vendor/github.com/golang-fips/openssl/v2/goopenssl.h
|
||||
+++ b/src/vendor/github.com/golang-fips/openssl/v2/goopenssl.h
|
||||
@@ -1,4 +1,5 @@
|
||||
@ -74,6 +61,3 @@ index e488bf2014..e776aa46a3 100644
|
||||
|
||||
#include <stdlib.h> // size_t
|
||||
|
||||
--
|
||||
2.44.0
|
||||
|
||||
|
@ -91,8 +91,8 @@
|
||||
%global gohostarch s390x
|
||||
%endif
|
||||
|
||||
%global go_api 1.22
|
||||
%global version 1.22.11
|
||||
%global go_api 1.23
|
||||
%global version 1.23.6
|
||||
%global pkg_release 1
|
||||
|
||||
Name: golang
|
||||
@ -523,6 +523,10 @@ cd ..
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Mar 13 2025 David Benoit <dbenoit@redhat.com> - 1.23.6-1
|
||||
- Update to Go 1.23.6
|
||||
- Resolves: RHEL-83824
|
||||
|
||||
* Tue Jan 21 2025 Archana <aravinda@redhat.com> - 1.22.11-1
|
||||
- Rebase to Go1.22.11 to pick up fixes for CVE 2024-45341 and 2024-45336
|
||||
- Fix test failures with expired certificates
|
||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
||||
SHA512 (go1.22.11.tar.gz) = 8a796d83c20230ad7897db89c0aae05468fff92d691870906e2df49d245d23175bb26c0423435de005d855b2e5115841fe22742eaef0771c85ebc60a69c10561
|
||||
SHA512 (go1.22.11-1-openssl-fips.tar.gz) = 9caa1eeaf5b0c98e0540b3a2009cc83eb0d58049b021eb5ea3f655a44932459adf58678baf1a40c5cdc4880c0acb862b7b938579f9226182ff0e30b885d44986
|
||||
SHA512 (go1.23.6.tar.gz) = 97c7a7112d833da9c280b44a6cdef6c75213d686f774610029fd9413079b316c40f20e868837ea187cca23f269b9ed8db6b2a2ec70e571da97b7daadc0b4f633
|
||||
SHA512 (go1.23.6-1-openssl-fips.tar.gz) = 9dfbc3d050fe8738d4affa31e26d0b8fbdcd0b112e9f03307f32f2ad6f49b7556dd7090f942e3ac7ef00b5714ee7be017df93c9105c2b92422e99e8d88ff7e98
|
||||
|
Loading…
Reference in New Issue
Block a user