14
0
forked from pool/python-pysnmp

Accepting request 620239 from home:mnhauke

- Fix license
- Update to 4.4.4:
  * Copyright notice extended to the year 2018
  * Fixed short local key expansion at 3DES key localization
    implementation.
  
- Update to 4.4.3:
  * Migrated references from SourceForge
  * Added missing SHA2 support for Blumenthal key localization
  * Fixed named bits handling at rfc1902.Bits
  * Fixed missing SmiError exception class at pysnmp.proto.rfc1155
  * Fixed SNMP v1->v2c PDU proxy -- error-status & error-index fields
    from v1 PDU get copied over to v2c PDU in addition to the exception
    sentinels being set
- Update to 4.4.2:
  * The pysnmp version being used gets exposed to the MIB modules
  via the `MibBuilder` instance
  * The .setObjects() method of the SMI types now accepts
    `append=False` parameter to let the caller adding more
    than 255 elements over the course of multiple calls
  * Added support for some more missing fields of SMIv2 MACRO types
  * Example scripts rearranged in a way that IPv6 requirement is
    clearly encoded in the script's name
  * Fixed SNMPv2-SMI.NotificationType to expose .set/getReference()
    instead of .set/getRevision() which should not be there in the
    first place
  * Fixed non-implied-OID encoding in SNMP table indices
  * Fixed inconsistent SNMPv3 discovery and retrying algorithm
- Update to 4.4.1:
  * HMAC-SHA-2 Authentication Protocols support added (RFC-7860)

OBS-URL: https://build.opensuse.org/request/show/620239
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=27
This commit is contained in:
Tomáš Chvátal
2018-07-02 15:10:13 +00:00
committed by Git OBS Bridge
parent 4057739c1f
commit bbd5fe2eb7
4 changed files with 82 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59c196ce599617ad6f484d20bc61336bff64d3dca4bc99282ba06047248fc70c
size 425302

3
pysnmp-4.4.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2f363106ad1518d9ef81c1f04b3764a77f9e5fac0303e3148ceb4261c9c6fcca
size 436318

View File

@@ -1,3 +1,67 @@
-------------------------------------------------------------------
Fri Jun 29 13:17:52 UTC 2018 - mardnh@gmx.de
- Fix license
- Update to 4.4.4:
* Copyright notice extended to the year 2018
* Fixed short local key expansion at 3DES key localization
implementation.
- Update to 4.4.3:
* Migrated references from SourceForge
* Added missing SHA2 support for Blumenthal key localization
* Fixed named bits handling at rfc1902.Bits
* Fixed missing SmiError exception class at pysnmp.proto.rfc1155
* Fixed SNMP v1->v2c PDU proxy -- error-status & error-index fields
from v1 PDU get copied over to v2c PDU in addition to the exception
sentinels being set
- Update to 4.4.2:
* The pysnmp version being used gets exposed to the MIB modules
via the `MibBuilder` instance
* The .setObjects() method of the SMI types now accepts
`append=False` parameter to let the caller adding more
than 255 elements over the course of multiple calls
* Added support for some more missing fields of SMIv2 MACRO types
* Example scripts rearranged in a way that IPv6 requirement is
clearly encoded in the script's name
* Fixed SNMPv2-SMI.NotificationType to expose .set/getReference()
instead of .set/getRevision() which should not be there in the
first place
* Fixed non-implied-OID encoding in SNMP table indices
* Fixed inconsistent SNMPv3 discovery and retrying algorithm
- Update to 4.4.1:
* HMAC-SHA-2 Authentication Protocols support added (RFC-7860)
* The pycryptodome dependency replaced with pycryptodomex as
it is recommended by the upstream to avoid unwanted interference
with PyCrypto package should it also be installed
* Sphinx theme changed to Alabaster in the documentation
* Minor adjustments towards pyasn1 0.4.x compatibility
* Fixed ObjectIdentifier-into-ObjectIdentity casting at
rfc1902.ObjectType MIB resolution harness
* Fixed NetworkAddress object handling in SNMP table indices
* Fixed MIB lookup by module:object.indices MIB object with
InetAddressIPv{4,6} objects being in the index
* Fixed non-translated PDU being retries at CommandGenerator what
leads to wrong PDU version being sent and even a crash on
incompatible PDU/SNMP message combination
- Update to 4.3.10:
* Refactored partial SNMP message decoding to make it less dependent
on unpublished pyasn1 API features.
* Fix to MibTableRow.setFromName() to keep the input parameter type when
it propagates to the return value. Before this fix
ObjectIdentity.prettyPrint() may crash when rendering malformed SNMP
table indices.
* Fixed NotificationReceiver to include SNMPv1 TRAP Message community
string into SNMPv2c/v3 TRAP PDU
* Fixed multiple bugs in SNMP table indices rendering, especially
the InetAddressIPv6 type which was severely broken.
* Fixed crashing Bits.prettyPrint() implementation
* Fixed crashing Bits.clone()/subtype() implementation
* Fixed leaking exceptions bubbling up from the asyncio and Twisted adapters
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 25 15:20:56 UTC 2017 - jengelh@inai.de Fri Aug 25 15:20:56 UTC 2017 - jengelh@inai.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pysnmp # spec file for package python-pysnmp
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,24 +18,24 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pysnmp Name: python-pysnmp
Version: 4.3.9 Version: 4.4.4
Release: 0 Release: 0
Url: http://pysnmp.sourceforge.net/
Summary: A pure-Python SNMPv1/v2c/v3 library Summary: A pure-Python SNMPv1/v2c/v3 library
License: GPL-2.0 License: BSD-2-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: http://pysnmp.sourceforge.net/
Source: https://files.pythonhosted.org/packages/source/p/pysnmp/pysnmp-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pysnmp/pysnmp-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pyasn1 >= 0.2.3} BuildRequires: %{python_module pyasn1 >= 0.2.3}
BuildRequires: %{python_module pycryptodomex}
BuildRequires: %{python_module pysmi} BuildRequires: %{python_module pysmi}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-pyasn1 >= 0.2.3 Requires: python-pyasn1 >= 0.2.3
Requires: python-pycryptodome Requires: python-pycryptodomex
Requires: python-pysmi Requires: python-pysmi
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -71,14 +71,18 @@ find docs -name "\.*" -exec rm -Rf {} +
chmod -x docs/net-snmptrapd.conf docs/net-snmpd.conf chmod -x docs/net-snmptrapd.conf docs/net-snmpd.conf
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
### Disable checks since those require network access to demo.snmplabs.com
#%%check
#%%python_expand PYTHONPATH=%%{buildroot}%%{$python_sitelib} ./runtests.sh
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE.txt
%doc CHANGES.txt LICENSE.txt README.md THANKS.txt TODO.txt docs examples %doc CHANGES.txt README.md THANKS.txt TODO.txt docs examples
%{python_sitelib}/pysnmp/ %{python_sitelib}/pysnmp/
%{python_sitelib}/pysnmp-%{version}-py%{py_ver}.egg-info %{python_sitelib}/pysnmp-%{version}-py%{py_ver}.egg-info
%files -n python-pysnmp-doc %files -n python-pysnmp-doc
%defattr(-,root,root) %license LICENSE.txt
%doc LICENSE.txt docs examples %doc docs examples
%changelog %changelog