From 2043c5fc5461c9ecc1b6e556808136cb6131196db1efbbbbf977a76a2fc17182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 25 Aug 2020 13:37:27 +0000 Subject: [PATCH] Accepting request 829557 from home:mnhauke - Update to version 1.1.0 * Speed up logging statements for large messages like a read and write message. * Changed authentication dep to pyspnego that handles all the authentication work. * Fixed up authentication against hosts that don't present the initial GSSAPI token like Azure File Storage. * Added specific exception types for every 'NtStatus' value to make it easier to catch only specific exceptions. * Added the following exceptions to the list of known exception codes: * 'STATUS_NETWORK_NAME_DELETED' * 'STATUS_NOT_FOUND' * 'STATUS_PATH_NOT_COVERED' * 'STATUS_DFS_UNAVAILABLE' * 'STATUS_SERVER_UNAVAILABLE' * Fix session key generation when creating a new session from an existing connection object. OBS-URL: https://build.opensuse.org/request/show/829557 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smbprotocol?expand=0&rev=14 --- python-smbprotocol-1.0.1.tar.gz | 3 --- python-smbprotocol-1.1.0.tar.gz | 3 +++ python-smbprotocol.changes | 22 ++++++++++++++++++++++ python-smbprotocol.spec | 11 ++++------- 4 files changed, 29 insertions(+), 10 deletions(-) delete mode 100644 python-smbprotocol-1.0.1.tar.gz create mode 100644 python-smbprotocol-1.1.0.tar.gz diff --git a/python-smbprotocol-1.0.1.tar.gz b/python-smbprotocol-1.0.1.tar.gz deleted file mode 100644 index 3033cf5..0000000 --- a/python-smbprotocol-1.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e03296995e89f82524f20654113e531f7133d113382e6078c418bbc0edd80fb4 -size 160249 diff --git a/python-smbprotocol-1.1.0.tar.gz b/python-smbprotocol-1.1.0.tar.gz new file mode 100644 index 0000000..b6a975b --- /dev/null +++ b/python-smbprotocol-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1a1e6f403a91f5143726cd5523c8665f491a7dd60b4e137d2ead4ede6ba13cf +size 158719 diff --git a/python-smbprotocol.changes b/python-smbprotocol.changes index facf2bc..fea220b 100644 --- a/python-smbprotocol.changes +++ b/python-smbprotocol.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Tue Aug 25 12:38:01 UTC 2020 - Martin Hauke + +- Update to version 1.1.0 + * Speed up logging statements for large messages like a read and + write message. + * Changed authentication dep to pyspnego that handles all the + authentication work. + * Fixed up authentication against hosts that don't present the + initial GSSAPI token like Azure File Storage. + * Added specific exception types for every 'NtStatus' value to + make it easier to catch only specific exceptions. + * Added the following exceptions to the list of known exception + codes: + * 'STATUS_NETWORK_NAME_DELETED' + * 'STATUS_NOT_FOUND' + * 'STATUS_PATH_NOT_COVERED' + * 'STATUS_DFS_UNAVAILABLE' + * 'STATUS_SERVER_UNAVAILABLE' + * Fix session key generation when creating a new session from + an existing connection object. + ------------------------------------------------------------------- Wed Dec 11 20:00:41 UTC 2019 - Martin Hauke diff --git a/python-smbprotocol.spec b/python-smbprotocol.spec index be59b2b..08d5685 100644 --- a/python-smbprotocol.spec +++ b/python-smbprotocol.spec @@ -1,7 +1,7 @@ # # spec file for package python-smbprotocol # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-smbprotocol -Version: 1.0.1 +Version: 1.1.0 Release: 0 Summary: SMBv2/v3 client for Python 2 and 3 License: MIT @@ -27,19 +27,16 @@ URL: https://github.com/jborean93/smbprotocol #Source: https://files.pythonhosted.org/packages/source/s/smbprotocol/smbprotocol-%%{version}.tar.gz Source: https://github.com/jborean93/smbprotocol/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module cryptography >= 2.0} -BuildRequires: %{python_module ntlm-auth} -BuildRequires: %{python_module pyasn1} +BuildRequires: %{python_module pyspnego} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-cryptography >= 2.0 -Requires: python-ntlm-auth -Requires: python-pyasn1 +Requires: python-pyspnego Requires: python-six Suggests: python-gssapi >= 1.4.1 -Suggests: python-ordereddict BuildArch: noarch %python_subpackages