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.2-1-openssl-fips.tar.gz
|
||||||
/go-go-1.17.5-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.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
|
%endif
|
||||||
|
|
||||||
%global go_api 1.18
|
%global go_api 1.18
|
||||||
%global go_version 1.18.2
|
%global go_version 1.18.4
|
||||||
%global pkg_release 1
|
%global pkg_release 1
|
||||||
|
|
||||||
Name: golang
|
Name: golang
|
||||||
Version: %{go_version}
|
Version: %{go_version}
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: The Go Programming Language
|
Summary: The Go Programming Language
|
||||||
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
|
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
|
||||||
License: BSD and 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
|
%setup -q -n go-go%{go_version}-%{pkg_release}-openssl-fips
|
||||||
|
|
||||||
%patch215 -p1
|
%patch215 -p1
|
||||||
|
|
||||||
%patch221 -p1
|
%patch221 -p1
|
||||||
|
|
||||||
%patch223 -p1
|
%patch223 -p1
|
||||||
|
|
||||||
%patch224 -p1
|
%patch224 -p1
|
||||||
|
|
||||||
cp %{SOURCE1} ./src/runtime/
|
cp %{SOURCE1} ./src/runtime/
|
||||||
@ -439,17 +436,18 @@ export GO_TEST_RUN=""
|
|||||||
|
|
||||||
./run.bash --no-rebuild -v -v -v -k $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.
|
# Run tests with FIPS enabled.
|
||||||
|
GOLANG_FIPS=1
|
||||||
pushd crypto
|
pushd crypto
|
||||||
# Run all crypto tests but skip TLS, we will run FIPS specific TLS tests later
|
# 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
|
# Check that signature functions have parity between boring and notboring
|
||||||
CGO_ENABLED=0 go test $(go list ./... | grep -v tls) -v
|
CGO_ENABLED=0 go test $(go list ./... | grep -v tls) -v
|
||||||
popd
|
popd
|
||||||
# Run all FIPS specific TLS tests
|
# Run all FIPS specific TLS tests
|
||||||
pushd crypto/tls
|
pushd crypto/tls
|
||||||
GOLANG_FIPS=1 go test -v -run "Boring"
|
go test -v -run "Boring"
|
||||||
popd
|
popd
|
||||||
%else
|
%else
|
||||||
./run.bash --no-rebuild -v -v -v -k || :
|
./run.bash --no-rebuild -v -v -v -k || :
|
||||||
@ -512,6 +510,10 @@ cd ..
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jun 10 2022 David Benoit <dbenoit@redhat.com> - 1.18.2-2
|
||||||
- Update deprecated openssl algorithms patch
|
- Update deprecated openssl algorithms patch
|
||||||
- Rebuild against openssl-3.0.1-33
|
- 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