Hello community,

here is the log from the commit of package go1.14 for openSUSE:Factory checked 
in at 2020-07-21 15:43:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/go1.14 (Old)
 and      /work/SRC/openSUSE:Factory/.go1.14.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "go1.14"

Tue Jul 21 15:43:19 2020 rev:7 rq:821469 version:1.14.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/go1.14/go1.14.changes    2020-06-12 
21:37:14.583743342 +0200
+++ /work/SRC/openSUSE:Factory/.go1.14.new.3592/go1.14.changes  2020-07-21 
15:45:49.451956465 +0200
@@ -1,0 +2,49 @@
+Fri Jul 17 07:33:25 UTC 2020 - Jeff Kowalczyk <jkowalc...@suse.com>
+
+- go1.14.6 (released 2020-07-16) includes fixes to the go command,
+  the compiler, the linker, vet, and the database/sql,
+  encoding/json, net/http, reflect, and testing packages.
+  Refs boo#1164903 go1.14 release tracking
+  * go#39991 runtime: missing deferreturn on linux/ppc64le
+  * go#39920 net/http: panic on misformed If-None-Match Header with 
http.ServeContent
+  * go#39849 cmd/compile: internal compile error when using sync.Pool: 
mismatched zero/store sizes
+  * go#39824 cmd/go: TestBuildIDContainsArchModeEnv/386 fails on linux/386 in 
Go 1.14 and 1.13, not 1.15
+  * go#39698 reflect: panic from malloc after MakeFunc function returns value 
that is also stored globally
+  * go#39636 reflect: DeepEqual can return true for values that are not equal
+  * go#39585 encoding/json: incorrect object key unmarshaling when using 
custom TextUnmarshaler as Key with string values
+  * go#39562 cmd/compile/internal/ssa: TestNexting/dlv-dbg-hist failing on 
linux-386-longtest builder because it tries to use an older version of dlv 
which only supports linux/amd64
+  * go#39308 testing: streaming output loses parallel subtest associations
+  * go#39288 cmd/vet: update for new number formats
+  * go#39101 database/sql: context cancellation allows statements to execute 
after rollback
+  * go#38030 doc: BuildNameToCertificate deprecated in go 1.14 not mentioned 
in the release notes
+
+-------------------------------------------------------------------
+Wed Jul 14 00:24:08 UTC 2020 - Jeff Kowalczyk <jkowalc...@suse.com>
+
+- go1.14.5 (released 2020-07-14) includes security fixes to the
+  crypto/x509 and net/http packages addressing the following CVEs:
+  CVE-2020-15586 CVE-2020-14039
+  Refs boo#1174153 boo#1174191
+  Refs boo#1164903 go1.14 release tracking
+  * boo#1174153 CVE-2020-15586
+  * boo#1174191 CVE-2020-14039 (Windows only)
+  * go#40212 net/http: Expect 100-continue panics in httputil.ReverseProxy
+  * go#40210 crypto/x509: Certificate.Verify method seemingly ignoring EKU 
requirements on Windows
+
+-------------------------------------------------------------------
+Tue Jun 30 17:14:24 UTC 2020 - Andreas Schwab <sch...@suse.de>
+
+- Add support for riscv64
+
+-------------------------------------------------------------------
+Mon Jun 29 13:46:47 UTC 2020 - Dirk Mueller <dmuel...@suse.com>
+
+- Packaging improvements for update-alternatives priority,
+  %license tag, and permissions in %files macro section.
+  * update-alternatives increment priority on this and subsequent
+    go1.x versions using priority = 20 + (minor version) i.e.
+    go1.13 = 33, go1.14 = 34, etc.
+  * Use %license tag for LICENSE keep %doc for suse_version < 1500
+  * Remove %defattr(-,root,root,-) in %files
+
+-------------------------------------------------------------------
@@ -4 +53,6 @@
-- Add Prefer-etc-hosts-over-DNS.patch to ensure /etc/hosts is used if 
/etc/nsswitch.conf is not present boo#1172868 gh#golang/go#35305
+- Add patch to ensure /etc/hosts is used if /etc/nsswitch.conf is
+  not present boo#1172868 gh#golang/go#35305
+  * add go1.x-prefer-etc-hosts-over-dns.patch
+  * Patch renamed and fields added per packaging guidelines
+    on 2020-07-15 by Jeff Kowalczyk <jkowalc...@suse.com>
+  * Patch can likely be dropped for go1.16 in February 2021

Old:
----
  Prefer-etc-hosts-over-DNS.patch
  go1.14.4.src.tar.gz

New:
----
  go1.14.6.src.tar.gz
  go1.x-prefer-etc-hosts-over-dns.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ go1.14.spec ++++++
--- /var/tmp/diff_new_pack.JixHdO/_old  2020-07-21 15:45:52.811960895 +0200
+++ /var/tmp/diff_new_pack.JixHdO/_new  2020-07-21 15:45:52.815960901 +0200
@@ -28,7 +28,11 @@
 %define gcc_go_version 6
 %define go_bootstrap_version go1.4
 %else
+%ifarch riscv64
+%define go_bootstrap_version go1.14
+%else
 %define go_bootstrap_version go1.9
+%endif
 %if 0%{?sle_version} == 150000
 # SLE15 or Leap 15.x
 %define gcc_go_version 7
@@ -126,9 +130,12 @@
 %ifarch s390x
 %define go_arch s390x
 %endif
+%ifarch riscv64
+%define go_arch riscv64
+%endif
 
 Name:           go1.14
-Version:        1.14.4
+Version:        1.14.6
 Release:        0
 Summary:        A compiled, garbage-collected, concurrent programming language
 License:        BSD-3-Clause
@@ -146,7 +153,7 @@
 Patch8:         gcc6-go.patch
 Patch9:         gcc7-go.patch
 # PATCH-FIX-UPSTREAM prefer /etc/hosts over DNS when /etc/nsswitch.conf not 
present boo#1172868 gh#golang/go#35305
-Patch12:        Prefer-etc-hosts-over-DNS.patch
+Patch12:        go1.x-prefer-etc-hosts-over-dns.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # boostrap
 %if %{with gccgo}
@@ -187,7 +194,7 @@
 # go-vim/emacs were separate projects starting from 1.4
 Obsoletes:      go-emacs <= 1.3.3
 Obsoletes:      go-vim <= 1.3.3
-ExclusiveArch:  %ix86 x86_64 %arm aarch64 ppc64 ppc64le s390x
+ExclusiveArch:  %ix86 x86_64 %arm aarch64 ppc64 ppc64le s390x riscv64
 
 %description
 Go is an expressive, concurrent, garbage collected systems programming language
@@ -364,7 +371,7 @@
 %post
 
 update-alternatives \
-  --install %{_bindir}/go go %{_libdir}/go/%{go_api}/bin/go 30 \
+  --install %{_bindir}/go go %{_libdir}/go/%{go_api}/bin/go $((20+$(echo 
%{version} | cut -d. -f2))) \
   --slave %{_bindir}/gofmt gofmt %{_libdir}/go/%{go_api}/bin/gofmt \
   --slave %{_sysconfdir}/gdbinit.d/go.gdb go.gdb 
%{_libdir}/go/%{go_api}/bin/gdbinit.d/go.gdb
 
@@ -374,7 +381,6 @@
 fi
 
 %files
-%defattr(-,root,root,-)
 %{_bindir}/go
 %{_bindir}/gofmt
 %dir %{_libdir}/go
@@ -391,10 +397,14 @@
 %doc %{_docdir}/go/%{go_api}/AUTHORS
 %doc %{_docdir}/go/%{go_api}/CONTRIBUTORS
 %doc %{_docdir}/go/%{go_api}/CONTRIBUTING.md
-%doc %{_docdir}/go/%{go_api}/LICENSE
 %doc %{_docdir}/go/%{go_api}/PATENTS
 %doc %{_docdir}/go/%{go_api}/README.md
 %doc %{_docdir}/go/%{go_api}/README.SUSE
+%if 0%{?suse_version} < 1500
+%doc %{_docdir}/go/%{go_api}/LICENSE
+%else
+%license %{_docdir}/go/%{go_api}/LICENSE
+%endif%
 
 # We don't include TSAN in the main Go package.
 %ifarch %{tsan_arch}
@@ -414,7 +424,6 @@
 
 %ifarch %{tsan_arch}
 %files race
-%defattr(-,root,root,-)
 %{_datadir}/go/%{go_api}/src/runtime/race/race_linux_%{go_arch}.syso
 %endif
 

++++++ go1.14.4.src.tar.gz -> go1.14.6.src.tar.gz ++++++
/work/SRC/openSUSE:Factory/go1.14/go1.14.4.src.tar.gz 
/work/SRC/openSUSE:Factory/.go1.14.new.3592/go1.14.6.src.tar.gz differ: char 
15, line 1

++++++ go1.x-prefer-etc-hosts-over-dns.patch ++++++
From: Richard Brown <rbrown...@opensuse.org>
Date: Fri, 12 Jun 2020 14:21:56 +0200
Subject: net: prefer /etc/hosts over DNS when no /etc/nsswitch.conf is present
References: gh#golang/go#35305 boo#1172868
Upstream: submitted

go standard library package net assumes file /etc/nsswitch.conf and does not
honor /usr/etc/nssswitch.conf location used in openSUSE. Upstream is reviewing a
fix to remove invalid the glibc DNS resolution assumption for go1.16 release
cycle scheduled for Februay 2021.

---
 src/net/conf.go | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/net/conf.go b/src/net/conf.go
index 971b1a399a..f8f9aa70e4 100644
--- a/src/net/conf.go
+++ b/src/net/conf.go
@@ -203,9 +203,8 @@ func (c *conf) hostLookupOrder(r *Resolver, hostname 
string) (ret hostLookupOrde
                        return fallbackOrder
                }
                if c.goos == "linux" {
-                       // glibc says the default is "dns [!UNAVAIL=return] 
files"
-                       // 
https://www.gnu.org/software/libc/manual/html_node/Notes-on-NSS-Configuration-File.html.
-                       return hostLookupDNSFiles
+                       // Workaround issues identified in 
https://github.com/golang/go/issues/35305
+                       return hostLookupFilesDNS
                }
                return hostLookupFilesDNS
        }
-- 
2.26.2


Reply via email to