|
|
|
@ -69,6 +69,7 @@
|
|
|
|
|
%global shared 0
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Pre build std lib with -race enabled
|
|
|
|
|
# Disabled due to 1.20 new cache usage, see 1.20 upstream release notes
|
|
|
|
|
%global race 0
|
|
|
|
|
|
|
|
|
@ -92,13 +93,16 @@
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global go_api 1.22
|
|
|
|
|
%global version 1.22.9
|
|
|
|
|
%global go_version 1.22.5
|
|
|
|
|
%global version %{go_version}
|
|
|
|
|
%global pkg_release 1
|
|
|
|
|
|
|
|
|
|
# LLVM compiler-rt version for race detector
|
|
|
|
|
%global llvm_compiler_rt_version 18.1.8
|
|
|
|
|
|
|
|
|
|
Name: golang
|
|
|
|
|
Version: %{version}
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: The Go Programming Language
|
|
|
|
|
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
|
|
|
|
|
License: BSD and Public Domain
|
|
|
|
@ -110,9 +114,10 @@ Source0: https://github.com/golang/go/archive/refs/tags/go%{version}.tar.
|
|
|
|
|
# located at https://github.com/golang-fips/openssl-fips,
|
|
|
|
|
# And pre-genetated patches to set up the module for a given
|
|
|
|
|
# Go release are located at https://github.com/golang-fips/go.
|
|
|
|
|
Source1: https://github.com/golang-fips/go/archive/refs/tags/go%{version}-%{pkg_release}-openssl-fips.tar.gz
|
|
|
|
|
Source1: https://github.com/golang-fips/go/archive/refs/tags/go%{version}-%{pkg_release}-openssl-fips.tar.gz
|
|
|
|
|
# make possible to override default traceback level at build time by setting build tag rpm_crashtraceback
|
|
|
|
|
Source2: fedora.go
|
|
|
|
|
Source3: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{llvm_compiler_rt_version}/compiler-rt-%{llvm_compiler_rt_version}.src.tar.xz
|
|
|
|
|
|
|
|
|
|
# The compiler is written in Go. Needs go(1.4+) compiler for build.
|
|
|
|
|
# Actual Go based bootstrap compiler provided by above source.
|
|
|
|
@ -131,9 +136,14 @@ BuildRequires: openssl-devel
|
|
|
|
|
# for tests
|
|
|
|
|
BuildRequires: pcre-devel, glibc-static, perl
|
|
|
|
|
|
|
|
|
|
# Necessary for building llvm address sanitizer for Go race detector
|
|
|
|
|
BuildRequires: libstdc++-devel
|
|
|
|
|
BuildRequires: clang
|
|
|
|
|
|
|
|
|
|
Provides: go = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-bin = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-src = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-race = %{version}-%{release}
|
|
|
|
|
Requires: openssl-devel
|
|
|
|
|
Requires: diffutils
|
|
|
|
|
|
|
|
|
@ -142,10 +152,9 @@ Patch221: fix_TestScript_list_std.patch
|
|
|
|
|
|
|
|
|
|
Patch1939923: skip_test_rhbz1939923.patch
|
|
|
|
|
|
|
|
|
|
Patch2: disable_static_tests_part1.patch
|
|
|
|
|
Patch3: disable_static_tests_part2.patch
|
|
|
|
|
Patch5: modify_go.env.patch
|
|
|
|
|
Patch7: skip_TestCrashDumpsAllThreads.patch
|
|
|
|
|
Patch4: modify_go.env.patch
|
|
|
|
|
Patch6: skip_TestCrashDumpsAllThreads.patch
|
|
|
|
|
Patch7: fix-standard-crypto-panic.patch
|
|
|
|
|
|
|
|
|
|
# Having documentation separate was broken
|
|
|
|
|
Obsoletes: %{name}-docs < 1.1-4
|
|
|
|
@ -153,9 +162,6 @@ Obsoletes: %{name}-docs < 1.1-4
|
|
|
|
|
# RPM can't handle symlink -> dir with subpackages, so merge back
|
|
|
|
|
Obsoletes: %{name}-data < 1.1.1-4
|
|
|
|
|
|
|
|
|
|
# We don't build golang-race anymore, rhbz#2230599
|
|
|
|
|
Obsoletes: golang-race < 1.20.0
|
|
|
|
|
|
|
|
|
|
# These are the only RHEL/Fedora architectures that we compile this package for
|
|
|
|
|
ExclusiveArch: %{golang_arches}
|
|
|
|
|
|
|
|
|
@ -226,15 +232,23 @@ Summary: Golang shared object libraries
|
|
|
|
|
%{summary}.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{race}
|
|
|
|
|
%package race
|
|
|
|
|
Summary: Golang std library with -race enabled
|
|
|
|
|
%package -n go-toolset
|
|
|
|
|
Summary: Package that installs go-toolset
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
%ifarch x86_64 aarch64 ppc64le
|
|
|
|
|
Requires: delve
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description -n go-toolset
|
|
|
|
|
This is the main package for go-toolset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package race
|
|
|
|
|
Summary: Race detetector library object files.
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description race
|
|
|
|
|
%{summary}
|
|
|
|
|
%endif
|
|
|
|
|
Binary library objects for Go's race detector.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n go-go%{version}
|
|
|
|
@ -246,7 +260,7 @@ patch_dir="../go-go%{version}-%{pkg_release}-openssl-fips/patches"
|
|
|
|
|
# Add --no-backup-if-mismatch option to avoid creating .orig temp files
|
|
|
|
|
for p in "$patch_dir"/*.patch; do
|
|
|
|
|
echo "Applying $p"
|
|
|
|
|
patch -p1 --no-backup-if-mismatch < $p
|
|
|
|
|
patch --no-backup-if-mismatch -p1 < $p
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# Configure crypto tests
|
|
|
|
@ -260,6 +274,11 @@ popd
|
|
|
|
|
sed -i '1s/$/ (%{?rhel:Red Hat} %{version}-%{release})/' VERSION
|
|
|
|
|
|
|
|
|
|
cp %{SOURCE2} ./src/runtime/
|
|
|
|
|
# Delete the bundled race detector objects.
|
|
|
|
|
find ./src/runtime/race/ -name "race_*.syso" -exec rm {} \;
|
|
|
|
|
|
|
|
|
|
# Delete the boring binary blob. We use the system OpenSSL instead.
|
|
|
|
|
rm -rf src/crypto/internal/boring/syso
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
set -xe
|
|
|
|
@ -268,6 +287,38 @@ uname -a
|
|
|
|
|
cat /proc/cpuinfo
|
|
|
|
|
cat /proc/meminfo
|
|
|
|
|
|
|
|
|
|
# Build race detector .syso's from llvm sources
|
|
|
|
|
%global tsan_buildflags %(echo %{build_cflags} | sed 's/-mtls-dialect=gnu2//')
|
|
|
|
|
mkdir ../llvm
|
|
|
|
|
|
|
|
|
|
tar -xf %{SOURCE3} -C ../llvm
|
|
|
|
|
tsan_go_dir="../llvm/compiler-rt-%{llvm_compiler_rt_version}.src/lib/tsan/go"
|
|
|
|
|
|
|
|
|
|
# The script uses uname -a and grep to set the GOARCH. This
|
|
|
|
|
# is unreliable and can get the wrong architecture in
|
|
|
|
|
# circumstances like cross-architecture emulation. We fix it
|
|
|
|
|
# by just reading GOARCH directly from Go.
|
|
|
|
|
export GOARCH=$(go env GOARCH)
|
|
|
|
|
|
|
|
|
|
%ifarch x86_64
|
|
|
|
|
pushd "${tsan_go_dir}"
|
|
|
|
|
CFLAGS="${tsan_buildflags}" CC=clang GOAMD64=v3 ./buildgo.sh
|
|
|
|
|
popd
|
|
|
|
|
cp "${tsan_go_dir}"/race_linux_amd64.syso ./src/runtime/race/internal/amd64v3/race_linux.syso
|
|
|
|
|
|
|
|
|
|
pushd "${tsan_go_dir}"
|
|
|
|
|
CFLAGS="${tsan_buildflags}" CC=clang GOAMD64=v1 ./buildgo.sh
|
|
|
|
|
popd
|
|
|
|
|
cp "${tsan_go_dir}"/race_linux_amd64.syso ./src/runtime/race/internal/amd64v1/race_linux.syso
|
|
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
pushd "${tsan_go_dir}"
|
|
|
|
|
CFLAGS="${tsan_buildflags}" CC=clang ./buildgo.sh
|
|
|
|
|
popd
|
|
|
|
|
cp "${tsan_go_dir}"/race_linux_%{gohostarch}.syso ./src/runtime/race/race_linux_%{gohostarch}.syso
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# bootstrap compiler GOROOT
|
|
|
|
|
%if !%{golang_bootstrap}
|
|
|
|
|
export GOROOT_BOOTSTRAP=/
|
|
|
|
@ -445,9 +496,6 @@ export GO_TEST_RUN=""
|
|
|
|
|
|
|
|
|
|
%if %{fail_on_tests}
|
|
|
|
|
|
|
|
|
|
# TestEd25519Vectors needs network connectivity but it should be cover by
|
|
|
|
|
# this test https://pkgs.devel.redhat.com/cgit/tests/golang/tree/Regression/internal-testsuite/runtest.sh#n127
|
|
|
|
|
|
|
|
|
|
./run.bash --no-rebuild -v -v -v -k $GO_TEST_RUN
|
|
|
|
|
|
|
|
|
|
# Run tests with FIPS enabled.
|
|
|
|
@ -502,8 +550,13 @@ cd ..
|
|
|
|
|
# prelink blacklist
|
|
|
|
|
%{_sysconfdir}/prelink.conf.d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f go-src.list src
|
|
|
|
|
%ifarch x86_64
|
|
|
|
|
%exclude %{goroot}/src/runtime/race/internal/amd64v1/race_linux.syso
|
|
|
|
|
%exclude %{goroot}/src/runtime/race/internal/amd64v3/race_linux.syso
|
|
|
|
|
%else
|
|
|
|
|
%exclude %{goroot}/src/runtime/race/race_linux_%{gohostarch}.syso
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files -f go-docs.list docs
|
|
|
|
|
|
|
|
|
@ -520,104 +573,138 @@ cd ..
|
|
|
|
|
%files -f go-shared.list shared
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files -n go-toolset
|
|
|
|
|
|
|
|
|
|
%files race
|
|
|
|
|
%ifarch x86_64
|
|
|
|
|
%{goroot}/src/runtime/race/internal/amd64v1/race_linux.syso
|
|
|
|
|
%{goroot}/src/runtime/race/internal/amd64v3/race_linux.syso
|
|
|
|
|
%else
|
|
|
|
|
%{goroot}/src/runtime/race/race_linux_%{gohostarch}.syso
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Nov 14 2024 David Benoit <dbenoit@redhat.com> - 1.22.9-1
|
|
|
|
|
- Update to Go 1.22.9
|
|
|
|
|
- Resolves: RHEL-67668
|
|
|
|
|
* Wed Aug 14 2024 David Benoit <dbenoit@redhat.com> - 1.22.5-2
|
|
|
|
|
- Rebuild race detector archives from LLVM sources
|
|
|
|
|
- Add golang-race subpackage
|
|
|
|
|
- Resolves: RHEL-33421
|
|
|
|
|
- Remove unused crypto/internal/boring/syso package
|
|
|
|
|
- Resolves: RHEL-54335
|
|
|
|
|
|
|
|
|
|
* Mon Sep 16 2024 David Benoit <dbenoit@redhat.com> - 1.22.7-1
|
|
|
|
|
- Update to Go 1.22.7
|
|
|
|
|
- Resolves: RHEL-58223
|
|
|
|
|
- Resolves: RHEL-57961
|
|
|
|
|
- Resolves: RHEL-57847
|
|
|
|
|
- Resolves: RHEL-57860
|
|
|
|
|
* Thu Jul 11 2024 Archana <aravinda@redhat.com> - 1.22.5-1
|
|
|
|
|
- Rebase to Go1.22.5 to address CVE-2024-24791
|
|
|
|
|
- Resolves: RHEL-46973
|
|
|
|
|
|
|
|
|
|
* Fri Sep 06 2024 Archana <aravinda@redhat.com> - 1.22.5-3
|
|
|
|
|
- Update fix that loads Openssl in FIPS mode if fips==1
|
|
|
|
|
- Related: RHEL-52485
|
|
|
|
|
* Thu Jun 27 2024 David Benoit <dbenoit@redhat.com> - 1.22.4-2
|
|
|
|
|
- Fix panic in standard crypto mode without openssl
|
|
|
|
|
- Resolves: RHEL-45359
|
|
|
|
|
|
|
|
|
|
* Mon Sep 02 2024 Archana <aravinda@redhat.com> - 1.22.5-2
|
|
|
|
|
- Include fix that loads Openssl only in FIPS mode to avoid panic
|
|
|
|
|
- Resolves: RHEL-52485
|
|
|
|
|
|
|
|
|
|
* Fri Jul 12 2024 Archana <aravinda@redhat.com> - 1.22.5-1
|
|
|
|
|
- Rebase to Go1.22.5 to fix CVE-2024-24791
|
|
|
|
|
- Resolves: RHEL-46972
|
|
|
|
|
|
|
|
|
|
* Fri Jun 07 2024 Archana <aravinda@redhat.com> - 1.22.4-1
|
|
|
|
|
- Addresses CVEs-2024-24789 and CVE-2024-24790
|
|
|
|
|
- Resolves: RHEL-40157
|
|
|
|
|
* Thu Jun 6 2024 Archana Ravindar <aravinda@redhat.com> - 1.22.4-1
|
|
|
|
|
- Rebase to Go1.22.4 that includes fixes for CVE-2024-24789 and CVE-2024-24790
|
|
|
|
|
- Resolves: RHEL-40156
|
|
|
|
|
|
|
|
|
|
* Thu May 30 2024 Derek Parker <deparker@redhat.com> - 1.22.3-3
|
|
|
|
|
- Update openssl backend
|
|
|
|
|
- Resolves: RHEL-36102
|
|
|
|
|
- Resolves: RHEL-36101
|
|
|
|
|
|
|
|
|
|
* Thu May 23 2024 Derek Parker <deparker@redhat.com> - 1.22.3-2
|
|
|
|
|
- Restore HashSign / HashVerify API
|
|
|
|
|
- Resolves: RHEL-35884
|
|
|
|
|
- Resolves: RHEL-35883
|
|
|
|
|
|
|
|
|
|
* Thu May 23 2024 David Benoit <dbenoit@redhat.com> - 1.22.3-1
|
|
|
|
|
- Update to Go 1.22.3
|
|
|
|
|
- Resolves: RHEL-35884
|
|
|
|
|
- Resolves: RHEL-35075
|
|
|
|
|
- Resolves: RHEL-35632
|
|
|
|
|
- Resolves: RHEL-35901
|
|
|
|
|
* Wed May 22 2024 Alejandro Sáez <asm@redhat.com> - 1.22.3-1
|
|
|
|
|
- Rebase to 1.22.3
|
|
|
|
|
- Removes re-enable-cgo.patch
|
|
|
|
|
- Resolves: RHEL-35634
|
|
|
|
|
- Resolves: RHEL-35883
|
|
|
|
|
- Resolves: RHEL-10068
|
|
|
|
|
- Resolves: RHEL-34924
|
|
|
|
|
|
|
|
|
|
* Thu May 02 2024 Alejandro Sáez <asm@redhat.com> - 1.22.2-1
|
|
|
|
|
* Thu Apr 18 2024 Derek Parker <deparker@redhat.com> - 1.22.2-1
|
|
|
|
|
- Rebase to 1.22.2
|
|
|
|
|
- Resolves: RHEL-28941
|
|
|
|
|
|
|
|
|
|
* Tue Apr 09 2024 Alejandro Sáez <asm@redhat.com> - 1.22.1-2
|
|
|
|
|
- Set the AMD64 baseline to v2
|
|
|
|
|
|
|
|
|
|
* Tue Mar 19 2024 Alejandro Sáez <asm@redhat.com> - 1.22.1-1
|
|
|
|
|
- Rebase to Go 1.22.1
|
|
|
|
|
- Re-enable CGO
|
|
|
|
|
- Skip TestCrashDumpsAllThreads
|
|
|
|
|
- Resolves: RHEL-33157
|
|
|
|
|
- Resolves: RHEL-29527
|
|
|
|
|
- Resolves: RHEL-28175
|
|
|
|
|
|
|
|
|
|
* Tue Feb 13 2024 Alejandro Sáez <asm@redhat.com> - 1.21.7-1
|
|
|
|
|
* Fri Feb 09 2024 Alejandro Sáez <asm@redhat.com> - 1.21.7-1
|
|
|
|
|
- Rebase to Go 1.21.7
|
|
|
|
|
- Add release information
|
|
|
|
|
- Set GOTOOLCHAIN to local
|
|
|
|
|
- Skip TestOverlongMessagePKCS1v15
|
|
|
|
|
- Resolves: RHEL-24082
|
|
|
|
|
- Resolves: RHEL-18363
|
|
|
|
|
- Resolves: RHEL-18382
|
|
|
|
|
- Resolves: RHEL-24334
|
|
|
|
|
- Resolves: RHEL-18364
|
|
|
|
|
- Resolves: RHEL-18365
|
|
|
|
|
|
|
|
|
|
* Wed Nov 08 2023 David Benoit <dbenoit@redhat.com> - 1.21.3-4
|
|
|
|
|
- Do not remove GOPROXY/GOSUMDB
|
|
|
|
|
- Related: RHEL-12620
|
|
|
|
|
* Thu Nov 30 2023 Alejandro Sáez <asm@redhat.com> - 1.21.4-2
|
|
|
|
|
- Add release information
|
|
|
|
|
|
|
|
|
|
* Thu Nov 02 2023 David Benoit <dbenoit@redhat.com> - 1.21.3-3
|
|
|
|
|
- Fix go.env in Go 1.21
|
|
|
|
|
- Related: RHEL-12620
|
|
|
|
|
* Tue Nov 14 2023 Alejandro Sáez <asm@redhat.com> - 1.21.4-1
|
|
|
|
|
- Rebase to Go 1.21.4
|
|
|
|
|
- Resolves: RHEL-11871
|
|
|
|
|
|
|
|
|
|
* Tue Oct 31 2023 Archana Ravindar <aravinda@redhat.com> - 1.21.3-2
|
|
|
|
|
- Rebase disable_static_tests_part2.patch to Go 1.21.3
|
|
|
|
|
* Wed Nov 08 2023 David Benoit <dbenoit@redhat.com> - 1.21.3-5
|
|
|
|
|
- Don't change GOPROXY/GOSUMDB
|
|
|
|
|
- Related: RHEL-12624
|
|
|
|
|
|
|
|
|
|
* Thu Nov 02 2023 David Benoit <dbenoit@redhat.com> - 1.21.3-4
|
|
|
|
|
- Fix missing go.env in Go 1.21
|
|
|
|
|
- Related: RHEL-12624
|
|
|
|
|
|
|
|
|
|
* Tue Oct 31 2023 Archana Ravindar <aravinda@redhat.com> - 1.21.3-3
|
|
|
|
|
- Add missing strict fips runtime detection patch
|
|
|
|
|
- Temporarily disable FIPS tests on aarch64 due to builder kernel bugs
|
|
|
|
|
- Remove fix-memory-leak patch as it is fixed upstream
|
|
|
|
|
- Resolves: RHEL-12620
|
|
|
|
|
- Related: RHEL-12624
|
|
|
|
|
|
|
|
|
|
* Wed Oct 25 2023 Archana Ravindar <aravinda@redhat.com> - 1.21.3-2
|
|
|
|
|
- Rebase disable_static_tests_part2.patch to Go 1.21.3
|
|
|
|
|
- Related: RHEL-12624
|
|
|
|
|
|
|
|
|
|
* Fri Oct 20 2023 Archana Ravindar <aravinda@redhat.com> - 1.21.3-1
|
|
|
|
|
- Rebase Go to 1.21.3
|
|
|
|
|
- Resolves: RHEL-12620
|
|
|
|
|
- Rebase to Go 1.21.3
|
|
|
|
|
- Resolves: RHEL-12624
|
|
|
|
|
|
|
|
|
|
* Mon Aug 14 2023 Alejandro Sáez <asm@redhat.com> - 1.20.6-2
|
|
|
|
|
* Wed Sep 27 2023 Alejandro Sáez <asm@redhat.com> - 1.20.8-1
|
|
|
|
|
- Rebase to Go 1.20.8
|
|
|
|
|
- Remove fix-memory-leak-evp-sign-verify.patch as it is already included in the source
|
|
|
|
|
- Resolves: RHEL-2775
|
|
|
|
|
|
|
|
|
|
* Mon Aug 14 2023 Alejandro Sáez <asm@redhat.com> - 1.20.6-5
|
|
|
|
|
- Retire golang-race package
|
|
|
|
|
- Resolves: rhbz#2230599
|
|
|
|
|
- Resolves: rhbz#2230705
|
|
|
|
|
|
|
|
|
|
* Tue Jul 25 2023 Alejandro Sáez <asm@redhat.com> - 1.20.6-1
|
|
|
|
|
* Tue Jul 18 2023 Alejandro Sáez <asm@redhat.com> - 1.20.6-1
|
|
|
|
|
- Rebase to Go 1.20.6
|
|
|
|
|
- Resolves: rhbz#2217596
|
|
|
|
|
- Change to autopatch
|
|
|
|
|
- Resolves: rhbz#2222313
|
|
|
|
|
|
|
|
|
|
* Fri Jun 23 2023 Alejandro Sáez <asm@redhat.com> - 1.20.4-3
|
|
|
|
|
- Increase the timeout in the tests
|
|
|
|
|
- Related: rhbz#2204477
|
|
|
|
|
|
|
|
|
|
* Fri Jun 09 2023 Carl George <carl@redhat.com> - 1.20.4-2
|
|
|
|
|
- Add go-toolset subpackage to ensure golang and go-toolset are published together
|
|
|
|
|
- Resolves: rhbz#2117248
|
|
|
|
|
|
|
|
|
|
* Mon May 29 2023 Alejandro Sáez <asm@redhat.com> - 1.20.4-1
|
|
|
|
|
- Rebase to Go 1.20.4
|
|
|
|
|
- Resolves: rhbz#2204474
|
|
|
|
|
- Resolves: rhbz#2204477
|
|
|
|
|
|
|
|
|
|
* Tue Apr 11 2023 David Benoit <dbenoit@redhat.com> - 1.20.3-1
|
|
|
|
|
- Rebase to Go 1.20.3
|
|
|
|
|
- Remove race archives
|
|
|
|
|
- Update static tests patches
|
|
|
|
|
- Resolves: rhbz#2185260
|
|
|
|
|
- Update static test patches
|
|
|
|
|
- Resolves: rhbz#2185259
|
|
|
|
|
|
|
|
|
|
* Tue Jan 3 2023 David Benoit <dbenoit@redhat.com> - 1.19.4-2
|
|
|
|
|
- Fix memory leaks in EVP_{sign,verify}_raw
|
|
|
|
|
- Resolves: rhbz#2132767
|
|
|
|
|
* Wed Mar 01 2023 David Benoit <dbenoit@redhat.com> - 1.19.6-1
|
|
|
|
|
- Rebase to Go 1.19.6
|
|
|
|
|
- Resolves: rhbz#2174429
|
|
|
|
|
- Fix memory leak
|
|
|
|
|
- Resolves: rhbz#2157602
|
|
|
|
|
- Enable tests in check phase
|
|
|
|
|
|
|
|
|
|
* Wed Dec 21 2022 David Benoit <dbenoit@redhat.com> - 1.19.4-1
|
|
|
|
|
- Rebase to Go 1.19.4
|
|
|
|
@ -625,150 +712,130 @@ cd ..
|
|
|
|
|
- Remove defunct patches
|
|
|
|
|
- Remove downstream generated FIPS mode patches
|
|
|
|
|
- Add golang-fips/go as the source for FIPS mode patches
|
|
|
|
|
- Resolves: rhbz#2144542
|
|
|
|
|
- Resolves: rhbz#2144539
|
|
|
|
|
|
|
|
|
|
* Mon Oct 17 2022 David Benoit <dbenoit@redhat.com> - 1.19.2-4
|
|
|
|
|
- Enable big endian support in FIPS mode
|
|
|
|
|
- Resolves: rhbz#1969844
|
|
|
|
|
* Wed Nov 30 2022 David Benoit <dbenoit@redhat.com> - 1.19.2-2
|
|
|
|
|
- Fix endian issue in FIPS mode
|
|
|
|
|
- Resolves: rhbz#1966992
|
|
|
|
|
|
|
|
|
|
* Mon Oct 17 2022 David Benoit <dbenoit@redhat.com> - 1.19.2-3
|
|
|
|
|
- Restore old HashSign/HashVerify API
|
|
|
|
|
- Resolves: rhbz#2132730
|
|
|
|
|
|
|
|
|
|
* Mon Oct 17 2022 David Benoit <dbenoit@redhat.com> - 1.19.2-2
|
|
|
|
|
- Add support for 4096 bit keys in x509
|
|
|
|
|
- Resolves: rhbz#2132694
|
|
|
|
|
|
|
|
|
|
* Thu Oct 13 2022 David Benoit <dbenoit@redhat.com> - 1.19.2-1
|
|
|
|
|
- Rebase to Go 1.19.2
|
|
|
|
|
- Resolves: rhbz#2132730
|
|
|
|
|
* Fri Oct 21 2022 David Benoit <dbenoit@redhat.com> - 1.19.2-1
|
|
|
|
|
- Update go to version 1.19.2
|
|
|
|
|
- Resolves: rhbz#2134407
|
|
|
|
|
|
|
|
|
|
* Wed Sep 14 2022 David Benoit <dbenoit@redhat.com> - 1.19.1-2
|
|
|
|
|
- Rebase to Go 1.19.1
|
|
|
|
|
- Resolves: rhbz#2131026
|
|
|
|
|
- Temporarily disable crypto tests
|
|
|
|
|
- Resolves: rhbz#2131028
|
|
|
|
|
|
|
|
|
|
* Wed Aug 03 2022 Alejandro Sáez <asm@redhat.com> - 1.18.4-2
|
|
|
|
|
- Adds patch for PIE mode issues on PPC64LE
|
|
|
|
|
- Resolves: rhbz#2111593
|
|
|
|
|
* Wed Aug 10 2022 Alejandro Sáez <asm@redhat.com> - 1.18.4-2
|
|
|
|
|
- Update to Go 1.18.4
|
|
|
|
|
- Resolves: rhbz#2109180
|
|
|
|
|
- Deprecates keys smaller than 2048 bits in TestDecryptOAEP in boring mode
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2022 David Benoit <dbenoit@redhat.com> - 1.18.4-1
|
|
|
|
|
- Update Go to version 1.18.4
|
|
|
|
|
- Resolves: rhbz#2109179
|
|
|
|
|
* Fri Aug 05 2022 Alejandro Sáez <asm@redhat.com> - 1.18.4-1
|
|
|
|
|
- Update to Go 1.18.4
|
|
|
|
|
- Resolves: rhbz#2109180
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2022 David Benoit <dbenoit@redhat.com> - 1.18.2-3
|
|
|
|
|
- Clean up dist-git patches
|
|
|
|
|
- Resolves: rhbz#2109175
|
|
|
|
|
* Fri Jun 10 2022 David Benoit <dbenoit@redhat.com> - 1.18.2-2
|
|
|
|
|
- Update deprecated openssl algorithms patch
|
|
|
|
|
- Rebuild against openssl-3.0.1-33
|
|
|
|
|
- Resolves: rhbz#2092136
|
|
|
|
|
- Related: rhbz#2092016
|
|
|
|
|
|
|
|
|
|
* Thu Jul 07 2022 Alejandro Sáez <asm@redhat.com> - 1.18.2-2
|
|
|
|
|
- Bump up release version
|
|
|
|
|
- Related: rhbz#2075162
|
|
|
|
|
* Mon May 02 2022 David Benoit <dbenoit@redhat.com> - 1.18.2-1
|
|
|
|
|
- Rebase to Go 1.18.2
|
|
|
|
|
- Move to github.com/golang-fips/go
|
|
|
|
|
- Resolves: rhbz#2075169
|
|
|
|
|
- Resolves: rhbz#2060769
|
|
|
|
|
- Resolves: rhbz#2067531
|
|
|
|
|
- Resolves: rhbz#2067536
|
|
|
|
|
- Resolves: rhbz#2067552
|
|
|
|
|
- Resolves: rhbz#2025637
|
|
|
|
|
|
|
|
|
|
* Thu Jun 16 2022 David Benoit <dbenoit@redhat.com> - 1.18.2-1
|
|
|
|
|
- Update to Go 1.18.2
|
|
|
|
|
- Related: rhbz#2075162
|
|
|
|
|
|
|
|
|
|
* Mon Apr 18 2022 David Benoit <dbenoit@redhat.com> - 1.18.0-2
|
|
|
|
|
- Enable SHA1 in some contexts
|
|
|
|
|
- Related: rhbz#2075162
|
|
|
|
|
|
|
|
|
|
* Wed Apr 13 2022 David Benoit <dbenoit@redhat.com> - 1.18.0-1
|
|
|
|
|
- Update Go to 1.18.0
|
|
|
|
|
- Resolves: rhbz#2075162
|
|
|
|
|
|
|
|
|
|
* Thu Feb 17 2022 David Benoit <dbenoit@redhat.com> - 1.17.7-1
|
|
|
|
|
- Rebase to Go 1.17.7
|
|
|
|
|
- Remove fips memory leak patch (fixed in tree)
|
|
|
|
|
- Resolves: rhbz#2015930
|
|
|
|
|
|
|
|
|
|
* Fri Dec 10 2021 David Benoit <dbenoit@redhat.com> - 1.17.5-1
|
|
|
|
|
* Mon Dec 13 2021 Alejandro Sáez <asm@redhat.com> - 1.17.5-1
|
|
|
|
|
- Rebase to Go 1.17.5
|
|
|
|
|
- Remove vdso_s390x_gettime patch
|
|
|
|
|
- Resolves: rhbz#2031112
|
|
|
|
|
- Related: rhbz#2028570
|
|
|
|
|
|
|
|
|
|
* Fri Dec 03 2021 David Benoit <dbenoit@redhat.com> - 1.17.4-1
|
|
|
|
|
- Rebase Go to 1.17.4
|
|
|
|
|
- Add remove_waitgroup_misuse_tests patch
|
|
|
|
|
- Related: rhbz#2014088
|
|
|
|
|
- Resolves: rhbz#2028570
|
|
|
|
|
- Resolves: rhbz#2022828
|
|
|
|
|
- Resolves: rhbz#2024686
|
|
|
|
|
- Resolves: rhbz#2028662
|
|
|
|
|
- Add remove_ed25519vectors_test.patch
|
|
|
|
|
- Remove FIPS checks to avoid issues in the CI
|
|
|
|
|
- Related: rhbz#2031116
|
|
|
|
|
- Resolves: rhbz#2022829
|
|
|
|
|
- Resolves: rhbz#2024687
|
|
|
|
|
- Resolves: rhbz#2030851
|
|
|
|
|
- Resolves: rhbz#2031253
|
|
|
|
|
|
|
|
|
|
* Wed Oct 27 2021 Alejandro Sáez <asm@redhat.com> - 1.17.2-2
|
|
|
|
|
- Resolves: rhbz#2014704
|
|
|
|
|
|
|
|
|
|
* Tue Oct 12 2021 Alejandro Sáez <asm@redhat.com> - 1.17.2-1
|
|
|
|
|
* Wed Nov 03 2021 Alejandro Sáez <asm@redhat.com> - 1.17.2-1
|
|
|
|
|
- Rebase to Go 1.17.2
|
|
|
|
|
- Related: rhbz#2014088
|
|
|
|
|
- Remove golang-1.15-warnCN.patch
|
|
|
|
|
- Remove reject-leading-zeros.patch
|
|
|
|
|
- Related: rhbz#2014087
|
|
|
|
|
- Remove favicon.ico and robots.txt references
|
|
|
|
|
- Exclude TestEd25519Vectors test
|
|
|
|
|
- Update patch rhbz1952381
|
|
|
|
|
- Remove rhbz1904567 patch
|
|
|
|
|
- Remove rhbz1939923 patch
|
|
|
|
|
|
|
|
|
|
* Tue Aug 17 2021 David Benoit <dbenoit@redhat.com> - 1.16.7-1
|
|
|
|
|
- Rebase to Go 1.16.7
|
|
|
|
|
- Resolves: rhbz#1994079
|
|
|
|
|
- Add reject leading zeros patch
|
|
|
|
|
- Resolves: rhbz#1993314
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.16.6-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Wed Jul 21 2021 Derek Parker <deparker@redhat.com> - 1.16.6-2
|
|
|
|
|
- Fix TestBoringServerCurves failure when run by itself
|
|
|
|
|
- Resolves: rhbz#1976168
|
|
|
|
|
* Wed Aug 4 2021 Derek Parker <deparker@redhat.com> - 1.16.6-3
|
|
|
|
|
- Include ppc64le VDSO segfault backport fix
|
|
|
|
|
- Resolves: rhbz#1966622
|
|
|
|
|
|
|
|
|
|
* Thu Jul 15 2021 David Benoit <dbenoit@redhat.com> - 1.16.6-1
|
|
|
|
|
- Rebase to go-1.16.6-1-openssl-fips
|
|
|
|
|
- Resolves: rhbz#1982281
|
|
|
|
|
- Addresses CVE-2021-34558
|
|
|
|
|
* Mon Aug 2 2021 Derek Parker <deparker@redhat.com> - 1.16.6-2
|
|
|
|
|
- Bump release
|
|
|
|
|
- Resolves: rhbz#1904567
|
|
|
|
|
|
|
|
|
|
* Tue Jul 06 2021 Alejandro Sáez <asm@redhat.com> - 1.16.5-1
|
|
|
|
|
- Rebase to 1.16.5
|
|
|
|
|
- Removes rhbz#1955032 patch, it's already included in this release
|
|
|
|
|
- Removes rhbz#1956891 patch, it's already included in this release
|
|
|
|
|
- Related: rhbz#1979677
|
|
|
|
|
- Related: rhbz#1968738
|
|
|
|
|
- Related: rhbz#1972420
|
|
|
|
|
* Mon Aug 2 2021 Derek Parker <deparker@redhat.com> - 1.16.6-2
|
|
|
|
|
- Backport fix allowing LTO to be enabled on cgo sources
|
|
|
|
|
- Resolves: rhbz#1904567
|
|
|
|
|
|
|
|
|
|
* Thu Jun 17 2021 David Benoit <dbenoit@redhat.com> - 1.16.4-3
|
|
|
|
|
- Fix zero-size allocation memory leak.
|
|
|
|
|
- Related: rhbz#1951877
|
|
|
|
|
* Tue Jul 20 2021 Derek Parker <deparker@redhat.com> - 1.16.6-1
|
|
|
|
|
- Rebase to 1.16.6
|
|
|
|
|
- Resolves: rhbz#1984124
|
|
|
|
|
- Replace symbols no longer present in OpenSSL 3.0 ABI
|
|
|
|
|
- Resolves: rhbz#1984110
|
|
|
|
|
- Fix TestBoringServerCurves failing when ran by itself
|
|
|
|
|
- Resolves: rhbz#1977914
|
|
|
|
|
|
|
|
|
|
* Tue Jun 08 2021 David Benoit <dbenoit@redhat.com> - 1.16.4-2
|
|
|
|
|
- Resolves: rhbz#1951877
|
|
|
|
|
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 1.16.4-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
|
|
Related: rhbz#1971065
|
|
|
|
|
|
|
|
|
|
* Mon May 24 2021 Alejandro Sáez <asm@redhat.com> - 1.16.4-1
|
|
|
|
|
- Rebase to go-1.16.4-1-openssl-fips
|
|
|
|
|
* Fri May 28 2021 David Benoit <dbenoit@redhat.com> - 1.16.4-2
|
|
|
|
|
- Port to OpenSSL 3.0
|
|
|
|
|
- Resolves: rhbz#1952381
|
|
|
|
|
|
|
|
|
|
* Tue May 04 2021 Alejandro Sáez <asm@redhat.com> - 1.16.1-3
|
|
|
|
|
- Resolves: rhbz#1956891
|
|
|
|
|
* Fri May 14 2021 Alejandro Sáez <asm@redhat.com> - 1.16.4-1
|
|
|
|
|
- Rebase to 1.16.4
|
|
|
|
|
- Resolves: rhbz#1955035
|
|
|
|
|
- Resolves: rhbz#1957961
|
|
|
|
|
|
|
|
|
|
* Thu Apr 29 2021 Alejandro Sáez <asm@redhat.com> - 1.16.1-2
|
|
|
|
|
- Resolves: rhbz#1955032
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.16.1-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Mar 17 2021 Alejandro Sáez <asm@redhat.com> - 1.16.1-1
|
|
|
|
|
* Tue Mar 30 2021 Alejandro Sáez <asm@redhat.com> - 1.16.1-2
|
|
|
|
|
- Rebase to go-1.16.1-2-openssl-fips
|
|
|
|
|
- Resolves: rhbz#1922455
|
|
|
|
|
|
|
|
|
|
* Tue Mar 30 2021 Alejandro Sáez <asm@redhat.com> - 1.16.1-1
|
|
|
|
|
- Rebase to go-1.16.1-2-openssl-fips
|
|
|
|
|
- Resolves: rhbz#1938071
|
|
|
|
|
- Adds a workaround for rhbz#1939923
|
|
|
|
|
- Removes Patch224, it's on upstream -> rhbz#1888673
|
|
|
|
|
- Removes Patch225, it's on upstream -> https://go-review.googlesource.com/c/text/+/238238
|
|
|
|
|
- Removes old patches for cleaning purposes
|
|
|
|
|
- Related: rhbz#1942898
|
|
|
|
|
|
|
|
|
|
* Fri Jan 22 2021 David Benoit <dbenoit@redhat.com> - 1.15.7-1
|
|
|
|
|
- Rebase to 1.15.7
|
|
|
|
|
- Resolves: rhbz#1870531
|
|
|
|
|
- Resolves: rhbz#1919261
|
|
|
|
|
- Resolves: rhbz#1892207
|
|
|
|
|
- Resolves: rhbz#1918755
|
|
|
|
|
|
|
|
|
|
* Tue Nov 24 2020 David Benoit <dbenoit@redhat.com> - 1.15.5-1
|
|
|
|
|
- Rebase to 1.15.5
|
|
|
|
|
- Resolves: rhbz#1898652
|
|
|
|
|
- Resolves: rhbz#1898660
|
|
|
|
|
- Resolves: rhbz#1898649
|
|
|
|
|
- Resolves: rhbz#1899184
|
|
|
|
|
- Resolves: rhbz#1899185
|
|
|
|
|
- Resolves: rhbz#1899186
|
|
|
|
|
|
|
|
|
|
* Mon Nov 16 2020 David Benoit <dbenoit@redhat.com> - 1.15.3-2
|
|
|
|
|
- fix typo in patch file name
|
|
|
|
|
- Related: rhbz#1881539
|
|
|
|
|
|
|
|
|
|
* Thu Nov 12 2020 David Benoit <dbenoit@redhat.com> - 1.15.3-1
|
|
|
|
|
* Thu Nov 12 2020 David Benoit <dbenoit@redhat.com> - 1.15.3-2
|
|
|
|
|
- Rebase to 1.15.3
|
|
|
|
|
- fix x/text infinite loop
|
|
|
|
|
- Resolves: rhbz#1881539
|
|
|
|
|