commit golang-org-x-crypto for openSUSE:Factory

2018-02-09 Thread root
Hello community,

here is the log from the commit of package golang-org-x-crypto for 
openSUSE:Factory checked in at 2018-02-09 15:46:04

Comparing /work/SRC/openSUSE:Factory/golang-org-x-crypto (Old)
 and  /work/SRC/openSUSE:Factory/.golang-org-x-crypto.new (New)


Package is "golang-org-x-crypto"

Fri Feb  9 15:46:04 2018 rev:5 rq:558768 version:1.5.2+git20171021.edd5e9b

Changes:

--- /work/SRC/openSUSE:Factory/golang-org-x-crypto/golang-org-x-crypto.changes  
2017-09-14 21:13:09.623932403 +0200
+++ 
/work/SRC/openSUSE:Factory/.golang-org-x-crypto.new/golang-org-x-crypto.changes 
2018-02-09 15:46:06.194499772 +0100
@@ -1,0 +2,15 @@
+Mon Oct 23 14:06:07 UTC 2017 - opensuse-packag...@opensuse.org
+
+- Update to version 1.5.2+git20171021.edd5e9b:
+  * acme: reword the godoc to be more human readable
+  * ssh: remove unused buffer.eof return value
+  * blake2b: fix typo in error message
+  * acme/autocert: add Cache to Manager example
+  * scrypt: update recommended parameters for 2017
+  * scrypt: add missing license header
+  * ssh: add support for banners
+  * acme: fill Subject CN field in the tls-sni challenge certs
+  * acme, acme/autocert: add missing articles
+  * ocsp: remove incorrect iota and update docs on CreateRequest
+
+---

Old:

  crypto-1.5.2+git20161212.9a6f0a0.tar.xz

New:

  crypto-1.5.2+git20171021.edd5e9b.tar.xz



Other differences:
--
++ golang-org-x-crypto.spec ++
--- /var/tmp/diff_new_pack.ECVLfv/_old  2018-02-09 15:46:06.830476935 +0100
+++ /var/tmp/diff_new_pack.ECVLfv/_new  2018-02-09 15:46:06.830476935 +0100
@@ -24,7 +24,7 @@
 %global import_path golang.org/x/crypto
 
 Name:   golang-org-x-%{repo}
-Version:1.5.2+git20161212.9a6f0a0
+Version:1.5.2+git20171021.edd5e9b
 Release:0
 Summary:Go supplementary cryptography libraries
 License:BSD-3-Clause
@@ -39,6 +39,8 @@
 
 BuildRequires:  golang-org-x-net-context
 Requires:   golang-org-x-net-context
+BuildRequires:  golang(golang.org/x/sys/unix)
+Requires:   golang(golang.org/x/sys/unix)
 
 %{go_nostrip}
 %{go_provides}
@@ -60,6 +62,6 @@
 
 %files -f file.lst
 %defattr(-,root,root,-)
-%doc README LICENSE PATENTS AUTHORS CONTRIBUTORS
+%doc README.md LICENSE PATENTS AUTHORS CONTRIBUTORS
 
 %changelog

++ crypto-1.5.2+git20161212.9a6f0a0.tar.xz -> 
crypto-1.5.2+git20171021.edd5e9b.tar.xz ++
 19352 lines of diff (skipped)




commit golang-org-x-crypto for openSUSE:Factory

2017-09-14 Thread root
Hello community,

here is the log from the commit of package golang-org-x-crypto for 
openSUSE:Factory checked in at 2017-09-14 21:13:06

Comparing /work/SRC/openSUSE:Factory/golang-org-x-crypto (Old)
 and  /work/SRC/openSUSE:Factory/.golang-org-x-crypto.new (New)


Package is "golang-org-x-crypto"

Thu Sep 14 21:13:06 2017 rev:4 rq:477586 version:1.5.2+git20161212.9a6f0a0

Changes:

--- /work/SRC/openSUSE:Factory/golang-org-x-crypto/golang-org-x-crypto.changes  
2016-01-01 19:51:10.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.golang-org-x-crypto.new/golang-org-x-crypto.changes 
2017-09-14 21:13:09.623932403 +0200
@@ -1,0 +2,41 @@
+Tue Feb 28 15:52:08 UTC 2017 - th...@suse.de
+
+- Fix requirements 
+
+---
+Tue Dec 13 10:27:15 UTC 2016 - tboer...@suse.com
+
+- Update to version 1.5.2+git20161212.9a6f0a0:
+  * blake2s: fix build constraints
+  * chacha20poly1305: fix build constraints
+  * x/crypto/ssh: Add FingerprintLegacyMD5 and FingerprintSHA256 methods
+  * acme/autocert: remove trailing dot from domain before requesting cert
+  * x/crypto/blake2b: SSE4.1 is bit 19, not 15.
+  * chacha20poly1305: make polyHashADInternal private
+  * bn256: fix equations in comments
+  * x/crypto/ssh/terminal: replace \n with \r\n.
+  * x/crypto/ocsp: Don't hard-code OCSP response hash function
+  * blake2b: fix constant size
+
+---
+Tue Dec 13 10:23:58 UTC 2016 - tboer...@suse.com
+
+- Updated service definition
+
+---
+Wed Aug 17 08:19:42 UTC 2016 - tboer...@suse.com
+
+- Added rpmlintrc for common golang linting
+
+---
+Tue Aug 16 15:25:55 UTC 2016 - tboer...@suse.com
+
+- Applied latest changes for golang-packaging
+
+---
+Fri Jul  8 11:02:56 UTC 2016 - tboer...@suse.com
+
+- Refactoed spec with a new unified layout
+- Reformatted service file properly
+
+---

Old:

  _servicedata
  crypto-1.5.2+git20151215.f18420e.tar.xz

New:

  crypto-1.5.2+git20161212.9a6f0a0.tar.xz
  rpmlintrc



Other differences:
--
++ golang-org-x-crypto.spec ++
--- /var/tmp/diff_new_pack.oqhITi/_old  2017-09-14 21:13:10.215849087 +0200
+++ /var/tmp/diff_new_pack.oqhITi/_new  2017-09-14 21:13:10.219848523 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package golang-org-x-crypto
+# spec file for package golang-org-x
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,51 +16,50 @@
 #
 
 
-Name:   golang-org-x-crypto
-Version:1.5.2+git20151215.f18420e
+%global providergithub
+%global provider_tldcom
+%global project golang
+%global repocrypto
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path golang.org/x/crypto
+
+Name:   golang-org-x-%{repo}
+Version:1.5.2+git20161212.9a6f0a0
 Release:0
 Summary:Go supplementary cryptography libraries
 License:BSD-3-Clause
-Group:  Development/Languages/Other
-Url:https://github.com/golang/crypto
-Source: crypto-%{version}.tar.xz
+Group:  Development/Languages/Golang
+Url:https://%{provider_prefix}
+Source0:%{repo}-%{version}.tar.xz
+Source1:rpmlintrc
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+
 BuildRequires:  golang-packaging
 BuildRequires:  xz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Provides:   go-go.crypto = %{version}
-Obsoletes:  go-go.crypto < %{version}
-Provides:   go-crypto = %{version}
-Obsoletes:  go-crypto < %{version}
+
+BuildRequires:  golang-org-x-net-context
+Requires:   golang-org-x-net-context
+
+%{go_nostrip}
 %{go_provides}
 
 %description
-Go supplementary cryptography libraries
-
-%gosrc_package 
+Go supplementary cryptography libraries.
 
 %prep
-%setup -q -n crypto-%{version}
+%setup -q -n %{repo}-%{version}
 
 %build
-%goprep golang.org/x/crypto
+%goprep %{import_path}
 %gobuild ...
 
 %install
 %goinstall
 %gosrc
+%gofilelist
 
-%check
-%if ! 0%{?sles_version}
-%gotest golang.org/x/crypto
-%endif
-
-%files
-%defattr(-,root,root,-)
-%doc README LICENSE
-%{go_contribdir}/*
-
-%files source
+%files -f file.lst
 %defattr(-,root,root,-)
-%{go_contribsrcdir}/*
+%doc README LICENSE 

commit golang-org-x-crypto for openSUSE:Factory

2016-01-01 Thread h_root
Hello community,

here is the log from the commit of package golang-org-x-crypto for 
openSUSE:Factory checked in at 2016-01-01 19:48:43

Comparing /work/SRC/openSUSE:Factory/golang-org-x-crypto (Old)
 and  /work/SRC/openSUSE:Factory/.golang-org-x-crypto.new (New)


Package is "golang-org-x-crypto"

Changes:

--- /work/SRC/openSUSE:Factory/golang-org-x-crypto/golang-org-x-crypto.changes  
2015-09-08 17:46:48.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.golang-org-x-crypto.new/golang-org-x-crypto.changes 
2016-01-01 19:51:10.0 +0100
@@ -1,0 +2,16 @@
+Sat Dec 26 11:23:42 UTC 2015 - matwey.korni...@gmail.com
+
+- Update to version 1.5.2+git20151215.f18420e:
+  + x/crypto/pkcs12: deal with short byte array in PBKDF
+  + otr: smpFailureError processing tlvTypeSMP3 prevents sending tlvTypeSMP4
+  + x/crypto/openpgp/packet: fix message for errors resulting from an unknown 
cipher.
+  + crypto/ssh: fix typo in error string.
+  + x/crypto/otr: clear key slots when handshaking.
+  + x/crypto/otr: make errors fatal.
+  + x/crypto/otr: update libotr test code for version 4.
+  + x/crypto/otr: reformat the libotr test harness with clang-format.
+  + x/crypto/ssh: run go fmt
+  + x/crypto/ssh/agent: Fix keyring removing the wrong key(s)
+- Removed crypto-fix-ssh.patch: has been upstreamed
+
+---

Old:

  crypto-0.0.0+git20150711.f6a608d.tar.xz
  crypto-fix-ssh.patch

New:

  _servicedata
  crypto-1.5.2+git20151215.f18420e.tar.xz



Other differences:
--
++ golang-org-x-crypto.spec ++
--- /var/tmp/diff_new_pack.xTRuUn/_old  2016-01-01 19:51:10.0 +0100
+++ /var/tmp/diff_new_pack.xTRuUn/_new  2016-01-01 19:51:10.0 +0100
@@ -17,14 +17,13 @@
 
 
 Name:   golang-org-x-crypto
-Version:0.0.0+git20150711.f6a608d
+Version:1.5.2+git20151215.f18420e
 Release:0
 Summary:Go supplementary cryptography libraries
 License:BSD-3-Clause
 Group:  Development/Languages/Other
 Url:https://github.com/golang/crypto
 Source: crypto-%{version}.tar.xz
-Patch0: crypto-fix-ssh.patch
 BuildRequires:  golang-packaging
 BuildRequires: xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -41,7 +40,6 @@
 
 %prep
 %setup -q -n crypto-%{version}
-%patch0 -p1
 
 %build
 %goprep golang.org/x/crypto

++ _service ++
--- /var/tmp/diff_new_pack.xTRuUn/_old  2016-01-01 19:51:11.0 +0100
+++ /var/tmp/diff_new_pack.xTRuUn/_new  2016-01-01 19:51:11.0 +0100
@@ -1,16 +1,19 @@
 
-  
+  
 https://github.com/golang/crypto.git
 git
 .git
-0.0.0+git%cd.%h
+1.5.2+git%cd.%h
 master
-  
-  
+  enable
+  
 crypto-*.tar
 xz
   
-  
+  
+enable
+  
+  
 crypto
   
 

++ _servicedata ++


https://github.com/golang/crypto.git
  f18420efc3b4f8e9f3d51f6bd2476e92c46260e9++
 crypto-0.0.0+git20150711.f6a608d.tar.xz -> 
crypto-1.5.2+git20151215.f18420e.tar.xz ++
 4899 lines of diff (skipped)




commit golang-org-x-crypto for openSUSE:Factory

2015-09-08 Thread h_root
Hello community,

here is the log from the commit of package golang-org-x-crypto for 
openSUSE:Factory checked in at 2015-09-08 17:42:50

Comparing /work/SRC/openSUSE:Factory/golang-org-x-crypto (Old)
 and  /work/SRC/openSUSE:Factory/.golang-org-x-crypto.new (New)


Package is "golang-org-x-crypto"

Changes:

--- /work/SRC/openSUSE:Factory/golang-org-x-crypto/golang-org-x-crypto.changes  
2015-07-24 09:58:42.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.golang-org-x-crypto.new/golang-org-x-crypto.changes 
2015-09-08 17:46:48.0 +0200
@@ -1,0 +2,5 @@
+Fri Sep  4 11:14:02 UTC 2015 - dval...@suse.com
+
+- Fix flaky TestHostKeyCert test (crypto-fix-ssh.patch) (boo#944474)
+
+---

New:

  crypto-fix-ssh.patch



Other differences:
--
++ golang-org-x-crypto.spec ++
--- /var/tmp/diff_new_pack.tbUv9p/_old  2015-09-08 17:46:51.0 +0200
+++ /var/tmp/diff_new_pack.tbUv9p/_new  2015-09-08 17:46:51.0 +0200
@@ -24,6 +24,7 @@
 Group:  Development/Languages/Other
 Url:https://github.com/golang/crypto
 Source: crypto-%{version}.tar.xz
+Patch0: crypto-fix-ssh.patch
 BuildRequires:  golang-packaging
 BuildRequires: xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -40,6 +41,7 @@
 
 %prep
 %setup -q -n crypto-%{version}
+%patch0 -p1
 
 %build
 %goprep golang.org/x/crypto

++ crypto-fix-ssh.patch ++
>From 77de70a8d459abbd88b95faa92f4a69bd2f5a7d8 Mon Sep 17 00:00:00 2001
From: Dave Cheney 
Date: Fri, 31 Jul 2015 14:55:01 +1000
Subject: [PATCH] ssh: fix flake in TestHostKeyCert

Update golang/go#11811

The increased default concurrency in Go 1.5 showed up a test flake in
the TestHostKeyCert test. Under load, when the client provided incorrect
data, both sides would race to tear down the connection, which would often
lead to the server side, running in its own goroutine to see an unexpected
EOF or connection reset.

Fix this flake (and the incorrect use of t.Fatalf) by passing the error back
to the main goroutine for inspection. This also lets us ignore the expected
error in the unsuccessful path

Change-Id: I5a95c6d240479e9d537f34177e5ca8023b1b08e9
Reviewed-on: https://go-review.googlesource.com/12916
Reviewed-by: Brad Fitzpatrick 
---
 ssh/certs_test.go | 11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/ssh/certs_test.go b/ssh/certs_test.go
index d6c4a33..c5f2e53 100644
--- a/ssh/certs_test.go
+++ b/ssh/certs_test.go
@@ -186,15 +186,15 @@ func TestHostKeyCert(t *testing.T) {
defer c1.Close()
defer c2.Close()
 
+   errc := make(chan error)
+
go func() {
conf := ServerConfig{
NoClientAuth: true,
}
conf.AddHostKey(certSigner)
_, _, _, err := NewServerConn(c1, )
-   if err != nil {
-   t.Fatalf("NewServerConn: %v", err)
-   }
+   errc <- err
}()
 
config := {
@@ -207,5 +207,10 @@ func TestHostKeyCert(t *testing.T) {
if (err == nil) != succeed {
t.Fatalf("NewClientConn(%q): %v", name, err)
}
+
+   err = <-errc
+   if (err == nil) != succeed {
+   t.Fatalf("NewServerConn(%q): %v", name, err)
+   }
}
 }