head 1.20; access; symbols pkgsrc-2023Q4:1.20.0.8 pkgsrc-2023Q4-base:1.20 pkgsrc-2023Q3:1.20.0.6 pkgsrc-2023Q3-base:1.20 pkgsrc-2023Q2:1.20.0.4 pkgsrc-2023Q2-base:1.20 pkgsrc-2023Q1:1.20.0.2 pkgsrc-2023Q1-base:1.20 pkgsrc-2022Q4:1.17.0.4 pkgsrc-2022Q4-base:1.17 pkgsrc-2022Q3:1.17.0.2 pkgsrc-2022Q3-base:1.17 pkgsrc-2022Q2:1.16.0.4 pkgsrc-2022Q2-base:1.16 pkgsrc-2022Q1:1.16.0.2 pkgsrc-2022Q1-base:1.16 pkgsrc-2021Q4:1.15.0.6 pkgsrc-2021Q4-base:1.15 pkgsrc-2021Q3:1.15.0.4 pkgsrc-2021Q3-base:1.15 pkgsrc-2021Q2:1.15.0.2 pkgsrc-2021Q2-base:1.15 pkgsrc-2021Q1:1.14.0.4 pkgsrc-2021Q1-base:1.14 pkgsrc-2020Q4:1.14.0.2 pkgsrc-2020Q4-base:1.14 pkgsrc-2020Q3:1.11.0.2 pkgsrc-2020Q3-base:1.11 pkgsrc-2020Q2:1.10.0.2 pkgsrc-2020Q2-base:1.10 pkgsrc-2020Q1:1.9.0.2 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.9.0.4 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.8.0.6 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.4 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.8.0.2 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.6.0.2 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.5.0.4 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.2 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.4.0.8 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.6 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.4 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.3.0.34 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.32 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.30 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.28 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.26 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.24 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.22 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.20 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.18 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.16 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.14 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.12 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.10 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.8 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.6 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.4 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.2 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.2.0.2 pkgsrc-2013Q1-base:1.2; locks; strict; comment @# @; 1.20 date 2023.03.09.05.26.07; author adam; state Exp; branches; next 1.19; commitid xA8afX2FlcoNppgE; 1.19 date 2023.03.08.11.10.57; author adam; state Exp; branches; next 1.18; commitid 9UNz6wtx5hK5mjgE; 1.18 date 2023.03.08.11.09.35; author adam; state Exp; branches; next 1.17; commitid 2nYsSH2XmJdvljgE; 1.17 date 2022.07.05.12.58.09; author adam; state Exp; branches; next 1.16; commitid 5BK31CASE394RHKD; 1.16 date 2022.01.04.20.54.32; author wiz; state Exp; branches; next 1.15; commitid CYyhdK9qtoffkmnD; 1.15 date 2021.06.05.07.15.36; author adam; state Exp; branches; next 1.14; commitid dgIPsmDlfvHIEUVC; 1.14 date 2020.12.09.12.38.31; author adam; state Exp; branches; next 1.13; commitid C7koMeTTDQiga4zC; 1.13 date 2020.10.21.12.08.16; author adam; state Exp; branches; next 1.12; commitid LRKZE1SBrTUuzLsC; 1.12 date 2020.10.12.11.58.48; author adam; state Exp; branches; next 1.11; commitid hq2MeGxkPwhbOBrC; 1.11 date 2020.09.10.09.21.37; author adam; state Exp; branches; next 1.10; commitid MDL1woCdVkJ2YtnC; 1.10 date 2020.06.20.16.16.13; author adam; state Exp; branches; next 1.9; commitid 9rWNHjz7IsTwTYcC; 1.9 date 2019.12.11.10.38.05; author adam; state Exp; branches; next 1.8; commitid WvVXEbhmKcfkchOB; 1.8 date 2019.01.08.19.12.49; author adam; state Exp; branches; next 1.7; commitid Doj2wTYGAeOvS07B; 1.7 date 2019.01.07.09.13.13; author adam; state Exp; branches; next 1.6; commitid ZkpbeUf6rHEMAP6B; 1.6 date 2018.12.20.21.15.34; author adam; state Exp; branches; next 1.5; commitid tyTrSP1drZTraA4B; 1.5 date 2018.05.16.01.07.20; author wen; state Exp; branches; next 1.4; commitid mfBIfiYBsRJmusCA; 1.4 date 2017.09.04.18.08.26; author wiz; state Exp; branches; next 1.3; commitid H3CpyvMOZDCWiU5A; 1.3 date 2013.04.06.03.45.21; author rodent; state Exp; branches; next 1.2; 1.2 date 2013.01.12.11.58.33; author ryoon; state Exp; branches; next 1.1; 1.1 date 2013.01.03.15.49.40; author ryoon; state Exp; branches; next ; desc @@ 1.20 log @py-smb: not for Python 2.7 @ text @# $NetBSD: Makefile,v 1.19 2023/03/08 11:10:57 adam Exp $ DISTNAME= pysmb-1.2.9.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pysmb/} EXTRACT_SUFX= .zip MAINTAINER= ryoon@@NetBSD.org HOMEPAGE= https://miketeo.net/wp/index.php/projects/pysmb COMMENT= Experimental SMB/CIFS library written in Python LICENSE= zlib DEPENDS+= ${PYPKGPREFIX}-asn1-[0-9]*:../../security/py-asn1 DEPENDS+= ${PYPKGPREFIX}-tqdm-[0-9]*:../../misc/py-tqdm USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-tqdm .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" @ 1.19 log @py-smb: update DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2023/03/08 11:09:35 adam Exp $ d19 2 @ 1.18 log @py-smb: updated to 1.2.9.1 pysmb-1.2.9 - Add support for tqdm progress display - Fix bug where timeout parameter was not passed to socket.createConnection() @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2022/07/05 12:58:09 adam Exp $ d14 2 a15 1 DEPENDS+= ${PYPKGPREFIX}-asn1>=0:../../security/py-asn1 @ 1.17 log @py-smb: updated to 1.2.8 pysmb-1.2.8, 12 Jun 2022 ======================== - Fix issue with listPath based on recommendation in #195 - Fix embedded MD4 algorithm - Add SMB UTF-16 surrogate exception workaround policy @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2022/01/04 20:54:32 wiz Exp $ d3 1 a3 1 DISTNAME= pysmb-1.2.8 @ 1.16 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2021/06/05 07:15:36 adam Exp $ d3 1 a3 1 DISTNAME= pysmb-1.2.7 a4 1 PKGREVISION= 1 @ 1.15 log @py-smb: updated to 1.2.7 pysmb-1.2.7, 30 May 2021 ======================== - Fix compatibility issues on file retrievals with Likewise servers - Improve SMBConnection's connect() method to remove the need to provide sock_family parameter for IPv6 addresses in Python 3.x @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2020/12/09 12:38:31 adam Exp $ d5 1 @ 1.14 log @py-smb: updated to 1.2.6 pysmb-1.2.6, 9 Dec 2020 ======================= - Fix bug in SMB1 store file implmentation which generates SMB_COM_WRITE_ANDX packets larger than the allowed max buffer size @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2020/10/21 12:08:16 adam Exp $ d3 1 a3 1 DISTNAME= pysmb-1.2.6 @ 1.13 log @py-smb: updated to 1.2.5 pysmb-1.2.5 - Fix bug in filename encoding which leads to failure for file retrieval and upload operations - Improve resetFileAttributes() method in SMBConnection class to allow the new attribute to be specified in the reset operation @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2020/10/12 11:58:48 adam Exp $ d3 1 a3 1 DISTNAME= pysmb-1.2.5 @ 1.12 log @py-smb: updated to 1.2.4 pysmb-1.2.4 - Remove dependency on pycrypto as it is no longer under active maintenance pysmb-1.2.3 - Fix bug in session key generation during session negotiation - Fix bug in SMB message signing which leads to operation failures with Samba services. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2020/09/10 09:21:37 adam Exp $ d3 1 a3 1 DISTNAME= pysmb-1.2.4 @ 1.11 log @py-smb: updated to 1.2.2 pysmb-1.2.2 - Improve SMB URL handlers to support specifying server's machine name and IP address. - Improvements to documentation on SMB URLs @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2020/06/20 16:16:13 adam Exp $ d3 1 a3 1 DISTNAME= pysmb-1.2.2 @ 1.10 log @py-smb: updated to 1.2.1 pysmb-1.2.1 - Fix bug in deleteFiles() method which can fail for certain search patterns. pysmb-1.2.0 - Add new parameter, delete_matching_folders, to deleteFiles() method to support deletion of child folders that match the search pattern. pysmb-1.1.29 - Fix unhandled exception for short NBNS queries - Fix wildcard file deletion with servers on SMB2 protocol @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2019/12/11 10:38:05 adam Exp $ d3 1 a3 1 DISTNAME= pysmb-1.2.1 @ 1.9 log @py-smb: updated to 1.1.28 pysmb-1.1.28: - SharedFile instances returned from the listPath() method now has a new file_id attribute which represents the file reference number given by the SMB server. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2019/01/08 19:12:49 adam Exp $ d3 1 a3 1 DISTNAME= pysmb-1.1.28 @ 1.8 log @py-smb: updated to 1.1.27 1.1.27: Remove support for SMB-2.1 dialect which could be causing compatibility issues with Windows 2008 R2. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2019/01/07 09:13:13 adam Exp $ d3 1 a3 1 DISTNAME= pysmb-1.1.27 d6 1 a6 1 MASTER_SITES= http://miketeo.net/files/Projects/pysmb/ @ 1.7 log @py-smb: updated to 1.1.26 Version 1.1.26: Prevents OperationError from being raised when listPath() operation does not return any matching file results. SMBConnection is now a context manager @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2018/12/20 21:15:34 adam Exp $ d3 1 a3 1 DISTNAME= pysmb-1.1.26 @ 1.6 log @py-smb: updated to 1.1.25 pysmb-1.1.25: - Fix buggy support for search parameter in listPath() method. Add SMB_FILE_ATTRIBUTE_INCL_NORMAL bit constant to include 'normal' files with other file types in the returned result. From now on, pysmb defines a 'normal' file as a file entry that is not read-only, not hidden, not system, not archive and not a directory; it ignores other attributes like compression, indexed, sparse, temporary and encryption. listPath() method will now include 'normal' files using the default search parameter. - Add isNormal property to SharedFile class to support test if the file is a 'normal' file (according to pysmb definition of 'normal' file). pysmb-1.1.24: - Improve listPath implementation for SMB1 - Support for STATUS_PENDING responses across all SMB2 operations. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2018/05/16 01:07:20 wen Exp $ d3 1 a3 1 DISTNAME= pysmb-1.1.25 @ 1.5 log @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. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.4 2017/09/04 18:08:26 wiz Exp $ # d3 1 a3 1 DISTNAME= pysmb-1.1.23 d5 1 a5 1 CATEGORIES= net @ 1.4 log @Follow some redirects. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2013/04/06 03:45:21 rodent Exp $ d4 1 a4 1 DISTNAME= pysmb-1.1.2 d15 2 @ 1.3 log @Fixes: COMMENT should not be longer than 70 characters. COMMENT should not begin with 'A'. COMMENT should not begin with 'An'. COMMENT should not begin with 'a'. COMMENT should not end with a period. COMMENT should start with a capital letter. pkglint warnings. Some files also got minor formatting, spelling, and style corrections. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2013/01/12 11:58:33 ryoon Exp $ d11 1 a11 1 HOMEPAGE= http://miketeo.net/wp/index.php/projects/pysmb @ 1.2 log @Fix PLIST error. * Convert to use egg.mk. Thank you, joerg@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2013/01/03 15:49:40 ryoon Exp $ d12 1 a12 1 COMMENT= pysmb is an experimental SMB/CIFS library written in Python @ 1.1 log @Import py27-smb-1.1.2 as net/py-smb. pysmb is an experimental SMB/CIFS library written in Python. It implements the client-side SMB/CIFS protocol (SMB1 and SMB2) which allows your Python application to access and transfer files to/from SMB/CIFS shared folders like your Windows file sharing and Samba folders. @ text @d1 1 a1 1 # $NetBSD$ d17 1 a17 1 .include "../../lang/python/distutils.mk" @