pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-paramiko py-paramiko: updated to 2.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b71b2d73e5e8
branches:  trunk
changeset: 334953:b71b2d73e5e8
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jun 10 08:42:57 2019 +0000

description:
py-paramiko: updated to 2.5.0

2.5.0:
[Feature] Updated SSHConfig.lookup so it returns a new, type-casting-friendly dict subclass (SSHConfigDict) in lieu of dict literals. This ought to be backwards compatible, and allows an easier way 
to check boolean or int type ssh_config values.

[Feature] Add support for Curve25519 key exchange (aka curve25519-sha256%libssh.org@localhost).

[Feature] Add support for encrypt-then-MAC (ETM) schemes (hmac-sha2-256-etm%openssh.com@localhost, hmac-sha2-512-etm%openssh.com@localhost) and two newer Diffie-Hellman group key exchange algorithms 
(group14, using SHA256; and group16, using SHA512). Patch courtesy of Edgar Sousa.

[Support] Update our install docs with (somewhat) recently added additional dependencies; we previously only required Cryptography, but the docs never got updated after we incurred bcrypt and pynacl 
requirements for Ed25519 key support.

Additionally, pyasn1 was never actually hard-required; it was necessary during a development branch, and is used by the optional GSSAPI support, but is not required for regular installation. Thus, it 
has been removed from our setup.py and its imports in the GSSAPI code made optional.

[Support] Add *.pub files to the MANIFEST so distributed source packages contain some necessary test assets. Credit: Alexander Kapshuna.

[Support] Add support for the modern (as of Python 3.3) import location of MutableMapping (used in host key management) to avoid the old location becoming deprecated in Python 3.8.
[Support] Raise Cryptography dependency requirement to version 2.5 (from 1.5) and update some deprecated uses of its API.

diffstat:

 security/py-paramiko/Makefile |   5 +++--
 security/py-paramiko/PLIST    |   8 +++++++-
 security/py-paramiko/distinfo |  10 +++++-----
 3 files changed, 15 insertions(+), 8 deletions(-)

diffs (65 lines):

diff -r 8600e3ef9107 -r b71b2d73e5e8 security/py-paramiko/Makefile
--- a/security/py-paramiko/Makefile     Mon Jun 10 08:35:35 2019 +0000
+++ b/security/py-paramiko/Makefile     Mon Jun 10 08:42:57 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2018/09/21 11:04:16 adam Exp $
+# $NetBSD: Makefile,v 1.35 2019/06/10 08:42:57 adam Exp $
 
-DISTNAME=      paramiko-2.4.2
+DISTNAME=      paramiko-2.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/paramiko/}
@@ -14,6 +14,7 @@
 DEPENDS+=      ${PYPKGPREFIX}-bcrypt>=3.1.3:../../security/py-bcrypt
 DEPENDS+=      ${PYPKGPREFIX}-cryptography>=1.5:../../security/py-cryptography
 DEPENDS+=      ${PYPKGPREFIX}-nacl>=1.0.1:../../security/py-nacl
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-relaxed-[0-9]*:../../devel/py-test-relaxed
 
diff -r 8600e3ef9107 -r b71b2d73e5e8 security/py-paramiko/PLIST
--- a/security/py-paramiko/PLIST        Mon Jun 10 08:35:35 2019 +0000
+++ b/security/py-paramiko/PLIST        Mon Jun 10 08:42:57 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2018/09/21 11:04:16 adam Exp $
+@comment $NetBSD: PLIST,v 1.17 2019/06/10 08:42:57 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -55,6 +55,9 @@
 ${PYSITELIB}/paramiko/hostkeys.py
 ${PYSITELIB}/paramiko/hostkeys.pyc
 ${PYSITELIB}/paramiko/hostkeys.pyo
+${PYSITELIB}/paramiko/kex_curve25519.py
+${PYSITELIB}/paramiko/kex_curve25519.pyc
+${PYSITELIB}/paramiko/kex_curve25519.pyo
 ${PYSITELIB}/paramiko/kex_ecdh_nist.py
 ${PYSITELIB}/paramiko/kex_ecdh_nist.pyc
 ${PYSITELIB}/paramiko/kex_ecdh_nist.pyo
@@ -67,6 +70,9 @@
 ${PYSITELIB}/paramiko/kex_group14.py
 ${PYSITELIB}/paramiko/kex_group14.pyc
 ${PYSITELIB}/paramiko/kex_group14.pyo
+${PYSITELIB}/paramiko/kex_group16.py
+${PYSITELIB}/paramiko/kex_group16.pyc
+${PYSITELIB}/paramiko/kex_group16.pyo
 ${PYSITELIB}/paramiko/kex_gss.py
 ${PYSITELIB}/paramiko/kex_gss.pyc
 ${PYSITELIB}/paramiko/kex_gss.pyo
diff -r 8600e3ef9107 -r b71b2d73e5e8 security/py-paramiko/distinfo
--- a/security/py-paramiko/distinfo     Mon Jun 10 08:35:35 2019 +0000
+++ b/security/py-paramiko/distinfo     Mon Jun 10 08:42:57 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.20 2018/09/21 11:04:16 adam Exp $
+$NetBSD: distinfo,v 1.21 2019/06/10 08:42:57 adam Exp $
 
-SHA1 (paramiko-2.4.2.tar.gz) = 7ab1e9aaf0b6eedb2098661d283f4d6f6d9c8963
-RMD160 (paramiko-2.4.2.tar.gz) = 1231cb22ca4457e5835015d4abc215621b24e4c2
-SHA512 (paramiko-2.4.2.tar.gz) = ebf277022ff0e26316cc1d3fc8d37918fb4b13f819e11a38dbafc7a77a1a4faf2d0b58ef60a582b9c66fb0650a453ae93ab405c04298fbaea83118bdf9a87906
-Size (paramiko-2.4.2.tar.gz) = 1207299 bytes
+SHA1 (paramiko-2.5.0.tar.gz) = 5ad28a844ca67deb14aed54e9739d86dd2c4eeb8
+RMD160 (paramiko-2.5.0.tar.gz) = b7a503a6df1d76ab993bb645796b94276aa3a0f7
+SHA512 (paramiko-2.5.0.tar.gz) = db371ff9f05916b1957ff01bb46cdb8e5aa08b5f9a75d4bfccbf7c16da373b65ef70d8e82bebbc208724b1371448e1b4306fac68c437be433da53a015467d1af
+Size (paramiko-2.5.0.tar.gz) = 1224952 bytes
 SHA1 (patch-paramiko_ssh__gss.py) = e6f42443ee6e96c344ed84779f81a5a133eb06d5



Home | Main Index | Thread Index | Old Index