From b466046d5090762712ecf4360a80f5fe39731e8db8e2f01907472c93be059b9e Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 10 Dec 2012 08:30:27 +0000 Subject: [PATCH] - Update to version 1.9.0: + #97 (with a little #93): Improve config parsing of ProxyCommand directives and provide a wrapper class to allow subprocess-driven proxy commands to be used as sock= arguments for SSHClient.connect. + #77: Allow SSHClient.connect() to take an explicit sock parameter overriding creation of an internal, implicit socket object. - Changes from version 1.8.1: + #90: Ensure that callbacks handed to SFTPClient.get() always fire at least once, even for zero-length files downloaded. Thanks to Github user @enB for the catch. + #85: Paramiko's test suite overrides unittest.TestCase.assertTrue/assertFalse to provide these modern assertions to Python 2.2/2.3, which lacked them. However on newer Pythons such as 2.7, this now causes deprecation warnings. The overrides have been patched to only execute when necessary. Thanks to @Arfrever for catch & patch. - Changes from version 1.8.0: + #17 ('ssh' 28): Fix spurious NoneType has no attribute 'error' and similar exceptions that crop up on interpreter exit. + 'ssh' 32: Raise a more useful error explaining which known_hosts key line was problematic, when encountering binascii issues decoding known host keys. Thanks to @thomasvs for catch & patch. + 'ssh' 33: Bring ssh_config parsing more in line with OpenSSH spec, re: order of setting overrides by Host specifiers. Specifically, the overrides now go by file order instead of automatically sorting by Host value length. In addition, the first value found per config key (e.g. Port, User etc) wins, instead of the last. Thanks to Jan Brauer for the contribution. + 'ssh' 36: Support new server two-factor authentication option (RequiredAuthentications2), at least re: combining key-based & password auth. Thanks to Github user bninja. + 'ssh' 11: When raising an exception for hosts not listed in OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=24 --- paramiko-1.7.7.2.zip | 3 -- paramiko-1.9.0.tar.gz | 3 ++ python-paramiko.changes | 62 +++++++++++++++++++++++++++++++++++++++++ python-paramiko.spec | 6 ++-- 4 files changed, 68 insertions(+), 6 deletions(-) delete mode 100644 paramiko-1.7.7.2.zip create mode 100644 paramiko-1.9.0.tar.gz diff --git a/paramiko-1.7.7.2.zip b/paramiko-1.7.7.2.zip deleted file mode 100644 index 611664e..0000000 --- a/paramiko-1.7.7.2.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3d659073d6c61faae1756c8837159b6edc9b98da4b9d0e930212414b46c62599 -size 1066799 diff --git a/paramiko-1.9.0.tar.gz b/paramiko-1.9.0.tar.gz new file mode 100644 index 0000000..65f874b --- /dev/null +++ b/paramiko-1.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb99b74d9c53a23b92803c1c97fdb2bfdab7cd4fea888bd3b6438c127e3b29f5 +size 814841 diff --git a/python-paramiko.changes b/python-paramiko.changes index 0715613..812ad38 100644 --- a/python-paramiko.changes +++ b/python-paramiko.changes @@ -1,3 +1,65 @@ +------------------------------------------------------------------- +Sat Dec 1 15:12:44 UTC 2012 - saschpe@suse.de + +- Update to version 1.9.0: + + #97 (with a little #93): Improve config parsing of ProxyCommand directives + and provide a wrapper class to allow subprocess-driven proxy commands to be + used as sock= arguments for SSHClient.connect. + + #77: Allow SSHClient.connect() to take an explicit sock parameter + overriding creation of an internal, implicit socket object. +- Changes from version 1.8.1: + + #90: Ensure that callbacks handed to SFTPClient.get() always fire at least + once, even for zero-length files downloaded. Thanks to Github user @enB for + the catch. + + #85: Paramiko's test suite overrides + unittest.TestCase.assertTrue/assertFalse to provide these modern assertions + to Python 2.2/2.3, which lacked them. However on newer Pythons such as 2.7, + this now causes deprecation warnings. The overrides have been patched to only + execute when necessary. Thanks to @Arfrever for catch & patch. +- Changes from version 1.8.0: + + #17 ('ssh' 28): Fix spurious NoneType has no attribute 'error' and similar + exceptions that crop up on interpreter exit. + + 'ssh' 32: Raise a more useful error explaining which known_hosts key line was + problematic, when encountering binascii issues decoding known host keys. + Thanks to @thomasvs for catch & patch. + + 'ssh' 33: Bring ssh_config parsing more in line with OpenSSH spec, re: order of + setting overrides by Host specifiers. Specifically, the overrides now go by + file order instead of automatically sorting by Host value length. In + addition, the first value found per config key (e.g. Port, User etc) + wins, instead of the last. Thanks to Jan Brauer for the contribution. + + 'ssh' 36: Support new server two-factor authentication option + (RequiredAuthentications2), at least re: combining key-based & password + auth. Thanks to Github user bninja. + + 'ssh' 11: When raising an exception for hosts not listed in + known_hosts (when RejectPolicy is in effect) the exception message was + confusing/vague. This has been improved somewhat. Thanks to Cal Leeming for + highlighting the issue. + + 'ssh' 40: Fixed up & expanded EINTR signal handling. Thanks to Douglas Turk. + + 'ssh' 15: Implemented parameter substitution in SSHConfig, matching the + implementation of ssh_config(5). Thanks to Olle Lundberg for the patch. + + 'ssh' 24: Switch some internal type checking to use isinstance to help prevent + problems with client libraries using subclasses of builtin types. Thanks to + Alex Morega for the patch. + + Fabric #562: Agent forwarding would error out (with Authentication response + too long) or freeze, when more than one remote connection to the local agent + was active at the same time. This has been fixed. Thanks to Steven McDonald + for assisting in troubleshooting/patching, and to GitHub user @lynxis for + providing the final version of the patch. + + 'ssh' 5: Moved a fcntl import closer to where it's used to help avoid + ImportError problems on Windows platforms. Thanks to Jason Coombs for the + catch + suggested fix. + + 'ssh' 4: Updated implementation of WinPageant integration to work on 64-bit + Windows. Thanks again to Jason Coombs for the patch. + + Added an IO loop sleep() call to avoid needless CPU usage when agent + forwarding is in use. + + Handful of internal tweaks to version number storage. + + Updated setup.py with ==dev install URL for pip users. + + Updated setup.py to account for packaging problems in PyCrypto 2.4.0 + + Added an extra atfork() call to help prevent spurious RNG errors when + running under high parallel (multiprocess) load. + + Merge PR #28: https://github.com/paramiko/paramiko/pull/28 which adds a + ssh-keygen like demo module. (Sofian Brabez) + ------------------------------------------------------------------- Sun Jun 24 20:04:03 UTC 2012 - os-dev@jacraig.com diff --git a/python-paramiko.spec b/python-paramiko.spec index f1a75b1..32b5287 100644 --- a/python-paramiko.spec +++ b/python-paramiko.spec @@ -17,13 +17,13 @@ Name: python-paramiko -Version: 1.7.7.2 +Version: 1.9.0 Release: 0 Url: http://www.lag.net/paramiko/ Summary: SSH2 protocol library License: LGPL-2.1+ Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/p/paramiko/paramiko-%{version}.zip +Source: http://pypi.python.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-pycrypto >= 2.1 @@ -43,7 +43,7 @@ are supported. SFTP client and server mode are both supported too. %prep %setup -q -n paramiko-%{version} -sed -i "1d" demos/{rforward,demo_simple,demo_sftp,demo}.py # Fix doc-file-dependency +sed -i "/#!.*/d" demos/{demo_keygen,rforward,demo_simple,demo_sftp,demo}.py # Fix doc-file-dependency %build python setup.py build