From e2b7673b36839839765c72a4eaef29efaeff888ce83d10515977fac97a477995 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Fri, 10 Nov 2017 09:50:46 +0000 Subject: [PATCH] - update to version 2.4.82 - remove patch fix-offline-test.patch, included in upstream version - shorten existing changelogs OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymisp?expand=0&rev=12 --- fix-offline-test.patch | 22 -------- pymisp-2.4.81.2.tar.gz | 3 -- pymisp-2.4.82.tar.gz | 3 ++ python-pymisp.changes | 114 ++++++++++------------------------------- python-pymisp.spec | 4 +- 5 files changed, 32 insertions(+), 114 deletions(-) delete mode 100644 fix-offline-test.patch delete mode 100644 pymisp-2.4.81.2.tar.gz create mode 100644 pymisp-2.4.82.tar.gz diff --git a/fix-offline-test.patch b/fix-offline-test.patch deleted file mode 100644 index f99e2dc..0000000 --- a/fix-offline-test.patch +++ /dev/null @@ -1,22 +0,0 @@ -From a8daa9b97268aece5ae90cd7255f379480d5f056 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= -Date: Wed, 25 Oct 2017 11:17:25 -0400 -Subject: [PATCH] Fix test suite - ---- - tests/test_offline.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/test_offline.py b/tests/test_offline.py -index 47e43a50..70f8e3e1 100644 ---- a/tests/test_offline.py -+++ b/tests/test_offline.py -@@ -47,7 +47,7 @@ def initURI(self, m): - m.register_uri('POST', self.domain + 'events/5758ebf5-c898-48e6-9fe9-5665c0a83866', json=self.event) - m.register_uri('DELETE', self.domain + 'events/2', json={'message': 'Event deleted.'}) - m.register_uri('DELETE', self.domain + 'events/3', json={'errors': ['Invalid event'], 'message': 'Invalid event', 'name': 'Invalid event', 'url': '/events/3'}) -- m.register_uri('DELETE', self.domain + 'attributes/2', json={'message': 'Attribute deleted.'}) -+ m.register_uri('GET', self.domain + 'attributes/delete/2', json={'message': 'Attribute deleted.'}) - m.register_uri('POST', self.domain + 'events/index', json=self.search_index_result) - - def test_getEvent(self, m): diff --git a/pymisp-2.4.81.2.tar.gz b/pymisp-2.4.81.2.tar.gz deleted file mode 100644 index e5bdd89..0000000 --- a/pymisp-2.4.81.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2ce6d8a9c59fe5f63b406b667fd40df8ebba0dee63844dfec95fb9d2892ae6af -size 95315 diff --git a/pymisp-2.4.82.tar.gz b/pymisp-2.4.82.tar.gz new file mode 100644 index 0000000..b8260fe --- /dev/null +++ b/pymisp-2.4.82.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21834f562632cbb87c867c5cd4839799832b5714cc3c8e2797e56c4a72f6e26c +size 97924 diff --git a/python-pymisp.changes b/python-pymisp.changes index b4824e7..0d028f3 100644 --- a/python-pymisp.changes +++ b/python-pymisp.changes @@ -1,115 +1,57 @@ +------------------------------------------------------------------- +Fri Nov 10 08:16:45 UTC 2017 - sebix+novell.com@sebix.at + +- update to version 2.4.82 + - Proper debug system. + - Changes + - Small improvments in the logging system using python logging module. + - Let load unknown object relations in known templates. + - Allow to load non-malware ZIP files in MISP Event. + - Properly pass the distribution when uploading a sample. + - Other + - Created add_generic_object.py. +- remove patch fix-offline-test.patch, included in upstream version +- shorten existing changelogs + ------------------------------------------------------------------- Thu Oct 26 09:56:58 UTC 2017 - sebix+novell.com@sebix.at -- update to version 2.4.81.2: - - Properly bundle object templates. [Raphaël Vinot] +- update to version 2.4.81.2 - update to version 2.4.81.1: - - Do not raise an exception when the object template is unknown. [Raphaël Vinot] - - Allow to hard delete an attribute by ID. [Raphaël Vinot] + - Allow to hard delete an attribute by ID. - Fixes - - Properly bundle object templates. [Raphaël Vinot] - - Fix typos and logic mistakes in mispevent. [Raphaël Vinot] - - Min required version of setuptools. [Raphaël Vinot] - - Improve dependencies listing. [Raphaël Vinot] Partial fix for #110 - - Missing default category. [Raphaël Vinot] Fix #119 + - Improve dependencies listing. Partial fix for #110 + - Missing default category. Fix #119 - add fix-offline-test.patch to fix tests ------------------------------------------------------------------- Mon Oct 9 17:44:18 UTC 2017 - sebix+novell.com@sebix.at -- update to version 2.4.81: - - Fix - - Changelog config + update. [Raphaël Vinot] - - Other - - Up: bump version. [Raphaël Vinot] - - Up: Bump misp-objects. [Raphaël Vinot] +- update to version 2.4.81 ------------------------------------------------------------------- Wed Oct 4 16:16:57 UTC 2017 - sebix+novell.com@sebix.at - update to version 2.4.80.1 - - Changes - - Update changelog. [Raphaël Vinot] - Fix - - Change readme. [Raphaël Vinot] - - Create file object. [Raphaël Vinot] - Was broken in case the file was neither PE/ELF/Mach-O - - Allow again to tag/delete unsaved attributes. [Raphaël Vinot] - - Live tests. [Raphaël Vinot] - - Import the openioc converter from tool again. [Raphaël Vinot] + - Allow again to tag/delete unsaved attributes. + - Import the openioc converter from tool again. - Other - - Up: Version bump. [Raphaël Vinot] - - Up: Bump misp-objects & describeTypes. [Raphaël Vinot] - - Update readme. [Raphaël Vinot] - - Merge pull request #116 from cgi1/patch-2. [Raphaël Vinot] - - Similar to #114 on attribute level. [cgi1] - `add_attribute_tag(tag,attribute_identifier)` fails if attribute does not have any tag in before. - - Merge pull request #115 from cgi1/patch-1. [Raphaël Vinot] - Fixing #114 (MISPEvent.add_tag(tag) fails if inital event does not contain tag ) - - Fixing #114. [cgi1] - - Merge pull request #112 from CenturyLinkCIRT/unknown-object-name- - patch. [Raphaël Vinot] - - Formatted "Unknown MISP object" error message. [infosec-intern] - When a user tries to add an object with a name that doesn't exist, the error thrown was missing its format string - This ended up looking like - pymisp.exceptions.UnknownMISPObjectTemplate: {} is unknown in the MISP object directory. - Here's a patch that adds self.name to the format string - - Merge branch 'master' of github.com:MISP/PyMISP. [Raphaël Vinot] - - Merge pull request #111 from wagner-certat/skip-tests. [Raphaël Vinot] - - TST: skip test with optional files if not existing. [Sebastian Wagner] - - TST: update test requirements. [Sebastian Wagner] - - Update: make make_binary_objects more flexible. [Raphaël Vinot] - - fix: use proper exception handlers + - Fixing #114 (MISPEvent.add_tag(tag) fails if inital event does not contain tag ) + - Formatted "Unknown MISP object" error message. - removed fix-tests-pr-111.patch, merged upstream ------------------------------------------------------------------- Wed Sep 20 09:37:12 UTC 2017 - sebix+novell.com@sebix.at - update to version 2.4.80 - - Properly initialize a new malware sample. [Raphaël Vinot] - - Merge branch 'master' of github.com:MISP/PyMISP. [Raphaël Vinot] - - Permission issue... [Alexandre Dulaunoy] - - Merge branch 'objects' [Raphaël Vinot] - - Bump misp object. [Raphaël Vinot] - - Allow to get the list of known types out of MISPEvent again. [Raphaël - Vinot] - - Merge branch 'objects' of github.com:MISP/PyMISP into objects. - [Raphaël Vinot] - - Changed source => object / destination => referenced. [iglocska] - - Use MISPAbstract as a master class everywhere. [Raphaël Vinot] - This is probably breaking everything.... ¯\_(ツ)_/¯ - - Bump miso-objects. [Raphaël Vinot] - - Changed two fields in object references. [iglocska] + - Allow to get the list of known types out of MISPEvent again. + - Changed two fields in object references. - source_uuid => object_uuid - destination_uuid => referenced_uuid - - Some more refactoring. [Raphaël Vinot] - - Some more refactoring and cleanup. [Raphaël Vinot] - - Update object definitions. [Raphaël Vinot] - - Update PE generator. [Raphaël Vinot] - - Refactoring in order to load objects. [Raphaël Vinot] + - Refactoring in order to load objects. - Add support for multiple entries of the same type in an object. - [Raphaël Vinot] - - Remove some python versions from travis. [Raphaël Vinot] - - Do not try to run code requiring lief. [Raphaël Vinot] - - Remove ImportError. [Raphaël Vinot] - - Install deps in travis. [Raphaël Vinot] - - Update tests. [Raphaël Vinot] - - Do not fail if pymisp is not installed. [Raphaël Vinot] - - Add support for ELF and MachO objects. [Raphaël Vinot] - - Update get_template_id, cleanup. [Raphaël Vinot] - - Refactor all the things. [Raphaël Vinot] - Add script for MISP core, make everything generic. - - Fixing undefined ressources_path. [edhoedt] - - Update function names in mispevent. [Raphaël Vinot] - - Re-enable python < 3.5 support. [Raphaël Vinot] - - Update file/pe/pe-sections objects creator. [Raphaël Vinot] - - Doesn't require describe_types in MISPAttribute's constructor. - [Raphaël Vinot] - - Update accordingly to the current server implementation. [Raphaël - Vinot] - - Re-enable python2 support... [Raphaël Vinot] - - Initial commit supporting MISP Objects. [Raphaël Vinot] - - ChangeLog updated to the latest version. [Alexandre Dulaunoy] + - Add support for ELF and MachO objects. - add fix-tests-pr-111.patch to skip an optional test depending on third party data ------------------------------------------------------------------- diff --git a/python-pymisp.spec b/python-pymisp.spec index db7030f..a017c56 100644 --- a/python-pymisp.spec +++ b/python-pymisp.spec @@ -20,14 +20,13 @@ %{!?license: %global license %doc} %bcond_without test Name: python-pymisp -Version: 2.4.81.2 +Version: 2.4.82 Release: 0 Summary: Python API for MISP License: BSD-2-Clause Group: Development/Languages/Python Url: https://github.com/MISP/PyMISP Source: https://files.pythonhosted.org/packages/source/p/pymisp/pymisp-%{version}.tar.gz -Patch0: https://github.com/MISP/PyMISP/commit/a8daa9b97268aece5ae90cd7255f379480d5f056.patch#/fix-offline-test.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -68,7 +67,6 @@ Examples and HTML documentation for %{name}. %prep %setup -q -n pymisp-%{version} -%patch0 -p1 find pymisp examples -name "*.py" -type f -exec sed -i '1s/^#!.*//' '{}' \+ %build