From 0d0ee515d4bad70627595dc14d584c6dff7858a105f69f5bea61f216306dd61a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 1 Aug 2019 05:58:39 +0000 Subject: [PATCH] Accepting request 720117 from home:mnhauke:network - Update to version 4.4.10 * Reworked VACM access control function. Most important changes include: + Added subtree match negation support (vacmViewTreeFamilyType) + Added subtree family mask support (vacmViewTreeFamilyMask) + Added prefix content name matching support (vacmAccessContextMatch) + Added key VACM tables caching for better `isAccessAllowed` lookup performance One potential incompatibility may be caused by the `addContext()` call which now needs to be made explicitly during low-level VACM configuration rather than be a side effect of `addVacmAccess()` call. * Rebased MIB importing code onto `importlib` because `imp` is long deprecated * Received MIB objects resolution made more forgiving to errors, added optional `ignoreErrors` parameter to `ObjectType.resolveWithMib()` to control that behaviour. * Fixed asyncore main loop to respect non-default timer resolution * Fixed `.setTimerResolution()` behaviour of abstract main loop dispatcher to update call intervals of the existing periodic dispatcher jobs * Fixed `var-bindings` initialization to prevent pyasn1 encoder failures with newer pyasn1 versions where `SequenceOf` type looses its default initializer. * Fixed crash on uninitialized component serialization left out in SNMP v1 TRAP PDU to SNMPv2/3 TRAP PDU proxy translation routine. OBS-URL: https://build.opensuse.org/request/show/720117 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=41 --- pysnmp-4.4.10.tar.gz | 3 +++ pysnmp-4.4.9.tar.gz | 3 --- python-pysnmp.changes | 30 ++++++++++++++++++++++++++++++ python-pysnmp.spec | 4 ++-- 4 files changed, 35 insertions(+), 5 deletions(-) create mode 100644 pysnmp-4.4.10.tar.gz delete mode 100644 pysnmp-4.4.9.tar.gz diff --git a/pysnmp-4.4.10.tar.gz b/pysnmp-4.4.10.tar.gz new file mode 100644 index 0000000..1e057e2 --- /dev/null +++ b/pysnmp-4.4.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b60ca2f9980c44d1879f66511378e95c5ccf294f17b7b8809f6f0d514e330e65 +size 443230 diff --git a/pysnmp-4.4.9.tar.gz b/pysnmp-4.4.9.tar.gz deleted file mode 100644 index 293dd24..0000000 --- a/pysnmp-4.4.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:256d0945d9662d7799ee21e2cccd5d702904a87f29e6d706500152a9af25e471 -size 439781 diff --git a/python-pysnmp.changes b/python-pysnmp.changes index d6e2e12..0b8d1d3 100644 --- a/python-pysnmp.changes +++ b/python-pysnmp.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Wed Jul 31 20:44:55 UTC 2019 - Martin Hauke + +- Update to version 4.4.10 + * Reworked VACM access control function. Most important changes include: + + + Added subtree match negation support (vacmViewTreeFamilyType) + + Added subtree family mask support (vacmViewTreeFamilyMask) + + Added prefix content name matching support (vacmAccessContextMatch) + + Added key VACM tables caching for better `isAccessAllowed` lookup + performance + + One potential incompatibility may be caused by the `addContext()` call + which now needs to be made explicitly during low-level VACM configuration + rather than be a side effect of `addVacmAccess()` call. + + * Rebased MIB importing code onto `importlib` because `imp` is long + deprecated + * Received MIB objects resolution made more forgiving to errors, added + optional `ignoreErrors` parameter to `ObjectType.resolveWithMib()` to + control that behaviour. + * Fixed asyncore main loop to respect non-default timer resolution + * Fixed `.setTimerResolution()` behaviour of abstract main loop dispatcher + to update call intervals of the existing periodic dispatcher jobs + * Fixed `var-bindings` initialization to prevent pyasn1 encoder failures + with newer pyasn1 versions where `SequenceOf` type looses its default + initializer. + * Fixed crash on uninitialized component serialization left out in + SNMP v1 TRAP PDU to SNMPv2/3 TRAP PDU proxy translation routine. + ------------------------------------------------------------------- Sat Feb 9 20:53:52 UTC 2019 - mardnh@gmx.de diff --git a/python-pysnmp.spec b/python-pysnmp.spec index 263404d..467b20d 100644 --- a/python-pysnmp.spec +++ b/python-pysnmp.spec @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pysnmp -Version: 4.4.9 +Version: 4.4.10 Release: 0 Summary: A pure-Python SNMPv1/v2c/v3 library License: BSD-2-Clause