From 894dbef60257779676745cdf59a24638d1c7d8dd Mon Sep 17 00:00:00 2001 From: gls Date: Tue, 27 Nov 2012 22:13:32 +0000 Subject: Update security/py-paramiko to 1.9.0. Fix a tyop in DESCR. Upstream changes: ----------------- v1.9.0 (6th Nov 2012) --------------------- * #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. * Thanks in no particular order to Erwin Bolwidt, Oskari Saarenmaa, Steven Noonan, Vladimir Lazarenko, Lincoln de Sousa, Valentino Volonghi, Olle Lundberg, and Github user `@acrish` for the various and sundry patches leading to the above changes. v1.8.1 (6th Nov 2012) --------------------- * #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. v1.8.0 (3rd Oct 2012) --------------------- * #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) v1.7.7.2 16may12 ---------------- * Merge pull request #63: https://github.com/paramiko/paramiko/pull/63 which fixes exceptions that occur when re-keying over fast connections. (Dwayne Litzenberger) --- security/py-paramiko/DESCR | 2 +- security/py-paramiko/Makefile | 6 +++--- security/py-paramiko/PLIST | 5 ++++- security/py-paramiko/distinfo | 8 ++++---- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/security/py-paramiko/DESCR b/security/py-paramiko/DESCR index 4ee6d50f909..9742622d47c 100644 --- a/security/py-paramiko/DESCR +++ b/security/py-paramiko/DESCR @@ -1,6 +1,6 @@ paramiko is a module for python 2.2 (or higher) that implements the SSH2 protocol for secure (encrypted and authenticated) connections to remote -machines. unlike SSL (aka TLS), SSH2 protocol does not require heirarchical +machines. unlike SSL (aka TLS), SSH2 protocol does not require hierarchical certificates signed by a powerful central authority. you may know SSH2 as the protocol that replaced telnet and rsh for secure access to remote shells, but the protocol also includes the ability to open arbitrary channels to diff --git a/security/py-paramiko/Makefile b/security/py-paramiko/Makefile index 5e130368eec..627dcf0bcf5 100644 --- a/security/py-paramiko/Makefile +++ b/security/py-paramiko/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.12 2012/10/23 18:16:54 asau Exp $ +# $NetBSD: Makefile,v 1.13 2012/11/27 22:13:32 gls Exp $ # -DISTNAME= paramiko-1.7.7.1 +DISTNAME= paramiko-1.9.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= security -MASTER_SITES= http://www.lag.net/paramiko/download/ +MASTER_SITES= http://pypi.python.org/packages/source/p/paramiko/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.lag.net/paramiko/ diff --git a/security/py-paramiko/PLIST b/security/py-paramiko/PLIST index 8019a6b8264..8dfc11b7fc3 100644 --- a/security/py-paramiko/PLIST +++ b/security/py-paramiko/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2011/07/22 14:03:30 obache Exp $ +@comment $NetBSD: PLIST,v 1.8 2012/11/27 22:13:32 gls Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -67,6 +67,9 @@ ${PYSITELIB}/paramiko/pkey.pyo ${PYSITELIB}/paramiko/primes.py ${PYSITELIB}/paramiko/primes.pyc ${PYSITELIB}/paramiko/primes.pyo +${PYSITELIB}/paramiko/proxy.py +${PYSITELIB}/paramiko/proxy.pyc +${PYSITELIB}/paramiko/proxy.pyo ${PYSITELIB}/paramiko/resource.py ${PYSITELIB}/paramiko/resource.pyc ${PYSITELIB}/paramiko/resource.pyo diff --git a/security/py-paramiko/distinfo b/security/py-paramiko/distinfo index cde186f14b1..8794857a3ed 100644 --- a/security/py-paramiko/distinfo +++ b/security/py-paramiko/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.6 2011/07/22 14:03:30 obache Exp $ +$NetBSD: distinfo,v 1.7 2012/11/27 22:13:32 gls Exp $ -SHA1 (paramiko-1.7.7.1.tar.gz) = 9b40f1757743793e64c935192a474e7307445438 -RMD160 (paramiko-1.7.7.1.tar.gz) = 4b08451a9d73d3b62d1e4b43fbb92108a78ff527 -Size (paramiko-1.7.7.1.tar.gz) = 823017 bytes +SHA1 (paramiko-1.9.0.tar.gz) = b48f18fb96910d61609604d35a03590dd9548d7f +RMD160 (paramiko-1.9.0.tar.gz) = b2a2c7a4418d293b007c89125538405abb1894c5 +Size (paramiko-1.9.0.tar.gz) = 814841 bytes -- cgit v1.2.3