6c08f9
%undefine _missing_build_ids_terminate_build
6c08f9
6c08f9
%global bcond_with strict_fips
6c08f9
6c08f9
# build ids are not currently generated:
6c08f9
# https://code.google.com/p/go/issues/detail?id=5238
6c08f9
#
6c08f9
# also, debuginfo extraction currently fails with
6c08f9
# "Failed to write file: invalid section alignment"
6c08f9
%global debug_package %{nil}
6c08f9
6c08f9
# we are shipping the full contents of src in the data subpackage, which
6c08f9
# contains binary-like things (ELF data for tests, etc)
6c08f9
%global _binaries_in_noarch_packages_terminate_build 0
6c08f9
6c08f9
# Do not check any files in doc or src for requires
6c08f9
%global __requires_exclude_from ^(%{_datadir}|/usr/lib)/%{name}/(doc|src)/.*$
6c08f9
6c08f9
# Don't alter timestamps of especially the .a files (or else go will rebuild later)
6c08f9
# Actually, don't strip at all since we are not even building debug packages and this corrupts the dwarf testdata
6c08f9
%global __strip /bin/true
6c08f9
6c08f9
# rpmbuild magic to keep from having meta dependency on libc.so.6
6c08f9
%define _use_internal_dependency_generator 0
6c08f9
%define __find_requires %{nil}
6c08f9
%global __spec_install_post /usr/lib/rpm/check-rpaths   /usr/lib/rpm/check-buildroot  \
6c08f9
  /usr/lib/rpm/brp-compress
6c08f9
6c08f9
# Define GOROOT macros
6c08f9
%global goroot          %{_prefix}/lib/%{name}
6c08f9
%global gopath          %{_datadir}/gocode
6c08f9
%global golang_arches   x86_64 aarch64 ppc64le s390x
6c08f9
%global golibdir        %{_libdir}/%{name}
6c08f9
6c08f9
# Golang build options.
6c08f9
6c08f9
# Build golang using external/internal(close to cgo disabled) linking.
6c08f9
%ifarch x86_64 ppc64le %{arm} aarch64 s390x
6c08f9
%global external_linker 1
6c08f9
%else
6c08f9
%global external_linker 0
6c08f9
%endif
6c08f9
6c08f9
# Build golang with cgo enabled/disabled(later equals more or less to internal linking).
6c08f9
%ifarch x86_64 ppc64le %{arm} aarch64 s390x
6c08f9
%global cgo_enabled 1
6c08f9
%else
6c08f9
%global cgo_enabled 0
6c08f9
%endif
6c08f9
6c08f9
# Use golang/gcc-go as bootstrap compiler
6c08f9
%ifarch %{golang_arches}
6c08f9
%global golang_bootstrap 1
6c08f9
%else
6c08f9
%global golang_bootstrap 0
6c08f9
%endif
6c08f9
6c08f9
# Controls what ever we fail on failed tests
15d35e
%ifarch x86_64 %{arm} aarch64 ppc64le s390x
6c08f9
%global fail_on_tests 1
6c08f9
%else
6c08f9
%global fail_on_tests 0
6c08f9
%endif
6c08f9
6c08f9
# Build golang shared objects for stdlib
6c08f9
%ifarch 0
6c08f9
%global shared 1
6c08f9
%else
6c08f9
%global shared 0
6c08f9
%endif
6c08f9
6c08f9
# Pre build std lib with -race enabled
6c08f9
%ifarch x86_64
6c08f9
%global race 1
6c08f9
%else
6c08f9
%global race 0
6c08f9
%endif
6c08f9
6c08f9
%ifarch x86_64
6c08f9
%global gohostarch  amd64
6c08f9
%endif
6c08f9
%ifarch %{arm}
6c08f9
%global gohostarch  arm
6c08f9
%endif
6c08f9
%ifarch aarch64
6c08f9
%global gohostarch  arm64
6c08f9
%endif
6c08f9
%ifarch ppc64
6c08f9
%global gohostarch  ppc64
6c08f9
%endif
6c08f9
%ifarch ppc64le
6c08f9
%global gohostarch  ppc64le
6c08f9
%endif
6c08f9
%ifarch s390x
6c08f9
%global gohostarch  s390x
6c08f9
%endif
6c08f9
15d35e
%global go_api 1.19
60c14f
%global go_version 1.19.9
15d35e
%global version %{go_version}
60c14f
%global pkg_release 2
6c08f9
6c08f9
Name:           golang
15d35e
Version:        %{version}
15d35e
Release:        2%{?dist}
6c08f9
Summary:        The Go Programming Language
6c08f9
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
6c08f9
License:        BSD and Public Domain
6c08f9
URL:            http://golang.org/
15d35e
Source0:        https://github.com/golang/go/archive/refs/tags/go%{version}.tar.gz
15d35e
# Go's FIPS mode bindings are now provided as a standalone
15d35e
# module instead of in tree.  This makes it easier to see
15d35e
# the actual changes vs upstream Go.  The module source is
15d35e
# located at https://github.com/golang-fips/openssl-fips,
15d35e
# And pre-genetated patches to set up the module for a given
15d35e
# Go release are located at https://github.com/golang-fips/go.
15d35e
Source1:	https://github.com/golang-fips/go/archive/refs/tags/go%{version}-%{pkg_release}-openssl-fips.tar.gz
6c08f9
# make possible to override default traceback level at build time by setting build tag rpm_crashtraceback
15d35e
Source2:        fedora.go
6c08f9
6c08f9
# The compiler is written in Go. Needs go(1.4+) compiler for build.
6c08f9
# Actual Go based bootstrap compiler provided by above source.
6c08f9
%if !%{golang_bootstrap}
6c08f9
BuildRequires:  gcc-go >= 5
6c08f9
%else
6c08f9
BuildRequires:  golang
6c08f9
%endif
6c08f9
%if 0%{?rhel} > 6 || 0%{?fedora} > 0
6c08f9
BuildRequires:  hostname
6c08f9
%else
6c08f9
BuildRequires:  net-tools
6c08f9
%endif
6c08f9
# For OpenSSL FIPS
6c08f9
BuildRequires:  openssl-devel
6c08f9
# for tests
6c08f9
BuildRequires:  pcre-devel, glibc-static, perl
6c08f9
6c08f9
Provides:       go = %{version}-%{release}
6c08f9
Requires:       %{name}-bin = %{version}-%{release}
6c08f9
Requires:       %{name}-src = %{version}-%{release}
6c08f9
Requires:       openssl-devel
6c08f9
Requires:       diffutils
6c08f9
6c08f9
6c08f9
# Proposed patch by jcajka https://golang.org/cl/86541
6c08f9
Patch221:       fix_TestScript_list_std.patch
6c08f9
15d35e
Patch1939923:   skip_test_rhbz1939923.patch
6c08f9
15d35e
# Disables libc static linking tests which
15d35e
# are incompatible with dlopen in golang-fips
15d35e
Patch2: 	disable_static_tests_part1.patch
15d35e
Patch3: 	disable_static_tests_part2.patch
19eaa6
15d35e
Patch4:		fix-memory-leak-evp-sign-verify.patch
d6e3b2
6c08f9
# Having documentation separate was broken
6c08f9
Obsoletes:      %{name}-docs < 1.1-4
6c08f9
6c08f9
# RPM can't handle symlink -> dir with subpackages, so merge back
6c08f9
Obsoletes:      %{name}-data < 1.1.1-4
6c08f9
6c08f9
# These are the only RHEL/Fedora architectures that we compile this package for
6c08f9
ExclusiveArch:  %{golang_arches}
6c08f9
6c08f9
Source100:      golang-gdbinit
6c08f9
Source101:      golang-prelink.conf
6c08f9
6c08f9
%description
6c08f9
%{summary}.
6c08f9
6c08f9
%package       docs
6c08f9
Summary:       Golang compiler docs
6c08f9
Requires:      %{name} = %{version}-%{release}
6c08f9
BuildArch:     noarch
6c08f9
Obsoletes:     %{name}-docs < 1.1-4
6c08f9
6c08f9
%description   docs
6c08f9
%{summary}.
6c08f9
6c08f9
%package       misc
6c08f9
Summary:       Golang compiler miscellaneous sources
6c08f9
Requires:      %{name} = %{version}-%{release}
6c08f9
BuildArch:     noarch
6c08f9
6c08f9
%description   misc
6c08f9
%{summary}.
6c08f9
6c08f9
%package       tests
6c08f9
Summary:       Golang compiler tests for stdlib
6c08f9
Requires:      %{name} = %{version}-%{release}
6c08f9
BuildArch:     noarch
6c08f9
6c08f9
%description   tests
6c08f9
%{summary}.
6c08f9
6c08f9
%package        src
6c08f9
Summary:        Golang compiler source tree
6c08f9
BuildArch:      noarch
6c08f9
6c08f9
%description    src
6c08f9
%{summary}
6c08f9
6c08f9
%package        bin
6c08f9
Summary:        Golang core compiler tools
6c08f9
Requires:       %{name} = %{version}-%{release}
6c08f9
6c08f9
# We strip the meta dependency, but go does require glibc.
6c08f9
# This is an odd issue, still looking for a better fix.
6c08f9
Requires:       glibc
6c08f9
Requires:       /usr/bin/gcc
6c08f9
%description    bin
6c08f9
%{summary}
6c08f9
6c08f9
# Workaround old RPM bug of symlink-replaced-with-dir failure
6c08f9
%pretrans -p <lua>
6c08f9
for _,d in pairs({"api", "doc", "include", "lib", "src"}) do
6c08f9
  path = "%{goroot}/" .. d
6c08f9
  if posix.stat(path, "type") == "link" then
6c08f9
    os.remove(path)
6c08f9
    posix.mkdir(path)
6c08f9
  end
6c08f9
end
6c08f9
6c08f9
%if %{shared}
6c08f9
%package        shared
6c08f9
Summary:        Golang shared object libraries
6c08f9
6c08f9
%description    shared
6c08f9
%{summary}.
6c08f9
%endif
6c08f9
6c08f9
%if %{race}
6c08f9
%package        race
6c08f9
Summary:        Golang std library with -race enabled
6c08f9
6c08f9
Requires:       %{name} = %{version}-%{release}
6c08f9
6c08f9
%description    race
6c08f9
%{summary}
6c08f9
%endif
6c08f9
6c08f9
%prep
15d35e
%setup -q -n go-go%{version}
15d35e
15d35e
pushd ..
15d35e
tar -xf %{SOURCE1}
15d35e
popd
15d35e
patch -p1 < ../go-go%{version}-%{pkg_release}-openssl-fips/patches/000-initial-setup.patch
15d35e
patch -p1 < ../go-go%{version}-%{pkg_release}-openssl-fips/patches/001-initial-openssl-for-fips.patch
15d35e
15d35e
# Configure crypto tests
15d35e
pushd ../go-go%{version}-%{pkg_release}-openssl-fips
15d35e
ln -s ../go-go%{version} go
15d35e
./scripts/configure-crypto-tests.sh
15d35e
popd
15d35e
15d35e
%patch2 -p1
15d35e
%patch3 -p1
15d35e
%patch4 -p1
19eaa6
6c08f9
%patch221 -p1
19eaa6
15d35e
%patch1939923 -p1
15d35e
15d35e
cp %{SOURCE2} ./src/runtime/
6c08f9
6c08f9
%build
6c08f9
set -xe
6c08f9
# print out system information
6c08f9
uname -a
6c08f9
cat /proc/cpuinfo
6c08f9
cat /proc/meminfo
6c08f9
6c08f9
# bootstrap compiler GOROOT
6c08f9
%if !%{golang_bootstrap}
6c08f9
export GOROOT_BOOTSTRAP=/
6c08f9
%else
6c08f9
export GOROOT_BOOTSTRAP=/opt/rh/go-toolset-1.10/root/usr/lib/go-toolset-1.10-golang
6c08f9
%endif
6c08f9
6c08f9
# set up final install location
6c08f9
export GOROOT_FINAL=%{goroot}
6c08f9
6c08f9
export GOHOSTOS=linux
6c08f9
export GOHOSTARCH=%{gohostarch}
6c08f9
6c08f9
pushd src
6c08f9
# use our gcc options for this build, but store gcc as default for compiler
6c08f9
export CFLAGS="$RPM_OPT_FLAGS"
6c08f9
export LDFLAGS="$RPM_LD_FLAGS"
6c08f9
export CC="gcc"
6c08f9
export CC_FOR_TARGET="gcc"
6c08f9
export GOOS=linux
6c08f9
export GOARCH=%{gohostarch}
6c08f9
6c08f9
DEFAULT_GO_LD_FLAGS=""
6c08f9
%if !%{external_linker}
6c08f9
export GO_LDFLAGS="-linkmode internal $DEFAULT_GO_LD_FLAGS"
6c08f9
%else
6c08f9
# Only pass a select subset of the external hardening flags. We do not pass along
6c08f9
# the default $RPM_LD_FLAGS as on certain arches Go does not fully, correctly support
6c08f9
# building in PIE mode.
6c08f9
export GO_LDFLAGS="\"-extldflags=-Wl,-z,now,-z,relro\" $DEFAULT_GO_LD_FLAGS"
6c08f9
%endif
6c08f9
%if !%{cgo_enabled}
6c08f9
export CGO_ENABLED=0
6c08f9
%endif
6c08f9
./make.bash --no-clean
6c08f9
popd
6c08f9
6c08f9
# build shared std lib
6c08f9
%if %{shared}
6c08f9
GOROOT=$(pwd) PATH=$(pwd)/bin:$PATH go install -buildmode=shared std
6c08f9
%endif
6c08f9
6c08f9
%if %{race}
6c08f9
GOROOT=$(pwd) PATH=$(pwd)/bin:$PATH go install -race std
6c08f9
%endif
6c08f9
6c08f9
6c08f9
%install
6c08f9
6c08f9
rm -rf $RPM_BUILD_ROOT
6c08f9
6c08f9
# create the top level directories
6c08f9
mkdir -p $RPM_BUILD_ROOT%{_bindir}
6c08f9
mkdir -p $RPM_BUILD_ROOT%{goroot}
6c08f9
6c08f9
# remove bootstrap binaries
6c08f9
rm -rf pkg/bootstrap/bin
6c08f9
6c08f9
# install everything into libdir (until symlink problems are fixed)
6c08f9
# https://code.google.com/p/go/issues/detail?id=5830
6c08f9
cp -apv api bin doc lib pkg src misc test VERSION \
6c08f9
   $RPM_BUILD_ROOT%{goroot}
6c08f9
6c08f9
# bz1099206
6c08f9
find $RPM_BUILD_ROOT%{goroot}/src -exec touch -r $RPM_BUILD_ROOT%{goroot}/VERSION "{}" \;
6c08f9
# and level out all the built archives
6c08f9
touch $RPM_BUILD_ROOT%{goroot}/pkg
6c08f9
find $RPM_BUILD_ROOT%{goroot}/pkg -exec touch -r $RPM_BUILD_ROOT%{goroot}/pkg "{}" \;
6c08f9
# generate the spec file ownership of this source tree and packages
6c08f9
cwd=$(pwd)
6c08f9
src_list=$cwd/go-src.list
6c08f9
pkg_list=$cwd/go-pkg.list
6c08f9
shared_list=$cwd/go-shared.list
6c08f9
race_list=$cwd/go-race.list
6c08f9
misc_list=$cwd/go-misc.list
6c08f9
docs_list=$cwd/go-docs.list
6c08f9
tests_list=$cwd/go-tests.list
6c08f9
rm -f $src_list $pkg_list $docs_list $misc_list $tests_list $shared_list $race_list
6c08f9
touch $src_list $pkg_list $docs_list $misc_list $tests_list $shared_list $race_list
6c08f9
pushd $RPM_BUILD_ROOT%{goroot}
6c08f9
    find src/ -type d -a \( ! -name testdata -a ! -ipath '*/testdata/*' \) -printf '%%%dir %{goroot}/%p\n' >> $src_list
6c08f9
    find src/ ! -type d -a \( ! -ipath '*/testdata/*' -a ! -name '*_test*.go' \) -printf '%{goroot}/%p\n' >> $src_list
6c08f9
6c08f9
    find bin/ pkg/ -type d -a ! -path '*_dynlink/*' -a ! -path '*_race/*' -printf '%%%dir %{goroot}/%p\n' >> $pkg_list
6c08f9
    find bin/ pkg/ ! -type d -a ! -path '*_dynlink/*' -a ! -path '*_race/*' -printf '%{goroot}/%p\n' >> $pkg_list
6c08f9
6c08f9
    find doc/ -type d -printf '%%%dir %{goroot}/%p\n' >> $docs_list
6c08f9
    find doc/ ! -type d -printf '%{goroot}/%p\n' >> $docs_list
6c08f9
6c08f9
    find misc/ -type d -printf '%%%dir %{goroot}/%p\n' >> $misc_list
6c08f9
    find misc/ ! -type d -printf '%{goroot}/%p\n' >> $misc_list
6c08f9
6c08f9
%if %{shared}
6c08f9
    mkdir -p %{buildroot}/%{_libdir}/
6c08f9
    mkdir -p %{buildroot}/%{golibdir}/
6c08f9
    for file in $(find .  -iname "*.so" ); do
6c08f9
        chmod 755 $file
6c08f9
        mv  $file %{buildroot}/%{golibdir}
6c08f9
        pushd $(dirname $file)
6c08f9
        ln -fs %{golibdir}/$(basename $file) $(basename $file)
6c08f9
        popd
6c08f9
        echo "%%{goroot}/$file" >> $shared_list
6c08f9
        echo "%%{golibdir}/$(basename $file)" >> $shared_list
6c08f9
    done
6c08f9
6c08f9
    find pkg/*_dynlink/ -type d -printf '%%%dir %{goroot}/%p\n' >> $shared_list
6c08f9
    find pkg/*_dynlink/ ! -type d -printf '%{goroot}/%p\n' >> $shared_list
6c08f9
%endif
6c08f9
6c08f9
%if %{race}
6c08f9
6c08f9
    find pkg/*_race/ -type d -printf '%%%dir %{goroot}/%p\n' >> $race_list
6c08f9
    find pkg/*_race/ ! -type d -printf '%{goroot}/%p\n' >> $race_list
6c08f9
6c08f9
%endif
6c08f9
6c08f9
    find test/ -type d -printf '%%%dir %{goroot}/%p\n' >> $tests_list
6c08f9
    find test/ ! -type d -printf '%{goroot}/%p\n' >> $tests_list
6c08f9
    find src/ -type d -a \( -name testdata -o -ipath '*/testdata/*' \) -printf '%%%dir %{goroot}/%p\n' >> $tests_list
6c08f9
    find src/ ! -type d -a \( -ipath '*/testdata/*' -o -name '*_test*.go' \) -printf '%{goroot}/%p\n' >> $tests_list
6c08f9
    # this is only the zoneinfo.zip
6c08f9
    find lib/ -type d -printf '%%%dir %{goroot}/%p\n' >> $tests_list
6c08f9
    find lib/ ! -type d -printf '%{goroot}/%p\n' >> $tests_list
6c08f9
popd
6c08f9
6c08f9
# remove the doc Makefile
6c08f9
rm -rfv $RPM_BUILD_ROOT%{goroot}/doc/Makefile
6c08f9
6c08f9
# put binaries to bindir, linked to the arch we're building,
6c08f9
# leave the arch independent pieces in {goroot}
6c08f9
mkdir -p $RPM_BUILD_ROOT%{goroot}/bin/linux_%{gohostarch}
6c08f9
ln -sf %{goroot}/bin/go $RPM_BUILD_ROOT%{_bindir}/go
6c08f9
ln -sf %{goroot}/bin/gofmt $RPM_BUILD_ROOT%{_bindir}/gofmt
6c08f9
6c08f9
# ensure these exist and are owned
6c08f9
mkdir -p $RPM_BUILD_ROOT%{gopath}/src/github.com
6c08f9
mkdir -p $RPM_BUILD_ROOT%{gopath}/src/bitbucket.org
6c08f9
mkdir -p $RPM_BUILD_ROOT%{gopath}/src/code.google.com/p
6c08f9
mkdir -p $RPM_BUILD_ROOT%{gopath}/src/golang.org/x
6c08f9
6c08f9
# gdbinit
6c08f9
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d
6c08f9
cp -av %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d/golang.gdb
6c08f9
6c08f9
# prelink blacklist
6c08f9
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d
6c08f9
cp -av %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d/golang.conf
15d35e
15d35e
# Quick fix for the rhbz#2014704
6c08f9
sed -i 's/const defaultGO_LDSO = `.*`/const defaultGO_LDSO = ``/' $RPM_BUILD_ROOT%{goroot}/src/internal/buildcfg/zbootstrap.go
6c08f9
6c08f9
%check
6c08f9
export GOROOT=$(pwd -P)
6c08f9
export PATH="$GOROOT"/bin:"$PATH"
6c08f9
cd src
6c08f9
6c08f9
# Add some sanity checks.
6c08f9
echo "GO VERSION:"
6c08f9
go version
6c08f9
6c08f9
echo "GO ENVIRONMENT:"
6c08f9
go env
6c08f9
6c08f9
export CC="gcc"
6c08f9
export CFLAGS="$RPM_OPT_FLAGS"
6c08f9
export LDFLAGS="$RPM_LD_FLAGS"
6c08f9
%if !%{external_linker}
6c08f9
export GO_LDFLAGS="-linkmode internal"
6c08f9
%else
6c08f9
export GO_LDFLAGS="-extldflags '$RPM_LD_FLAGS'"
6c08f9
%endif
6c08f9
%if !%{cgo_enabled} || !%{external_linker}
6c08f9
export CGO_ENABLED=0
6c08f9
%endif
6c08f9
6c08f9
# make sure to not timeout
6c08f9
export GO_TEST_TIMEOUT_SCALE=2
6c08f9
6c08f9
export GO_TEST_RUN=""
6c08f9
%ifarch aarch64
6c08f9
  export GO_TEST_RUN="-run=!testshared"
6c08f9
%endif
6c08f9
6c08f9
%if %{fail_on_tests}
6c08f9
6c08f9
./run.bash --no-rebuild -v -v -v -k $GO_TEST_RUN
6c08f9
6c08f9
# Run tests with FIPS enabled.
15d35e
export GOLANG_FIPS=1
15d35e
export OPENSSL_FORCE_FIPS_MODE=1
6c08f9
pushd crypto
6c08f9
  # Run all crypto tests but skip TLS, we will run FIPS specific TLS tests later
15d35e
  go test $(go list ./... | grep -v tls) -v
6c08f9
  # Check that signature functions have parity between boring and notboring
6c08f9
  CGO_ENABLED=0 go test $(go list ./... | grep -v tls) -v
6c08f9
popd
6c08f9
# Run all FIPS specific TLS tests
6c08f9
pushd crypto/tls
15d35e
  go test -v -run "Boring"
6c08f9
popd
6c08f9
%else
6c08f9
./run.bash --no-rebuild -v -v -v -k || :
6c08f9
%endif
6c08f9
cd ..
6c08f9
6c08f9
%files
6c08f9
15d35e
%doc LICENSE PATENTS
6c08f9
# VERSION has to be present in the GOROOT, for `go install std` to work
6c08f9
%doc %{goroot}/VERSION
6c08f9
%dir %{goroot}/doc
6c08f9
%doc %{goroot}/doc/*
6c08f9
6c08f9
# go files
6c08f9
%dir %{goroot}
6c08f9
%exclude %{goroot}/bin/
6c08f9
%exclude %{goroot}/pkg/
6c08f9
%exclude %{goroot}/src/
6c08f9
%exclude %{goroot}/doc/
6c08f9
%exclude %{goroot}/misc/
6c08f9
%exclude %{goroot}/test/
6c08f9
%{goroot}/*
6c08f9
6c08f9
# ensure directory ownership, so they are cleaned up if empty
6c08f9
%dir %{gopath}
6c08f9
%dir %{gopath}/src
6c08f9
%dir %{gopath}/src/github.com/
6c08f9
%dir %{gopath}/src/bitbucket.org/
6c08f9
%dir %{gopath}/src/code.google.com/
6c08f9
%dir %{gopath}/src/code.google.com/p/
6c08f9
%dir %{gopath}/src/golang.org
6c08f9
%dir %{gopath}/src/golang.org/x
6c08f9
6c08f9
# gdbinit (for gdb debugging)
6c08f9
%{_sysconfdir}/gdbinit.d
6c08f9
6c08f9
# prelink blacklist
6c08f9
%{_sysconfdir}/prelink.conf.d
6c08f9
6c08f9
6c08f9
%files -f go-src.list src
6c08f9
6c08f9
%files -f go-docs.list docs
6c08f9
6c08f9
%files -f go-misc.list misc
6c08f9
6c08f9
%files -f go-tests.list tests
6c08f9
6c08f9
%files -f go-pkg.list bin
6c08f9
%{_bindir}/go
6c08f9
%{_bindir}/gofmt
6c08f9
6c08f9
%if %{shared}
6c08f9
%files -f go-shared.list shared
6c08f9
%endif
6c08f9
6c08f9
%if %{race}
6c08f9
%files -f go-race.list race
6c08f9
%endif
6c08f9
6c08f9
%changelog
60c14f
* Tue May 23 2023 Alejandro SĂ¡ez <asm@redhat.com> - 1.19.9-2
60c14f
- Fix TestEncryptOAEP and TLS failures in FIPS mode
60c14f
- Resolves: rhbz#2204476
60c14f
60c14f
* Wed May 17 2023 Alejandro SĂ¡ez <asm@redhat.com> - 1.19.9-1
60c14f
- Rebase to Go 1.19.9
60c14f
- Resolves: rhbz#2204476
60c14f
15d35e
* Wed Mar 29 2023 David Benoit <dbenoit@redhat.com> - 1.19.6-2
15d35e
- Rebuild without changes
15d35e
- Related: rhbz#2175174
15d35e
15d35e
* Wed Mar 01 2023 David Benoit <dbenoit@redhat.com> - 1.19.6-1
15d35e
- Rebase to Go 1.19.6
15d35e
- Resolves: rhbz#2174429
15d35e
- Fix memory leak
15d35e
- Resolves: rhbz#2157602
15d35e
- Enable tests in check phase
15d35e
15d35e
* Wed Dec 21 2022 David Benoit <dbenoit@redhat.com> - 1.19.4-1
15d35e
- Rebase to Go 1.19.4
d6e3b2
- Fix ppc64le linker issue
15d35e
- Remove defunct patches
15d35e
- Remove downstream generated FIPS mode patches
15d35e
- Add golang-fips/go as the source for FIPS mode patches
15d35e
- Resolves: rhbz#2144539
15d35e
15d35e
* Wed Nov 30 2022 David Benoit <dbenoit@redhat.com> - 1.19.2-2
15d35e
- Fix endian issue in FIPS mode
15d35e
- Resolves: rhbz#1966992
15d35e
15d35e
* Fri Oct 21 2022 David Benoit <dbenoit@redhat.com> - 1.19.2-1
15d35e
- Update go to version 1.19.2
15d35e
- Resolves: rhbz#2134407
15d35e
15d35e
* Wed Sep 14 2022 David Benoit <dbenoit@redhat.com> - 1.19.1-2
15d35e
- Rebase to Go 1.19.1
15d35e
- Temporarily disable crypto tests
15d35e
- Resolves: rhbz#2131028
a72611
a72611
* Wed Aug 10 2022 Alejandro SĂ¡ez <asm@redhat.com> - 1.18.4-2
a72611
- Update to Go 1.18.4
a72611
- Resolves: rhbz#2109180
a72611
- Deprecates keys smaller than 2048 bits in TestDecryptOAEP in boring mode
a72611
a72611
* Fri Aug 05 2022 Alejandro SĂ¡ez <asm@redhat.com> - 1.18.4-1
a72611
- Update to Go 1.18.4
a72611
- Resolves: rhbz#2109180
a72611
a72611
* Fri Jun 10 2022 David Benoit <dbenoit@redhat.com> - 1.18.2-2
a72611
- Update deprecated openssl algorithms patch
a72611
- Rebuild against openssl-3.0.1-33
a72611
- Resolves: rhbz#2092136
a72611
- Related: rhbz#2092016
a72611
a72611
* Mon May 02 2022 David Benoit <dbenoit@redhat.com> - 1.18.2-1
a72611
- Rebase to Go 1.18.2
a72611
- Move to github.com/golang-fips/go
a72611
- Resolves: rhbz#2075169
a72611
- Resolves: rhbz#2060769
a72611
- Resolves: rhbz#2067531
a72611
- Resolves: rhbz#2067536
a72611
- Resolves: rhbz#2067552
6c08f9
- Resolves: rhbz#2025637
6c08f9
6c08f9
* Mon Dec 13 2021 Alejandro SĂ¡ez <asm@redhat.com> - 1.17.5-1
6c08f9
- Rebase to Go 1.17.5
6c08f9
- Add remove_waitgroup_misuse_tests patch
6c08f9
- Add remove_ed25519vectors_test.patch
6c08f9
- Remove FIPS checks to avoid issues in the CI
6c08f9
- Related: rhbz#2031116
6c08f9
- Resolves: rhbz#2022829
6c08f9
- Resolves: rhbz#2024687
6c08f9
- Resolves: rhbz#2030851
6c08f9
- Resolves: rhbz#2031253
6c08f9
6c08f9
* Wed Nov 03 2021 Alejandro SĂ¡ez <asm@redhat.com> - 1.17.2-1
6c08f9
- Rebase to Go 1.17.2
6c08f9
- Related: rhbz#2014087
6c08f9
- Remove favicon.ico and robots.txt references
6c08f9
- Exclude TestEd25519Vectors test
6c08f9
- Update patch rhbz1952381
6c08f9
- Remove rhbz1904567 patch
6c08f9
- Remove rhbz1939923 patch
6c08f9
6c08f9
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.16.6-4
6c08f9
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
6c08f9
  Related: rhbz#1991688
6c08f9
6c08f9
* Wed Aug 4 2021 Derek Parker <deparker@redhat.com> - 1.16.6-3
6c08f9
- Include ppc64le VDSO segfault backport fix
6c08f9
- Resolves: rhbz#1966622
6c08f9
6c08f9
* Mon Aug 2 2021 Derek Parker <deparker@redhat.com> - 1.16.6-2
6c08f9
- Bump release
6c08f9
- Resolves: rhbz#1904567
6c08f9
6c08f9
* Mon Aug 2 2021 Derek Parker <deparker@redhat.com> - 1.16.6-2
6c08f9
- Backport fix allowing LTO to be enabled on cgo sources
6c08f9
- Resolves: rhbz#1904567
6c08f9
6c08f9
* Tue Jul 20 2021 Derek Parker <deparker@redhat.com> - 1.16.6-1
6c08f9
- Rebase to 1.16.6
6c08f9
- Resolves: rhbz#1984124
6c08f9
- Replace symbols no longer present in OpenSSL 3.0 ABI
6c08f9
- Resolves: rhbz#1984110
6c08f9
- Fix TestBoringServerCurves failing when ran by itself
6c08f9
- Resolves: rhbz#1977914
6c08f9
6c08f9
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 1.16.4-3
6c08f9
- Rebuilt for RHEL 9 BETA for openssl 3.0
6c08f9
  Related: rhbz#1971065
6c08f9
6c08f9
* Fri May 28 2021 David Benoit <dbenoit@redhat.com> - 1.16.4-2
6c08f9
- Port to OpenSSL 3.0
6c08f9
- Resolves: rhbz#1952381
6c08f9
6c08f9
* Fri May 14 2021 Alejandro SĂ¡ez <asm@redhat.com> - 1.16.4-1
6c08f9
- Rebase to 1.16.4
6c08f9
- Resolves: rhbz#1955035
6c08f9
- Resolves: rhbz#1957961
6c08f9
6c08f9
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.16.1-3
6c08f9
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
6c08f9
6c08f9
* Tue Mar 30 2021 Alejandro SĂ¡ez <asm@redhat.com> - 1.16.1-2
6c08f9
- Rebase to go-1.16.1-2-openssl-fips
6c08f9
- Resolves: rhbz#1922455
6c08f9
6c08f9
* Tue Mar 30 2021 Alejandro SĂ¡ez <asm@redhat.com> - 1.16.1-1
6c08f9
- Rebase to go-1.16.1-2-openssl-fips
6c08f9
- Adds a workaround for rhbz#1939923
6c08f9
- Removes Patch224, it's on upstream -> rhbz#1888673
6c08f9
- Removes Patch225, it's on upstream -> https://go-review.googlesource.com/c/text/+/238238
6c08f9
- Removes old patches for cleaning purposes
6c08f9
- Related: rhbz#1942898
6c08f9
6c08f9
* Fri Jan 22 2021 David Benoit <dbenoit@redhat.com> - 1.15.7-1
6c08f9
- Rebase to 1.15.7
6c08f9
- Resolves: rhbz#1892207
6c08f9
- Resolves: rhbz#1918755
6c08f9
6c08f9
* Tue Nov 24 2020 David Benoit <dbenoit@redhat.com> - 1.15.5-1
6c08f9
- Rebase to 1.15.5
6c08f9
- Resolves: rhbz#1899184
6c08f9
- Resolves: rhbz#1899185
6c08f9
- Resolves: rhbz#1899186
6c08f9
6c08f9
* Thu Nov 12 2020 David Benoit <dbenoit@redhat.com> - 1.15.3-2
6c08f9
- Rebase to 1.15.3
6c08f9
- fix x/text infinite loop
6c08f9
- Resolves: rhbz#1881539
6c08f9
6c08f9
* Tue Nov 03 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.15.2-2
6c08f9
- Resolves: rhbz#1850045
6c08f9
6c08f9
* Mon Oct 19 2020 David Benoit <dbenoit@redhat.com> - 1.15.2-1
6c08f9
- Rebase to 1.15.2
6c08f9
- fix rhbz#1872622 in commit af9a1b1f6567a1c5273a134d395bfe7bb840b7f8
6c08f9
- Resolves: rhbz#1872622
6c08f9
- add net/http graceful shutdown patch
6c08f9
- Resolves: rhbz#1888673
6c08f9
- add x509warnCN patch
6c08f9
- Resolves: rhbz#1889437
6c08f9
6c08f9
* Wed Sep 09 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.15.0-1
6c08f9
- Rebase to 1.15.0
6c08f9
- Related: rhbz#1870531
6c08f9
6c08f9
* Thu Aug 27 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.14.7-2
6c08f9
- Improve test suite
6c08f9
- Resolves: rhbz#1854693
6c08f9
6c08f9
* Tue Aug 18 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.14.7-1
6c08f9
- Rebase to 1.14.7
6c08f9
6c08f9
* Mon Aug 03 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.14.6-1
6c08f9
- Rebase to 1.14.6
6c08f9
- Resolves: rhbz#1820596
6c08f9
6c08f9
* Wed Jul 08 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.14.4-2
6c08f9
- Include patch to fix missing deferreturn on linux/ppc64le
6c08f9
- Resolves: rhbz#1854836
6c08f9
6c08f9
* Thu Jun 25 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.14.4-1
6c08f9
- Rebase to 1.14.4
6c08f9
6c08f9
* Thu May 21 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.14.2-2
6c08f9
- Remove i686 references
6c08f9
- Related: rhbz#1752991
6c08f9
6c08f9
* Wed May 06 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.14.2-1
6c08f9
- Rebase to 1.14.2
6c08f9
- Related: rhbz#1820596
6c08f9
6c08f9
* Wed Nov 27 2019 Alejandro SĂ¡ez <asm@redhat.com> - 1.13.4-2
6c08f9
- Remove patches
6c08f9
- Related: rhbz#1747150
6c08f9
6c08f9
* Mon Nov 25 2019 Alejandro SĂ¡ez <asm@redhat.com> - 1.13.4-1
6c08f9
- Rebase to 1.13.4
6c08f9
- Related: rhbz#1747150
6c08f9
6c08f9
* Tue Sep 17 2019 Tom Stellard <tstellar@redhat.com> - 1.12.8-4
6c08f9
- Reduce number of threads when testing on i686
6c08f9
6c08f9
* Wed Sep 11 2019 Tom Stellard <tstellar@redhat.com> - 1.12.8-3
6c08f9
- Relax FIPS requirements to unblock OpenShift testing
6c08f9
6c08f9
* Wed Aug 28 2019 Tom Stellard <tstellar@redhat.com> - 1.12.8-2
6c08f9
- Rebase to 1.12.8
6c08f9
- Resolves: rhbz#1745706
6c08f9
- Resolves: rhbz#1745712
6c08f9
6c08f9
* Mon Aug 5 2019 Derek Parker <deparker@redhat.com> - 1.12.6-3
6c08f9
- Add README for more documentation
6c08f9
- Resolves: rhbz#1734788
6c08f9
6c08f9
* Fri Aug 2 2019 Derek Parker <deparker@redhat.com> - 1.12.6-3
6c08f9
- Revert some TLS FIPS changes for now
6c08f9
- Resolves: rhbz#1734788
6c08f9
6c08f9
* Thu Aug 1 2019 Derek Parker <deparker@redhat.com> - 1.12.6-2
6c08f9
- Updates to be less strict on key size in FIPS mode
6c08f9
- Resolves: rhbz#1734788
6c08f9
6c08f9
* Thu Jun 13 2019 Derek Parker <deparker@redhat.com> - 1.12.6-1
6c08f9
- Rebase to 1.12.6
6c08f9
- Resolves: rhbz#1677819
6c08f9
6c08f9
* Thu Jun 13 2019 Derek Parker <deparker@redhat.com> - 1.12.5-2
6c08f9
- Remove macros present in go-compiler
6c08f9
- Resolves: rhbz#1700109
6c08f9
6c08f9
* Wed Jun 12 2019 Derek Parker <deparker@redhat.com> - 1.12.5-1
6c08f9
- Rebase to 1.12.5
6c08f9
- Resolves: rhbz#1677819
6c08f9
6c08f9
* Wed May 29 2019 Derek Parker <deparker@redhat.com> - 1.12.1-2
6c08f9
- Lock OpenSSL to specific built version and include more initialization.
6c08f9
- Resolves: rhbz#1709603
6c08f9
6c08f9
* Fri May 10 2019 Derek Parker <deparker@redhat.com> - 1.12.1-1
6c08f9
- Rebase to 1.12.1
6c08f9
- Include FIPS compliance updates
6c08f9
- Resolves: rhbz#1709603
6c08f9
6c08f9
* Thu Apr 4 2019 Derek Parker <deparker@redhat.com> - 1.11.5-2
6c08f9
- Include patch to fix CVE-2019-9741
6c08f9
- Resolves: rhbz#1690443
6c08f9
6c08f9
* Mon Feb 18 2019 Derek Parker <deparker@redhat.com> - 1.11.5-2
6c08f9
- Switch to pagure fork for Go FIPS
6c08f9
6c08f9
* Thu Feb 7 2019 Derek Parker <deparker@redhat.com> - 1.11.5-1
6c08f9
- Rebase to Go 1.11.5
6c08f9
- Resolves: rhbz#1671277
6c08f9
- Fixes CVE-2019-6486
6c08f9
6c08f9
* Thu Jan 3 2019 Derek Parker <deparker@redhat.com> - 1.11.4-1
6c08f9
- Rebase to Go 1.11.4
6c08f9
- Fixes CVE-2018-16873, CVE-2018-16874, CVE-2018-16875
6c08f9
6c08f9
* Thu Dec 6 2018 Derek Parker <deparker@redhat.com> - 1.11.2-1
6c08f9
- Rebase to Go 1.11.2
6c08f9
6c08f9
* Fri Nov 16 2018 Derek Parker <deparker@redhat.com> - 1.10.3-18
6c08f9
- Remove SCL from macros
6c08f9
6c08f9
* Wed Nov 7 2018 Derek Parker <deparker@redhat.com> - 1.10.3-17
6c08f9
- Prefer go-toolset over go-toolset-1.10
6c08f9
- Resolves: rhbz#1630786
6c08f9
6c08f9
* Mon Nov 5 2018 Derek Parker <deparker@redhat.com> - 1.10.3-16
6c08f9
- Fix implicit syscall declaration warning
6c08f9
6c08f9
* Mon Nov 5 2018 Derek Parker <deparker@redhat.com> - 1.10.3-15
6c08f9
- Remove usage of redhat hardening flag file, just pass a select few manually
6c08f9
- Resolves: rhbz#1642798
6c08f9
6c08f9
* Wed Oct 31 2018 Derek Parker <deparker@redhat.com> - 1.10.3-14
6c08f9
- Do not build toolchain in PIE mode
6c08f9
- Resolves: rhbz#1642798
6c08f9
6c08f9
* Fri Oct 26 2018 Derek Parker <deparker@redhat.com> - 1.10.3-13
6c08f9
- Fix setting of internal FIPS enabled flag
6c08f9
- Resolves: rhbz#1643653
6c08f9
6c08f9
* Wed Oct 10 2018 Derek Parker <deparker@redhat.com> - 1.10.3-12
6c08f9
- Pass external linker flags to fix annocheck errors
6c08f9
- Resolves: rhbz#1624421
6c08f9
6c08f9
* Wed Oct 10 2018 Derek Parker <deparker@redhat.com> - 1.10.3-11
6c08f9
- Fix UnreachableExceptTests false panic
6c08f9
- Resolves: rhbz#1634748
6c08f9
6c08f9
* Fri Oct 5 2018 Derek Parker <deparker@redhat.com> - 1.10.3-10
6c08f9
- Remove SCL, fix bug in boringcrypto with ecdsa
6c08f9
- Related: rhbz#1635066
6c08f9
- Resolves: rhbz#1636221
6c08f9
6c08f9
* Wed Sep 26 2018 Derek Parker <deparker@redhat.com> - 1.10.3-9
6c08f9
- Add runtime FIPS detection patches
6c08f9
- Resolves: rhbz#1633351
6c08f9
6c08f9
* Fri Sep 21 2018 Derek Parker <deparker@redhat.com> - 1.10.3-8
6c08f9
- Add `gobuild` and `gotest` macros from go-compilers
6c08f9
- Resolves: rhbz#1631846
6c08f9
6c08f9
* Thu Sep 20 2018 Derek Parker <deparker@redhat.com> - 1.10.3-7
6c08f9
- Bootstrap package using old build of same package
6c08f9
- Resolves: rhbz#1630786
6c08f9
6c08f9
* Mon Aug 13 2018 Derek Parker <deparker@redhat.com> - 1.10.3-6
6c08f9
- Update stack allocation of OpenSSL type patch
6c08f9
- Resolves: rhbz#1615032
6c08f9
6c08f9
* Sat Aug 11 2018 Troy Dawson <tdawson@redhat.com> - 1.10.3-5
6c08f9
- Build on i686
6c08f9
- Related: bug#1614611
6c08f9
6c08f9
* Tue Aug 7 2018 Derek Parker <deparker@redhat.com> - 1.10.3-4
6c08f9
- Add patch fixing stack allocation of opaque OpenSSL type bug.
6c08f9
- Resolves: rhbz#1613538
6c08f9
6c08f9
* Thu Aug 2 2018 Derek Parker <deparker@redhat.com> - 1.10.3-3
6c08f9
- Add patch with tag to opt out of OpenSSL during build
6c08f9
6c08f9
* Wed Jul 25 2018 Derek Parker <deparker@redhat.com> - 1.10.3-2
6c08f9
- Add runtime requirement for openssl-devel and misc updates
6c08f9
6c08f9
* Tue Jul 24 2018 Derek Parker <deparker@redhat.com> - 1.10.3-1
6c08f9
- Bump to 1.10.3
6c08f9
6c08f9
* Tue Jul 24 2018 Derek Parker <deparker@redhat.com> - 1.10.2-3
6c08f9
- Prepare for module build
6c08f9
6c08f9
* Wed Jun 27 2018 Derek Parker <deparker@redhat.com> - 1.10.2-2
6c08f9
- Include FIPS patches
6c08f9
6c08f9
* Wed May 23 2018 Derek Parker <deparker@redhat.com> - 1.10.2-1
6c08f9
- Bump to Go 1.10.2
6c08f9
6c08f9
* Thu Mar 15 2018 Derek Parker <deparker@redhat.com> - 1.10-1
6c08f9
- Bump to Go 1.10
6c08f9
6c08f9
* Wed Oct 18 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8.5-1
6c08f9
- Fix CVE-2017-15041 and CVE-2017-15042
6c08f9
- Resolves: BZ#1499160, BZ#1498073, BZ#1512063
6c08f9
6c08f9
* Thu Aug 31 2017 Tom Stellard <tstellar@redhat.com> - 1.8.3-4
6c08f9
- Explicitly require /usr/bin/gcc
6c08f9
- Resolves: #1487345
6c08f9
6c08f9
* Thu Jun 22 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8.3-3
6c08f9
- apply asn1 patch
6c08f9
- add ppc64le trampolines patch
6c08f9
6c08f9
* Wed Jun 14 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8.3-2
6c08f9
- regular GTS build
6c08f9
6c08f9
* Tue Jun 06 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8.3-1
6c08f9
- initial GTS build
6c08f9
6c08f9
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-0.rc3.2.1
6c08f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6c08f9
6c08f9
* Fri Jan 27 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8-0.rc3.2
6c08f9
- make possible to override default traceback level at build time
6c08f9
- add sub-package race containing std lib built with -race enabled
6c08f9
- Related: BZ#1411242
6c08f9
6c08f9
* Fri Jan 27 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8-0.rc3.1
6c08f9
- rebase to go1.8rc3
6c08f9
- Resolves: BZ#1411242
6c08f9
6c08f9
* Fri Jan 20 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.7.4-2
6c08f9
- Resolves: BZ#1404679
6c08f9
- expose IfInfomsg.X__ifi_pad on s390x
6c08f9
6c08f9
* Fri Dec 02 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7.4-1
6c08f9
- Bump to 1.7.4
6c08f9
- Resolves: BZ#1400732
6c08f9
6c08f9
* Thu Nov 17 2016 Tom Callaway <spot@fedoraproject.org> - 1.7.3-2
6c08f9
- re-enable the NIST P-224 curve
6c08f9
6c08f9
* Thu Oct 20 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7.3-1
6c08f9
- Resolves: BZ#1387067 - golang-1.7.3 is available
6c08f9
- added fix for tests failing with latest tzdata
6c08f9
6c08f9
* Fri Sep 23 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7.1-2
6c08f9
- fix link failure due to relocation overflows on PPC64X
6c08f9
6c08f9
* Thu Sep 08 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7.1-1
6c08f9
- rebase to 1.7.1
6c08f9
- Resolves: BZ#1374103
6c08f9
6c08f9
* Tue Aug 23 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7-1
6c08f9
- update to released version
6c08f9
- related: BZ#1342090, BZ#1357394
6c08f9
6c08f9
* Mon Aug 08 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7-0.3.rc5
6c08f9
- Obsolete golang-vet and golang-cover from golang-googlecode-tools package
6c08f9
  vet/cover binaries are provided by golang-bin rpm (thanks to jchaloup)
6c08f9
- clean up exclusive arch after s390x boostrap
6c08f9
- resolves: #1268206
6c08f9
6c08f9
* Wed Aug 03 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7-0.2.rc5
6c08f9
- rebase to go1.7rc5
6c08f9
- Resolves: BZ#1342090
6c08f9
6c08f9
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-0.1.rc2
6c08f9
- https://fedoraproject.org/wiki/Changes/golang1.7
6c08f9
6c08f9
* Tue Jul 19 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7-0.0.rc2
6c08f9
- rebase to 1.7rc2
6c08f9
- added s390x build
6c08f9
- improved shared lib packaging
6c08f9
- Resolves: bz1357602 - CVE-2016-5386
6c08f9
- Resolves: bz1342090, bz1342090
6c08f9
6c08f9
* Tue Apr 26 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.6.2-1
6c08f9
- rebase to 1.6.2
6c08f9
- Resolves: bz1329206 - golang-1.6.2.src is available
6c08f9
6c08f9
* Wed Apr 13 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.6.1-1
6c08f9
- rebase to 1.6.1
6c08f9
- Resolves: bz1324344 - CVE-2016-3959
6c08f9
- Resolves: bz1324951 - prelink is gone, /etc/prelink.conf.d/* is no longer used
6c08f9
- Resolves: bz1326366 - wrong epoll_event struct for ppc64le/ppc64
6c08f9
6c08f9
* Mon Feb 22 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.6-1
6c08f9
- Resolves: bz1304701 - rebase to go1.6 release
6c08f9
- Resolves: bz1304591 - fix possible stack miss-alignment in callCgoMmap
6c08f9
6c08f9
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-0.3.rc1
6c08f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6c08f9
6c08f9
* Fri Jan 29 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.6-0.2.rc1
6c08f9
- disabled cgo and external linking on ppc64
6c08f9
6c08f9
* Thu Jan 28 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.6-0.1.rc1
6c08f9
- Resolves bz1292640, rebase to pre-release 1.6
6c08f9
- bootstrap for PowerPC
6c08f9
- fix rpmlint errors/warning
6c08f9
6c08f9
* Thu Jan 14 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.5.3-1
6c08f9
- rebase to 1.5.3
6c08f9
- resolves bz1293451, CVE-2015-8618
6c08f9
- apply timezone patch, avoid using bundled data
6c08f9
- print out rpm build system info
6c08f9
6c08f9
* Fri Dec 11 2015 Jakub ÄŒajka <jcajka@redhat.com> - 1.5.2-2
6c08f9
- bz1290543 Accept x509 certs with negative serial
6c08f9
6c08f9
* Tue Dec 08 2015 Jakub ÄŒajka <jcajka@redhat.com> - 1.5.2-1
6c08f9
- bz1288263 rebase to 1.5.2
6c08f9
- spec file clean up
6c08f9
- added build options
6c08f9
- scrubbed "Project Gutenberg License"
6c08f9
6c08f9
* Mon Oct 19 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5.1-1
6c08f9
- bz1271709 include patch from upstream fix
6c08f9
6c08f9
* Wed Sep 09 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5.1-0
6c08f9
- update to go1.5.1
6c08f9
6c08f9
* Fri Sep 04 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-8
6c08f9
- bz1258166 remove srpm macros, for go-srpm-macros
6c08f9
6c08f9
* Thu Sep 03 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-7
6c08f9
- bz1258166 remove srpm macros, for go-srpm-macros
6c08f9
6c08f9
* Thu Aug 27 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-6
6c08f9
- starting a shared object subpackage. This will be x86_64 only until upstream supports more arches shared objects.
6c08f9
6c08f9
* Thu Aug 27 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-5
6c08f9
- bz991759 gdb path fix
6c08f9
6c08f9
* Wed Aug 26 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-4
6c08f9
- disable shared object until linux/386 is ironned out
6c08f9
- including the test/ directory for tests
6c08f9
6c08f9
* Tue Aug 25 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-3
6c08f9
- bz1256910 only allow the golang zoneinfo.zip to be used in tests
6c08f9
- bz1166611 add golang.org/x directory
6c08f9
- bz1256525 include stdlib shared object. This will let other libraries and binaries
6c08f9
  build with `go build -buildmode=shared -linkshared ...` or similar.
6c08f9
6c08f9
* Sun Aug 23 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.5-2
6c08f9
- Enable aarch64
6c08f9
- Minor cleanups
6c08f9
6c08f9
* Thu Aug 20 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-1
6c08f9
- updating to go1.5
6c08f9
6c08f9
* Thu Aug 06 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.11.rc1
6c08f9
- fixing the sources reference
6c08f9
6c08f9
* Thu Aug 06 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.10.rc1
6c08f9
- updating to go1.5rc1
6c08f9
- checks are back in place
6c08f9
6c08f9
* Tue Aug 04 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.9.beta3
6c08f9
- pull in upstream archive/tar fix
6c08f9
6c08f9
* Thu Jul 30 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.8.beta3
6c08f9
- updating to go1.5beta3
6c08f9
6c08f9
* Thu Jul 30 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.7.beta2
6c08f9
- add the patch ..
6c08f9
6c08f9
* Thu Jul 30 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.6.beta2
6c08f9
- increase ELFRESERVE (bz1248071)
6c08f9
6c08f9
* Tue Jul 28 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.5-0.5.beta2
6c08f9
- correct package version and release tags as per naming guidelines
6c08f9
6c08f9
* Fri Jul 17 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.99-4.1.5beta2
6c08f9
- adding test output, for visibility
6c08f9
6c08f9
* Fri Jul 10 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.99-3.1.5beta2
6c08f9
- updating to go1.5beta2
6c08f9
6c08f9
* Fri Jul 10 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.99-2.1.5beta1
6c08f9
- add checksum to sources and fixed one patch
6c08f9
6c08f9
* Fri Jul 10 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.99-1.1.5beta1
6c08f9
- updating to go1.5beta1
6c08f9
6c08f9
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-3
6c08f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6c08f9
6c08f9
* Wed Mar 18 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.2-2
6c08f9
- obsoleting deprecated packages
6c08f9
6c08f9
* Wed Feb 18 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.2-1
6c08f9
- updating to go1.4.2
6c08f9
6c08f9
* Fri Jan 16 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.1-1
6c08f9
- updating to go1.4.1
6c08f9
6c08f9
* Fri Jan 02 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4-2
6c08f9
- doc organizing
6c08f9
6c08f9
* Thu Dec 11 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.4-1
6c08f9
- update to go1.4 release
6c08f9
6c08f9
* Wed Dec 03 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.99-3.1.4rc2
6c08f9
- update to go1.4rc2
6c08f9
6c08f9
* Mon Nov 17 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.99-2.1.4rc1
6c08f9
- update to go1.4rc1
6c08f9
6c08f9
* Thu Oct 30 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.99-1.1.4beta1
6c08f9
- update to go1.4beta1
6c08f9
6c08f9
* Thu Oct 30 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.3-3
6c08f9
- macros will need to be in their own rpm
6c08f9
6c08f9
* Fri Oct 24 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.3-2
6c08f9
- split out rpm macros (bz1156129)
6c08f9
- progress on gccgo accomodation
6c08f9
6c08f9
* Wed Oct 01 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.3-1
6c08f9
- update to go1.3.3 (bz1146882)
6c08f9
6c08f9
* Mon Sep 29 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.2-1
6c08f9
- update to go1.3.2 (bz1147324)
6c08f9
6c08f9
* Thu Sep 11 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.1-3
6c08f9
- patching the tzinfo failure
6c08f9
6c08f9
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
6c08f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
6c08f9
6c08f9
* Wed Aug 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.1-1
6c08f9
- update to go1.3.1
6c08f9
6c08f9
* Wed Aug 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-11
6c08f9
- merged a line wrong
6c08f9
6c08f9
* Wed Aug 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-10
6c08f9
- more work to get cgo.a timestamps to line up, due to build-env
6c08f9
- explicitly list all the files and directories for the source and packages trees
6c08f9
- touch all the built archives to be the same
6c08f9
6c08f9
* Mon Aug 11 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-9
6c08f9
- make golang-src 'noarch' again, since that was not a fix, and takes up more space
6c08f9
6c08f9
* Mon Aug 11 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-8
6c08f9
- update timestamps of source files during %%install bz1099206
6c08f9
6c08f9
* Fri Aug 08 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-7
6c08f9
- update timestamps of source during %%install bz1099206
6c08f9
6c08f9
* Wed Aug 06 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-6
6c08f9
- make the source subpackage arch'ed, instead of noarch
6c08f9
6c08f9
* Mon Jul 21 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-5
6c08f9
- fix the writing of pax headers
6c08f9
6c08f9
* Tue Jul 15 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-4
6c08f9
- fix the loading of gdb safe-path. bz981356
6c08f9
6c08f9
* Tue Jul 08 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-3
6c08f9
- `go install std` requires gcc, to build cgo. bz1105901, bz1101508
6c08f9
6c08f9
* Mon Jul 07 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-2
6c08f9
- archive/tar memory allocation improvements
6c08f9
6c08f9
* Thu Jun 19 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-1
6c08f9
- update to go1.3
6c08f9
6c08f9
* Fri Jun 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3rc2-1
6c08f9
- update to go1.3rc2
6c08f9
6c08f9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3rc1-2
6c08f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6c08f9
6c08f9
* Tue Jun 03 2014 Vincent Batts <vbatts@redhat.com> 1.3rc1-1
6c08f9
- update to go1.3rc1
6c08f9
- new arch file shuffling
6c08f9
6c08f9
* Wed May 21 2014 Vincent Batts <vbatts@redhat.com> 1.3beta2-1
6c08f9
- update to go1.3beta2
6c08f9
- no longer provides go-mode for xemacs (emacs only)
6c08f9
6c08f9
* Wed May 21 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-7
6c08f9
- bz1099206 ghost files are not what is needed
6c08f9
6c08f9
* Tue May 20 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-6
6c08f9
- bz1099206 more fixing. The packages %%post need golang-bin present first
6c08f9
6c08f9
* Tue May 20 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-5
6c08f9
- bz1099206 more fixing. Let go fix its own timestamps and freshness
6c08f9
6c08f9
* Tue May 20 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-4
6c08f9
- fix the existence and alternatives of `go` and `gofmt`
6c08f9
6c08f9
* Mon May 19 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-3
6c08f9
- bz1099206 fix timestamp issue caused by koji builders
6c08f9
6c08f9
* Fri May 09 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-2
6c08f9
- more arch file shuffling
6c08f9
6c08f9
* Fri May 09 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-1
6c08f9
- update to go1.2.2
6c08f9
6c08f9
* Thu May 08 2014 Vincent Batts <vbatts@redhat.com> 1.2.1-8
6c08f9
- RHEL6 rpm macros can't %%exlude missing files
6c08f9
6c08f9
* Wed May 07 2014 Vincent Batts <vbatts@redhat.com> 1.2.1-7
6c08f9
- missed two arch-dependent src files
6c08f9
6c08f9
* Wed May 07 2014 Vincent Batts <vbatts@redhat.com> 1.2.1-6
6c08f9
- put generated arch-dependent src in their respective RPMs
6c08f9
6c08f9
* Fri Apr 11 2014 Vincent Batts <vbatts@redhat.com> 1.2.1-5
6c08f9
- skip test that is causing a SIGABRT on fc21 bz1086900
6c08f9
6c08f9
* Thu Apr 10 2014 Vincent Batts <vbatts@fedoraproject.org> 1.2.1-4
6c08f9
- fixing file and directory ownership bz1010713
6c08f9
6c08f9
* Wed Apr 09 2014 Vincent Batts <vbatts@fedoraproject.org> 1.2.1-3
6c08f9
- including more to macros (%%go_arches)
6c08f9
- set a standard goroot as /usr/lib/golang, regardless of arch
6c08f9
- include sub-packages for compiler toolchains, for all golang supported architectures
6c08f9
6c08f9
* Wed Mar 26 2014 Vincent Batts <vbatts@fedoraproject.org> 1.2.1-2
6c08f9
- provide a system rpm macros. Starting with gopath
6c08f9
6c08f9
* Tue Mar 04 2014 Adam Miller <maxamillion@fedoraproject.org> 1.2.1-1
6c08f9
- Update to latest upstream
6c08f9
6c08f9
* Thu Feb 20 2014 Adam Miller <maxamillion@fedoraproject.org> 1.2-7
6c08f9
- Remove  _BSD_SOURCE and _SVID_SOURCE, they are deprecated in recent
6c08f9
  versions of glibc and aren't needed
6c08f9
6c08f9
* Wed Feb 19 2014 Adam Miller <maxamillion@fedoraproject.org> 1.2-6
6c08f9
- pull in upstream archive/tar implementation that supports xattr for
6c08f9
  docker 0.8.1
6c08f9
6c08f9
* Tue Feb 18 2014 Vincent Batts <vbatts@redhat.com> 1.2-5
6c08f9
- provide 'go', so users can yum install 'go'
6c08f9
6c08f9
* Fri Jan 24 2014 Vincent Batts <vbatts@redhat.com> 1.2-4
6c08f9
- skip a flaky test that is sporadically failing on the build server
6c08f9
6c08f9
* Thu Jan 16 2014 Vincent Batts <vbatts@redhat.com> 1.2-3
6c08f9
- remove golang-godoc dependency. cyclic dependency on compiling godoc
6c08f9
6c08f9
* Wed Dec 18 2013 Vincent Batts <vbatts@redhat.com> - 1.2-2
6c08f9
- removing P224 ECC curve
6c08f9
6c08f9
* Mon Dec 2 2013 Vincent Batts <vbatts@fedoraproject.org> - 1.2-1
6c08f9
- Update to upstream 1.2 release
6c08f9
- remove the pax tar patches
6c08f9
6c08f9
* Tue Nov 26 2013 Vincent Batts <vbatts@redhat.com> - 1.1.2-8
6c08f9
- fix the rpmspec conditional for rhel and fedora
6c08f9
6c08f9
* Thu Nov 21 2013 Vincent Batts <vbatts@redhat.com> - 1.1.2-7
6c08f9
- patch tests for testing on rawhide
6c08f9
- let the same spec work for rhel and fedora
6c08f9
6c08f9
* Wed Nov 20 2013 Vincent Batts <vbatts@redhat.com> - 1.1.2-6
6c08f9
- don't symlink /usr/bin out to ../lib..., move the file
6c08f9
- seperate out godoc, to accomodate the go.tools godoc
6c08f9
6c08f9
* Fri Sep 20 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-5
6c08f9
- Pull upstream patches for BZ#1010271
6c08f9
- Add glibc requirement that got dropped because of meta dep fix
6c08f9
6c08f9
* Fri Aug 30 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-4
6c08f9
- fix the libc meta dependency (thanks to vbatts [at] redhat.com for the fix)
6c08f9
6c08f9
* Tue Aug 27 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-3
6c08f9
- Revert incorrect merged changelog
6c08f9
6c08f9
* Tue Aug 27 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-2
6c08f9
- This was reverted, just a placeholder changelog entry for bad merge
6c08f9
6c08f9
* Tue Aug 20 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-1
6c08f9
- Update to latest upstream
6c08f9
6c08f9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-7
6c08f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6c08f9
6c08f9
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.1.1-6
6c08f9
- Perl 5.18 rebuild
6c08f9
6c08f9
* Wed Jul 10 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-5
6c08f9
- Blacklist testdata files from prelink
6c08f9
- Again try to fix #973842
6c08f9
6c08f9
* Fri Jul  5 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-4
6c08f9
- Move src to libdir for now (#973842) (upstream issue https://code.google.com/p/go/issues/detail?id=5830)
6c08f9
- Eliminate noarch data package to work around RPM bug (#975909)
6c08f9
- Try to add runtime-gdb.py to the gdb safe-path (#981356)
6c08f9
6c08f9
* Wed Jun 19 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-3
6c08f9
- Use lua for pretrans (http://fedoraproject.org/wiki/Packaging:Guidelines#The_.25pretrans_scriptlet)
6c08f9
6c08f9
* Mon Jun 17 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-2
6c08f9
- Hopefully really fix #973842
6c08f9
- Fix update from pre-1.1.1 (#974840)
6c08f9
6c08f9
* Thu Jun 13 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-1
6c08f9
- Update to 1.1.1
6c08f9
- Fix basically useless package (#973842)
6c08f9
6c08f9
* Sat May 25 2013 Dan HorĂ¡k <dan[at]danny.cz> - 1.1-3
6c08f9
- set ExclusiveArch
6c08f9
6c08f9
* Fri May 24 2013 Adam Goode <adam@spicenitz.org> - 1.1-2
6c08f9
- Fix noarch package discrepancies
6c08f9
6c08f9
* Fri May 24 2013 Adam Goode <adam@spicenitz.org> - 1.1-1
6c08f9
- Initial Fedora release.
6c08f9
- Update to 1.1
6c08f9
6c08f9
* Thu May  9 2013 Adam Goode <adam@spicenitz.org> - 1.1-0.3.rc3
6c08f9
- Update to rc3
6c08f9
6c08f9
* Thu Apr 11 2013 Adam Goode <adam@spicenitz.org> - 1.1-0.2.beta2
6c08f9
- Update to beta2
6c08f9
6c08f9
* Tue Apr  9 2013 Adam Goode <adam@spicenitz.org> - 1.1-0.1.beta1
6c08f9
- Initial packaging.