pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-smb Update to 1.1.23



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1eaf18a819e0
branches:  trunk
changeset: 380481:1eaf18a819e0
user:      wen <wen%pkgsrc.org@localhost>
date:      Wed May 16 01:07:20 2018 +0000

description:
Update to 1.1.23
Add missing DEPENDS

Upstream changes:
Version 1.1.23, 2018-05-05 (Download)

Fix bug in listShares() method which fails when the remote server has many shares. Contributed by carlosefr (github).
Improve echo() method to test and fail if the provided data to echo is not a bytes object. Contributed by carlosefr (github).
Fix bug in listPath() method where the path to query is not properly terminated. Contributed by Yepoleb (github).
Version 1.1.22, 2017-09-17 (Download)

Fix bug in getAttributes() method which should return only the filename instead of the entire path for the filename property for the return result.
Version 1.1.21, 2017-09-09 (Download)

Fix bug where timestamp values for SMB1 getAttributes() response are not converted properly from FILETIME to epoch time values.
Version 1.1.20, 2017-08-13 (Download)

Add getSecurity() method to support security descriptors query via SMB2. Contributed by koniiiik (github).
Improve retrieveFile() and retrieveFileFromOffset() methods to allow file retrievals over SMB2 even when the file is being locked on the server.
Silently discards NMB SESSION_KEEPALIVE packets instead of raising warnings. Thanks to a-mushroom (github) for reporting this.
SMB sessionID will be sent in ECHO requests to conform to SMB2 specs. Thanks to divad (github) for reporting this.
Fix type errors for MD4 functions in python3. Contributed by viatoriche (github).
Version 1.1.19, 2016-11-13 (Download)

Ignore STATUS_PENDING during delete and file store operations
Version 1.1.18, 2016-04-09 (Download)

Rollback fixes to NTLMv2 response algorithm in pysmb 1.1.17. The fixes fail to work with some servers.
Add missing errno imports in SMBConnection.py
Fix UnboundLocalError raised when using type() in SMBConnection.py
Version 1.1.17, 2015-11-11 (Download)

Fix crashes in directory listing with keyerror ?support_dfs?.
Fix bugs in NTLMv2 response algorithm.
Fix bugs where client domain is not included as part of the session negotiation.
Version 1.1.16, 2015-05-10 (Download)

Fix typo errors in authentication error messages.
Improve share listings on SMB2 protocol by ignoring interim STATUS_PENDING responses.
Version 1.1.15, 2015-02-15 (Download)

Add new parameter to SMBConnection?s storeFileFromOffset method to determine whether the remote file is to be truncated before writing.
Version 1.1.14, 2015-02-01 (Download)

Add support for DFS shares in listPath(). Thanks to humberry (github) for raising the issue and helping with the testing.
Fix bug in python3?s SMB2 listPath implementation. Thanks to deejrose (github) for reporting the bug.
Version 1.1.13, 2014-10-18 (Download)

Add missing methods and improve compatibility with python3. Thanks to keisetsu (github) for submitting the patch.
Fix bug in SMB2 rename implementation which fails to rename directory. Thanks to Jayke Meijer for raising the bug and providing the packet capture.
Version 1.1.12, 2014-09-21 (Download)

Fix syntax error for python3 NBNSProtocol implementation
Fix bug in SMB1 implementation which results in access denied errors with Samba 3.0. Many thanks for John Sivak for his assistance and support in helping to troubleshoot and test the bug fixes.
Version 1.1.11, 2014-09-13 (Download)

Add support for unicode characters in domain, username and password.
Add storeFileFromOffset method to SMB API
Fix bug in getAttributes implementation for SMB1
Fix bug for NMB which uses broadcast flag for unicast queries
Update the Tree Connect Andx request implementation to support MS-SMB 2.2.4.7.1 extensions
Version 1.1.10, 2014-06-29 (Download)

 Add getAttributes() method to SMBConnection and SMBProtocolFactory class.
Add isReadOnly property to SharedFile class.
Version 1.1.9, 2014-06-01 (Download)

Add support for domains in smb:// URLs. Contributed by Andy Piper.
Fix a bug which fails to test for the correct GSS security provider OID values. Thanks for Fanen for bug report and assistance in testing the fix.
Version 1.1.8, 2013-12-21 (Download)

Fix a bug in storeFile() method when the destination file is not overwritten if it exists in SMB1 communication. Thanks to Vaikar Amol for reporting this bug and helping to fix it.
Fix a SMB1 authentication problem when extended negotation is not carried out because the remote server has specified its support for extended security in the payload, instead of in the message 
flags2.
Version 1.1.7, 2013-09-27 (Download)

Improve listShares() function which can fail with the listing response is separated into multiple SMB packets for large number of shares. Thanks to Pieter De Clerck for reporting this bug and helping 
to test the bug fix.
Fix bug in python3 implementation where session connection can fail when remote server supports message signing. Thanks to Simon for reporting this bug.
Version 1.1.6, 2013-08-16 (Download)

Fix bug where the status of the SMB_COM_NEGOTIATE reply is not checked for error before allowing further processing. Thanks to Adrian Cox for discovering this bug and submitting the patch.
Version 1.1.5, 2013-06-19 (Download)

Add support for Direct hosting of SMB over TCP/IP (TCP port 445)
Version 1.1.4, 2013-05-31 (Download)

Improve query performance for query IP addresses for NetBIOS names in NetBIOSProtocol.py. Thanks to Ties de Kock for submitting the performance patch.
Fix bugs in SMBConnection when sending large data packets can result in AssertionError. Thanks to David K. Hess for submitting the bug fix.
Version 1.1.3, 2013-03-18 (Download)

Fix a bug which results in endless loop in SMBConnection when remote CIFS server closes the connection. Thanks to Nitin Garg for submitting the bug fixes.

diffstat:

 net/py-smb/Makefile |   6 ++++--
 net/py-smb/PLIST    |   5 ++++-
 net/py-smb/distinfo |  10 +++++-----
 3 files changed, 13 insertions(+), 8 deletions(-)

diffs (56 lines):

diff -r e72d913a9518 -r 1eaf18a819e0 net/py-smb/Makefile
--- a/net/py-smb/Makefile       Wed May 16 00:49:44 2018 +0000
+++ b/net/py-smb/Makefile       Wed May 16 01:07:20 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2017/09/04 18:08:26 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2018/05/16 01:07:20 wen Exp $
 #
 
-DISTNAME=      pysmb-1.1.2
+DISTNAME=      pysmb-1.1.23
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    net
 MASTER_SITES=  http://miketeo.net/files/Projects/pysmb/
@@ -12,6 +12,8 @@
 COMMENT=       Experimental SMB/CIFS library written in Python
 LICENSE=       zlib
 
+DEPENDS+=      ${PYPKGPREFIX}-asn1>=0:../../security/py-asn1
+
 USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
diff -r e72d913a9518 -r 1eaf18a819e0 net/py-smb/PLIST
--- a/net/py-smb/PLIST  Wed May 16 00:49:44 2018 +0000
+++ b/net/py-smb/PLIST  Wed May 16 01:07:20 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2013/01/12 11:58:33 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/05/16 01:07:20 wen Exp $
 ${PYSITELIB}/nmb/NetBIOS.py
 ${PYSITELIB}/nmb/NetBIOS.pyc
 ${PYSITELIB}/nmb/NetBIOS.pyo
@@ -43,6 +43,9 @@
 ${PYSITELIB}/smb/ntlm.py
 ${PYSITELIB}/smb/ntlm.pyc
 ${PYSITELIB}/smb/ntlm.pyo
+${PYSITELIB}/smb/security_descriptors.py
+${PYSITELIB}/smb/security_descriptors.pyc
+${PYSITELIB}/smb/security_descriptors.pyo
 ${PYSITELIB}/smb/securityblob.py
 ${PYSITELIB}/smb/securityblob.pyc
 ${PYSITELIB}/smb/securityblob.pyo
diff -r e72d913a9518 -r 1eaf18a819e0 net/py-smb/distinfo
--- a/net/py-smb/distinfo       Wed May 16 00:49:44 2018 +0000
+++ b/net/py-smb/distinfo       Wed May 16 01:07:20 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/04 00:35:32 agc Exp $
+$NetBSD: distinfo,v 1.3 2018/05/16 01:07:20 wen Exp $
 
-SHA1 (pysmb-1.1.2.zip) = a8d01f773a8c85eeb9e936b268aa662d9139c0e0
-RMD160 (pysmb-1.1.2.zip) = f88bf27312451036868543efecac76d666850a0c
-SHA512 (pysmb-1.1.2.zip) = 9d34c20ee97d1ace5192e597e20dba89246853fa8ed52e21ecc5e56db9984a032fa15c8aa7c524e9acc8c2ee2e458c29e9e6c3cbfbc48dd28050ecac964aa628
-Size (pysmb-1.1.2.zip) = 1483835 bytes
+SHA1 (pysmb-1.1.23.zip) = b7eb338b584758b255f9263d14b2e01cf764d628
+RMD160 (pysmb-1.1.23.zip) = e863dc2a8cda80bed1530f054760456234c44d08
+SHA512 (pysmb-1.1.23.zip) = 84743d732debaec2d42abc900ff3de5ad4f1b7bee0b8d5648313b6352580bb86f2c66b148965ec9e4a1f8e6c52bef8b7b670e0efa6a115096134f0e510ab71c7
+Size (pysmb-1.1.23.zip) = 2148875 bytes



Home | Main Index | Thread Index | Old Index