Accepting request 587599 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/587599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=38
This commit is contained in:
Dominique Leuenberger 2018-03-26 11:01:43 +00:00 committed by Git OBS Bridge
commit c23f624873
5 changed files with 48 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:486f637f0a33a4792e0e567be37426c287efaa8c4c4a45e3216f9ce7fd70b1fc
size 1324783

3
paramiko-2.4.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33e36775a6c71790ba7692a73f948b329cf9295a72b0102144b031114bd2a4f3
size 1490565

View File

@ -0,0 +1,11 @@
--- paramiko-2.4.1/tests/test_buffered_pipe.py 2018/03/15 17:40:29 1.1
+++ paramiko-2.4.1/tests/test_buffered_pipe.py 2018/03/15 17:40:36
@@ -69,7 +69,7 @@
self.assertTrue(False)
except PipeTimeout:
pass
- self.assertEqual(b'b', p.read(1, 1.0))
+ self.assertEqual(b'b', p.read(1, 3.0))
self.assertEqual(b'', p.read(1))
def test_3_close_while_reading(self):

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Thu Mar 15 18:38:22 CET 2018 - ro@suse.de
- add paramiko-test_extend_timeout.patch (bsc#1085529)
extend timeout in testsuite to pass on ppc64le
-------------------------------------------------------------------
Thu Mar 15 07:10:09 UTC 2018 - tbechtold@suse.com
update to version 2.4.1 (bsc#1085276, CVE-2018-7750):
* changelog: update for #1039 / #1051
* Screen off dev version of Python from test matrix
* ensure ed25519 password is bytes
* Cut 2.0.8
* Cut 2.3.2
* Initial tests proving CVE-2018-7750 / #1175
* Guess something else added this prior to the merge
* Fixes CVE-2018-7750 / #1175
* Uncaught typo in test suite
* Initial tests proving CVE-2018-7750 / #XXX
* Test proving #1039 / efficacy of #1051
* Changelog closes #1175
* Cut 2.1.5
* Allow overriding test client connect kwargs in Transport test suite
* Cut 2.4.1
* Fixes CVE-2018-7750 / #XXX
* Cut 2.2.3
* flake8
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 16 09:36:24 UTC 2017 - mimi.vx@gmail.com Thu Nov 16 09:36:24 UTC 2017 - mimi.vx@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-paramiko # spec file for package python-paramiko
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,15 +20,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-paramiko Name: python-paramiko
Version: 2.4.0 Version: 2.4.1
Release: 0 Release: 0
Url: http://www.paramiko.org/ Url: http://www.paramiko.org/
Summary: SSH2 protocol library Summary: SSH2 protocol library
License: LGPL-2.1+ License: LGPL-2.1-or-later
Group: Development/Languages/Python Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz
# certificates needed by testsuite # certificates needed by testsuite
Source1: cert_support.tar.gz Source1: cert_support.tar.gz
Patch0: paramiko-test_extend_timeout.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{python_module PyNaCl >= 1.0.1} BuildRequires: %{python_module PyNaCl >= 1.0.1}
BuildRequires: %{python_module bcrypt >= 3.1.3} BuildRequires: %{python_module bcrypt >= 3.1.3}
@ -72,6 +73,7 @@ This package contains the documentation.
%prep %prep
%setup -q -n paramiko-%{version} %setup -q -n paramiko-%{version}
%patch0 -p1
# Fix non-executable script rpmlint issue: # Fix non-executable script rpmlint issue:
find demos -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \; find demos -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \;
tar xvzf %{SOURCE1} -C tests/ tar xvzf %{SOURCE1} -C tests/