commit python-pymisp for openSUSE:Leap:15.2

2020-03-30 Thread root
Hello community,

here is the log from the commit of package python-pymisp for openSUSE:Leap:15.2 
checked in at 2020-03-31 07:23:17

Comparing /work/SRC/openSUSE:Leap:15.2/python-pymisp (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.python-pymisp.new.3160 (New)


Package is "python-pymisp"

Tue Mar 31 07:23:17 2020 rev:20 rq:789506 version:2.4.123

Changes:

--- /work/SRC/openSUSE:Leap:15.2/python-pymisp/python-pymisp.changes
2020-03-29 14:55:32.655150955 +0200
+++ /work/SRC/openSUSE:Leap:15.2/.python-pymisp.new.3160/python-pymisp.changes  
2020-03-31 07:23:18.998422685 +0200
@@ -1,0 +2,60 @@
+Tue Mar 17 14:49:18 UTC 2020 - Sebastian Wagner 
+
+- set UTF-8 encoding for test, fixes Leap 15.1 buildc
+
+---
+Sun Mar 15 10:11:15 UTC 2020 - Sebastian Wagner 
+
+- change source URL to github, as the pypi archive misses some files.
+- add misp-objects source as github archive misses it.
+- update to version 2.4.123:
+ - New
+   - Add import script for dxy data. [Raphaël Vinot]
+   - Csse covid19 daily report importer. [Raphaël Vinot]
+ - Changes
+   - Bump version. [Raphaël Vinot]
+   - Bump changelog. [Raphaël Vinot]
+   - Bump dependencies. [Raphaël Vinot]
+   - Bump misp-objects. [Raphaël Vinot]
+   - JSON files are UTF8. [Raphaël Vinot]
+ Bump dev deps, update comment
+   - Add tag, set distribution, add file and source (CSSE importer)
+ [Raphaël Vinot]
+   - Bump misp-objects. [Raphaël Vinot]
+- update to version 2.4.122:
+ - New
+   - Add uuid by default in MISPEvent, add F/L seen in feed output.
+ [Raphaël Vinot]
+   - Admin script to setup a sync server. [Raphaël Vinot]
+   - Add feed generation example in notebook. [Raphaël Vinot]
+ - Changes
+   - Bump changelog. [Raphaël Vinot]
+   - Comments were still referencing pipenv. [Raphaël Vinot]
+   - Bump misp-objects. [Raphaël Vinot]
+   - Bump misp-objects. [Raphaël Vinot]
+   - Bump changelog. [Raphaël Vinot]
+   - Bump version. [Raphaël Vinot]
+   - Bump misp-objects. [Raphaël Vinot]
+   - Bump dependencies. [Raphaël Vinot]
+   - Bump dep. [Raphaël Vinot]
+   - Fix typo in readme. [Raphaël Vinot]
+   - Use bionic on travis. [Raphaël Vinot]
+   - Add poetry support. [Raphaël Vinot]
+ - Fix
+   - Test cases & template version. [Raphaël Vinot]
+   - Mypy, more typing. [Raphaël Vinot]
+   - Do not skip data in add_attribute methods. [Raphaël Vinot]
+   - Remove references to the old API. [Raphaël Vinot]
+ - Other
+   - Use poetry everywhere, fix readme. [Raphaël Vinot]
+- update to version 2.4.121.1:
+ - Changes
+   - Bump changelog. [Raphaël Vinot]
+   - Bump objects. [Raphaël Vinot]
+   - Bump changelog. [Raphaël Vinot]
+   - Bump version. [Raphaël Vinot]
+ - Fix
+   - Make lief optional again. [Raphaël Vinot]
+ fix #538
+
+---

Old:

  changelog.sh
  pymisp-2.4.121.1.tar.gz

New:

  misp-objects.tar.gz
  python-pymisp-2.4.123.tar.gz



Other differences:
--
++ python-pymisp.spec ++
--- /var/tmp/diff_new_pack.nybv4d/_old  2020-03-31 07:23:19.418422867 +0200
+++ /var/tmp/diff_new_pack.nybv4d/_new  2020-03-31 07:23:19.422422869 +0200
@@ -19,15 +19,17 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-pymisp
-Version:2.4.121.1
+Version:2.4.123
 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
-# Internal script for generating changelog
-Source1:changelog.sh
+Source0:
https://github.com/MISP/PyMISP/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# github tarball misses the misp-objects subproject data
+Source1:
https://github.com/MISP/misp-objects/archive/7ef9a2ba56efc6553a720d6df27c9ee547e24242.tar.gz#/misp-objects.tar.gz
+# pypi tarball missing some files: https://github.com/MISP/PyMISP/issues/554
+#Source: 
https://files.pythonhosted.org/packages/source/p/pymisp/pymisp-%%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -76,7 +78,10 @@
 Examples and HTML documentation for %{name}.
 
 %prep
-%setup -q -n pymisp-%{version}
+%setup -q -n PyMISP-%{version}
+#%%setup -q -n pymisp-%%{version}
+%setup -T -D -b 1 -n PyMISP-%{version}
+mv ../misp-objects-*/* pymisp/data/misp-objects/
 find pymisp examples -name "*.py" -type f -exec sed -i '1s/^#!.*//' '{}' \+
 
 %build
@@ -92,6 +97,7 @@
 %{python_expand %fdupes %{buildroot}%{$python_sitelib}}
 
 

commit python-pymisp for openSUSE:Leap:15.2

2020-03-29 Thread root
Hello community,

here is the log from the commit of package python-pymisp for openSUSE:Leap:15.2 
checked in at 2020-03-29 14:55:28

Comparing /work/SRC/openSUSE:Leap:15.2/python-pymisp (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.python-pymisp.new.3160 (New)


Package is "python-pymisp"

Sun Mar 29 14:55:28 2020 rev:19 rq:776991 version:2.4.121.1

Changes:

--- /work/SRC/openSUSE:Leap:15.2/python-pymisp/python-pymisp.changes
2020-01-15 15:52:02.343549608 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-pymisp.new.3160/python-pymisp.changes  
2020-03-29 14:55:32.655150955 +0200
@@ -1,0 +2,938 @@
+Sat Feb  8 16:21:30 UTC 2020 - Sebastian Wagner 
+
+- update to version 2.4.121.1:
+ - Fix
+   - Make lief optional again. [Raphaël Vinot]
+ fix #538
+- remove fix-tests-template-version.patch, merged upstream
+
+---
+Thu Feb  6 19:45:45 UTC 2020 - Sebastian Wagner 
+
+- update to version 2.4.121:
+ - New
+   - Add includeDecayScore to rest search. [VVX7]
+   - Support for first_seen/last_seen. [Raphaël Vinot]
+ Cleaner import of datetime
+   - [attributes] chrome-extension-id added. [Alexandre Dulaunoy]
+ - Changes
+   - Do not install neo by default. [Raphaël Vinot]
+   - Bump objects. [Raphaël Vinot]
+   - More flexible when an event is in a weird state. [Raphaël Vinot]
+   - Str to int, properly load SharingGroup. [Raphaël Vinot]
+ Fix #535
+   - Bump deps, add pep8 test. [Raphaël Vinot]
+   - Bump objects. [Raphaël Vinot]
+   - Support dict in tag/untag. [Raphaël Vinot]
+   - Test update last seen. [Raphaël Vinot]
+   - Add test cases in feed. [Raphaël Vinot]
+   - Add test cases. [Raphaël Vinot]
+   - Normalize to_datetime conversion. [Raphaël Vinot]
+   - Trustar example uses objects. [Raphaël Vinot]
+   - Add lief in the generic requirements. [Raphaël Vinot]
+   - Refactorize typing, validate. [Raphaël Vinot]
+ - Fix
+   - Issue with readme. [Raphaël Vinot]
+   - Remove debugging. [Raphaël Vinot]
+   - [*-seen] Consider that `-` can also be in the date component while
+ parsing. [mokaddem]
+   - First seen was after last seen, trigerring the exception. [Raphaël
+ Vinot]
+   - Tests failing if local tz was not CET. [Raphaël Vinot]
+   - Syntax and typos. [Raphaël Vinot]
+   - Bugs introduced by last commit. [Raphaël Vinot]
+ - Other
+   - Doc: fix Search-FullOverview.ipynb code example. [Bernhard E. Reiter]
+   - Chore: delete old examples. [Manabu Niseki]
+ Delete examples which use deprecated/deleted methods
+   - Scrape trustar intel platform reports and create misp events.
+ [th3jiv3r]
+   - Configuration for trustar integration. [th3jiv3r]
+   - Fixed trailing lines. [turtlefac3]
+   - Fixed trailing lines. [turtlefac3]
+   - Custom integration written in python to scrape Proofpoint VAP API for
+ metrics of top Very Attacked Persons and create MISP events.
+ [turtlefac3]
+   - Fix typos on FullOverview.ipynb. [Bernhard E. Reiter]
+
+---
+Sat Jan 18 09:59:31 UTC 2020 - Sebastian Wagner 
+
+- drop python2, not supported anymore upstream
+- add fix-tests-template-version.patch from upstream commit to fix tests
+- update to version 2.4.120:
+ - New
+   - [attribute type] kusto-query attribute type. [Alexandre Dulaunoy]
+ Kusto query is the query language for the Kusto services in Azure used
+ to search large dataset. It's used in Windows Defender ATP Hunting-Queries
+ and also Azure Sentinel (Cloud-native SIEM).
+   - Remove python < 3.6 support. [Raphaël Vinot]
+ - Changes
+   - Bump version. [Raphaël Vinot]
+   - Bump Changelog. [Raphaël Vinot]
+   - Bump misp-objects. [Raphaël Vinot]
+   - Bump dependencies, add debug. [Raphaël Vinot]
+   - Upate dummy events creator. [Raphaël Vinot]
+   - Add tests on more version of Python. [Raphaël Vinot]
+   - Search with the STIX output returns a json STIX. [Raphaël Vinot]
+ Was XML before.
+   - Bump dependencies. [Raphaël Vinot]
+   - Add more typing information. [Raphaël Vinot]
+   - Add typing markup. [Raphaël Vinot]
+   - Bump misp-objects. [Raphaël Vinot]
+   - Bump Dependencies. [Raphaël Vinot]
+   - Bump misp-objects. [Raphaël Vinot]
+ - Fix
+   - Add missing variable in dummy creator. [Raphaël Vinot]
+   - Et2misp was python2 only. [Raphaël Vinot]
+   - Feed generator was broken. [Raphaël Vinot]
+ Fix #506
+   - Event without hashable attribute. [Raphaël Vinot]
+ Related #506
+ - Other
+   - Update api.py. [AaronK]
+ minor typo, can;t help it noticing those. sorry,
+   - Fixed TODO, added quarantineFolder/quarantineRule from
+ messagesBlocked, added some error handling to prevent empty attributes
+ from trying to be added. [th3jiv3r]
+   - Scrape proofpoint tap api for messages blocked/delivered & clicks
+