Update to Go 1.18.4
Resolves: rhbz#2109180
This commit is contained in:
parent
96c960545c
commit
0176a371f8
1
.gitignore
vendored
1
.gitignore
vendored
@ -41,3 +41,4 @@
|
||||
/go-go-1.17.2-1-openssl-fips.tar.gz
|
||||
/go-go-1.17.5-1-openssl-fips.tar.gz
|
||||
/go1.18.2-1-openssl-fips.tar.gz
|
||||
/go1.18.4-1-openssl-fips.tar.gz
|
||||
|
18
golang.spec
18
golang.spec
@ -96,12 +96,12 @@
|
||||
%endif
|
||||
|
||||
%global go_api 1.18
|
||||
%global go_version 1.18.2
|
||||
%global go_version 1.18.4
|
||||
%global pkg_release 1
|
||||
|
||||
Name: golang
|
||||
Version: %{go_version}
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?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
|
||||
@ -238,11 +238,8 @@ Requires: %{name} = %{version}-%{release}
|
||||
%setup -q -n go-go%{go_version}-%{pkg_release}-openssl-fips
|
||||
|
||||
%patch215 -p1
|
||||
|
||||
%patch221 -p1
|
||||
|
||||
%patch223 -p1
|
||||
|
||||
%patch224 -p1
|
||||
|
||||
cp %{SOURCE1} ./src/runtime/
|
||||
@ -439,17 +436,18 @@ export GO_TEST_RUN=""
|
||||
|
||||
./run.bash --no-rebuild -v -v -v -k $GO_TEST_RUN
|
||||
|
||||
export OPENSSL_FORCE_FIPS_MODE=1
|
||||
#export OPENSSL_FORCE_FIPS_MODE=1
|
||||
# Run tests with FIPS enabled.
|
||||
GOLANG_FIPS=1
|
||||
pushd crypto
|
||||
# Run all crypto tests but skip TLS, we will run FIPS specific TLS tests later
|
||||
GOLANG_FIPS=1 go test $(go list ./... | grep -v tls) -v
|
||||
go test $(go list ./... | grep -v tls) -v
|
||||
# Check that signature functions have parity between boring and notboring
|
||||
CGO_ENABLED=0 go test $(go list ./... | grep -v tls) -v
|
||||
popd
|
||||
# Run all FIPS specific TLS tests
|
||||
pushd crypto/tls
|
||||
GOLANG_FIPS=1 go test -v -run "Boring"
|
||||
go test -v -run "Boring"
|
||||
popd
|
||||
%else
|
||||
./run.bash --no-rebuild -v -v -v -k || :
|
||||
@ -512,6 +510,10 @@ cd ..
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Aug 05 2022 Alejandro Sáez <asm@redhat.com> - 1.18.4-1
|
||||
- Update to Go 1.18.4
|
||||
- Resolves: rhbz#2109180
|
||||
|
||||
* 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
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (go1.18.2-1-openssl-fips.tar.gz) = 419221baddafd0654132f5f85001bdfe81691d73fa91f05150c9d39fdacce5acb2140cbfe5f9fa11f7934bde9554cea3eded493069162eebe554bf1e3b917302
|
||||
SHA512 (go1.18.4-1-openssl-fips.tar.gz) = 935f3ba3c2427b4e274b1f49b85f0702d6a2872580b70c5a500c82418a3b1729c0678e05d9ed5eb8eb0f0bc49e1302171f769fb7e15d90694db71f0223ecaa56
|
||||
|
Loading…
Reference in New Issue
Block a user