Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-cybox py-cybox: updated to 2.1.0.21



details:   https://anonhg.NetBSD.org/pkgsrc/rev/546435cb255e
branches:  trunk
changeset: 431488:546435cb255e
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed May 13 21:48:05 2020 +0000

description:
py-cybox: updated to 2.1.0.21

Version 2.1.0.21
- New API Objects Support
- 8 New Objects API Classes
- 12 New Common API Classes
- Observable DefinedEffects
- More tests to cover new or existent objects
- Update documentation and coverage
- Rename module cybox/objects/{win_user_object.py → win_user_account_object.py} for consistency
- Some objects have been revised for TypedFields and/or new properties are now available

Version 2.1.0.20
- Fix parsing if algorithm, compression_mechanism, or encryption_mechanism are not present in Factories
- Factory classes now have a register_extension method decorator to extend API classes for the pack/unpack functionality
- The factory will fallback to the Base class when no mapping is found

Version 2.1.0.19
- Implement the Packaging attribute from Artifacts as a TypedField
- Fix a wrapping problem with one of the helper methods for ipv4 observables

Version 2.1.0.18
- Add missing methods to ListFieldMixin.
- Fix handling of empty Hash values.

diffstat:

 security/py-cybox/Makefile |    9 +-
 security/py-cybox/PLIST    |  146 ++++++++++++++++++++++++++++++++++++++++++--
 security/py-cybox/distinfo |   10 +-
 3 files changed, 147 insertions(+), 18 deletions(-)

diffs (truncated from 363 to 300 lines):

diff -r 6d699abb2ea4 -r 546435cb255e security/py-cybox/Makefile
--- a/security/py-cybox/Makefile        Wed May 13 20:20:52 2020 +0000
+++ b/security/py-cybox/Makefile        Wed May 13 21:48:05 2020 +0000
@@ -1,18 +1,15 @@
-# $NetBSD: Makefile,v 1.8 2018/03/23 12:51:21 adam Exp $
+# $NetBSD: Makefile,v 1.9 2020/05/13 21:48:05 adam Exp $
 
-DISTNAME=      cybox-2.1.0.17
+DISTNAME=      cybox-2.1.0.21
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=CybOXProject/}
+MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cybox/}
 
 MAINTAINER=    khorben%defora.org@localhost
 HOMEPAGE=      https://github.com/CybOXProject/python-cybox
 COMMENT=       Python library for manipulating CybOX content
 LICENSE=       modified-bsd
 
-GITHUB_PROJECT=        python-cybox
-GITHUB_TAG=    v${PKGVERSION_NOREV}
-
 DEPENDS+=      ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
 DEPENDS+=      ${PYPKGPREFIX}-lxml>=2.2.3:../../textproc/py-lxml
 DEPENDS+=      ${PYPKGPREFIX}-mixbox>=1.0.2:../../devel/py-mixbox
diff -r 6d699abb2ea4 -r 546435cb255e security/py-cybox/PLIST
--- a/security/py-cybox/PLIST   Wed May 13 20:20:52 2020 +0000
+++ b/security/py-cybox/PLIST   Wed May 13 21:48:05 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2018/03/23 12:51:21 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/05/13 21:48:05 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -295,9 +295,24 @@
 ${PYSITELIB}/cybox/common/attribute_groups.py
 ${PYSITELIB}/cybox/common/attribute_groups.pyc
 ${PYSITELIB}/cybox/common/attribute_groups.pyo
+${PYSITELIB}/cybox/common/build.py
+${PYSITELIB}/cybox/common/build.pyc
+${PYSITELIB}/cybox/common/build.pyo
 ${PYSITELIB}/cybox/common/byterun.py
 ${PYSITELIB}/cybox/common/byterun.pyc
 ${PYSITELIB}/cybox/common/byterun.pyo
+${PYSITELIB}/cybox/common/cipher.py
+${PYSITELIB}/cybox/common/cipher.pyc
+${PYSITELIB}/cybox/common/cipher.pyo
+${PYSITELIB}/cybox/common/compensation_model.py
+${PYSITELIB}/cybox/common/compensation_model.pyc
+${PYSITELIB}/cybox/common/compensation_model.pyo
+${PYSITELIB}/cybox/common/compilers.py
+${PYSITELIB}/cybox/common/compilers.pyc
+${PYSITELIB}/cybox/common/compilers.pyo
+${PYSITELIB}/cybox/common/configuration_settings.py
+${PYSITELIB}/cybox/common/configuration_settings.pyc
+${PYSITELIB}/cybox/common/configuration_settings.pyo
 ${PYSITELIB}/cybox/common/contributor.py
 ${PYSITELIB}/cybox/common/contributor.pyc
 ${PYSITELIB}/cybox/common/contributor.pyo
@@ -310,12 +325,21 @@
 ${PYSITELIB}/cybox/common/datetimewithprecision.py
 ${PYSITELIB}/cybox/common/datetimewithprecision.pyc
 ${PYSITELIB}/cybox/common/datetimewithprecision.pyo
+${PYSITELIB}/cybox/common/dependencies.py
+${PYSITELIB}/cybox/common/dependencies.pyc
+${PYSITELIB}/cybox/common/dependencies.pyo
 ${PYSITELIB}/cybox/common/digitalsignature.py
 ${PYSITELIB}/cybox/common/digitalsignature.pyc
 ${PYSITELIB}/cybox/common/digitalsignature.pyo
 ${PYSITELIB}/cybox/common/environment_variable.py
 ${PYSITELIB}/cybox/common/environment_variable.pyc
 ${PYSITELIB}/cybox/common/environment_variable.pyo
+${PYSITELIB}/cybox/common/errors.py
+${PYSITELIB}/cybox/common/errors.pyc
+${PYSITELIB}/cybox/common/errors.pyo
+${PYSITELIB}/cybox/common/execution_environment.py
+${PYSITELIB}/cybox/common/execution_environment.pyc
+${PYSITELIB}/cybox/common/execution_environment.pyo
 ${PYSITELIB}/cybox/common/extracted_features.py
 ${PYSITELIB}/cybox/common/extracted_features.pyc
 ${PYSITELIB}/cybox/common/extracted_features.pyo
@@ -325,12 +349,21 @@
 ${PYSITELIB}/cybox/common/hashes.py
 ${PYSITELIB}/cybox/common/hashes.pyc
 ${PYSITELIB}/cybox/common/hashes.pyo
+${PYSITELIB}/cybox/common/internationalization_settings.py
+${PYSITELIB}/cybox/common/internationalization_settings.pyc
+${PYSITELIB}/cybox/common/internationalization_settings.pyo
+${PYSITELIB}/cybox/common/libraries.py
+${PYSITELIB}/cybox/common/libraries.pyc
+${PYSITELIB}/cybox/common/libraries.pyo
 ${PYSITELIB}/cybox/common/location.py
 ${PYSITELIB}/cybox/common/location.pyc
 ${PYSITELIB}/cybox/common/location.pyo
 ${PYSITELIB}/cybox/common/measuresource.py
 ${PYSITELIB}/cybox/common/measuresource.pyc
 ${PYSITELIB}/cybox/common/measuresource.pyo
+${PYSITELIB}/cybox/common/metadata.py
+${PYSITELIB}/cybox/common/metadata.pyc
+${PYSITELIB}/cybox/common/metadata.pyo
 ${PYSITELIB}/cybox/common/object_properties.py
 ${PYSITELIB}/cybox/common/object_properties.pyc
 ${PYSITELIB}/cybox/common/object_properties.pyo
@@ -349,6 +382,9 @@
 ${PYSITELIB}/cybox/common/tools.py
 ${PYSITELIB}/cybox/common/tools.pyc
 ${PYSITELIB}/cybox/common/tools.pyo
+${PYSITELIB}/cybox/common/usage_context.py
+${PYSITELIB}/cybox/common/usage_context.pyc
+${PYSITELIB}/cybox/common/usage_context.pyo
 ${PYSITELIB}/cybox/common/vocabs.py
 ${PYSITELIB}/cybox/common/vocabs.pyc
 ${PYSITELIB}/cybox/common/vocabs.pyo
@@ -367,6 +403,9 @@
 ${PYSITELIB}/cybox/core/associated_object.py
 ${PYSITELIB}/cybox/core/associated_object.pyc
 ${PYSITELIB}/cybox/core/associated_object.pyo
+${PYSITELIB}/cybox/core/effect.py
+${PYSITELIB}/cybox/core/effect.pyc
+${PYSITELIB}/cybox/core/effect.pyo
 ${PYSITELIB}/cybox/core/event.py
 ${PYSITELIB}/cybox/core/event.pyc
 ${PYSITELIB}/cybox/core/event.pyo
@@ -481,6 +520,9 @@
 ${PYSITELIB}/cybox/objects/network_connection_object.py
 ${PYSITELIB}/cybox/objects/network_connection_object.pyc
 ${PYSITELIB}/cybox/objects/network_connection_object.pyo
+${PYSITELIB}/cybox/objects/network_flow_object.py
+${PYSITELIB}/cybox/objects/network_flow_object.pyc
+${PYSITELIB}/cybox/objects/network_flow_object.pyo
 ${PYSITELIB}/cybox/objects/network_packet_object.py
 ${PYSITELIB}/cybox/objects/network_packet_object.pyc
 ${PYSITELIB}/cybox/objects/network_packet_object.pyo
@@ -523,15 +565,36 @@
 ${PYSITELIB}/cybox/objects/system_object.py
 ${PYSITELIB}/cybox/objects/system_object.pyc
 ${PYSITELIB}/cybox/objects/system_object.pyo
+${PYSITELIB}/cybox/objects/unix_file_object.py
+${PYSITELIB}/cybox/objects/unix_file_object.pyc
+${PYSITELIB}/cybox/objects/unix_file_object.pyo
+${PYSITELIB}/cybox/objects/unix_network_route_entry_object.py
+${PYSITELIB}/cybox/objects/unix_network_route_entry_object.pyc
+${PYSITELIB}/cybox/objects/unix_network_route_entry_object.pyo
+${PYSITELIB}/cybox/objects/unix_pipe_object.py
+${PYSITELIB}/cybox/objects/unix_pipe_object.pyc
+${PYSITELIB}/cybox/objects/unix_pipe_object.pyo
+${PYSITELIB}/cybox/objects/unix_process_object.py
+${PYSITELIB}/cybox/objects/unix_process_object.pyc
+${PYSITELIB}/cybox/objects/unix_process_object.pyo
 ${PYSITELIB}/cybox/objects/unix_user_account_object.py
 ${PYSITELIB}/cybox/objects/unix_user_account_object.pyc
 ${PYSITELIB}/cybox/objects/unix_user_account_object.pyo
+${PYSITELIB}/cybox/objects/unix_volume_object.py
+${PYSITELIB}/cybox/objects/unix_volume_object.pyc
+${PYSITELIB}/cybox/objects/unix_volume_object.pyo
 ${PYSITELIB}/cybox/objects/uri_object.py
 ${PYSITELIB}/cybox/objects/uri_object.pyc
 ${PYSITELIB}/cybox/objects/uri_object.pyo
+${PYSITELIB}/cybox/objects/url_history_object.py
+${PYSITELIB}/cybox/objects/url_history_object.pyc
+${PYSITELIB}/cybox/objects/url_history_object.pyo
 ${PYSITELIB}/cybox/objects/user_account_object.py
 ${PYSITELIB}/cybox/objects/user_account_object.pyc
 ${PYSITELIB}/cybox/objects/user_account_object.pyo
+${PYSITELIB}/cybox/objects/user_session_object.py
+${PYSITELIB}/cybox/objects/user_session_object.pyc
+${PYSITELIB}/cybox/objects/user_session_object.pyo
 ${PYSITELIB}/cybox/objects/volume_object.py
 ${PYSITELIB}/cybox/objects/volume_object.pyc
 ${PYSITELIB}/cybox/objects/volume_object.pyo
@@ -619,9 +682,9 @@
 ${PYSITELIB}/cybox/objects/win_thread_object.py
 ${PYSITELIB}/cybox/objects/win_thread_object.pyc
 ${PYSITELIB}/cybox/objects/win_thread_object.pyo
-${PYSITELIB}/cybox/objects/win_user_object.py
-${PYSITELIB}/cybox/objects/win_user_object.pyc
-${PYSITELIB}/cybox/objects/win_user_object.pyo
+${PYSITELIB}/cybox/objects/win_user_account_object.py
+${PYSITELIB}/cybox/objects/win_user_account_object.pyc
+${PYSITELIB}/cybox/objects/win_user_account_object.pyo
 ${PYSITELIB}/cybox/objects/win_volume_object.py
 ${PYSITELIB}/cybox/objects/win_volume_object.pyc
 ${PYSITELIB}/cybox/objects/win_volume_object.pyo
@@ -766,6 +829,9 @@
 ${PYSITELIB}/cybox/test/objects/dns_query_test.py
 ${PYSITELIB}/cybox/test/objects/dns_query_test.pyc
 ${PYSITELIB}/cybox/test/objects/dns_query_test.pyo
+${PYSITELIB}/cybox/test/objects/dns_record_test.py
+${PYSITELIB}/cybox/test/objects/dns_record_test.pyc
+${PYSITELIB}/cybox/test/objects/dns_record_test.pyo
 ${PYSITELIB}/cybox/test/objects/domainname_test.py
 ${PYSITELIB}/cybox/test/objects/domainname_test.pyc
 ${PYSITELIB}/cybox/test/objects/domainname_test.pyo
@@ -775,6 +841,15 @@
 ${PYSITELIB}/cybox/test/objects/file_test.py
 ${PYSITELIB}/cybox/test/objects/file_test.pyc
 ${PYSITELIB}/cybox/test/objects/file_test.pyo
+${PYSITELIB}/cybox/test/objects/gui_dialogbox_test.py
+${PYSITELIB}/cybox/test/objects/gui_dialogbox_test.pyc
+${PYSITELIB}/cybox/test/objects/gui_dialogbox_test.pyo
+${PYSITELIB}/cybox/test/objects/gui_test.py
+${PYSITELIB}/cybox/test/objects/gui_test.pyc
+${PYSITELIB}/cybox/test/objects/gui_test.pyo
+${PYSITELIB}/cybox/test/objects/gui_window_test.py
+${PYSITELIB}/cybox/test/objects/gui_window_test.pyc
+${PYSITELIB}/cybox/test/objects/gui_window_test.pyo
 ${PYSITELIB}/cybox/test/objects/hostname_test.py
 ${PYSITELIB}/cybox/test/objects/hostname_test.pyc
 ${PYSITELIB}/cybox/test/objects/hostname_test.pyo
@@ -784,6 +859,9 @@
 ${PYSITELIB}/cybox/test/objects/image_file_test.py
 ${PYSITELIB}/cybox/test/objects/image_file_test.pyc
 ${PYSITELIB}/cybox/test/objects/image_file_test.pyo
+${PYSITELIB}/cybox/test/objects/library_test.py
+${PYSITELIB}/cybox/test/objects/library_test.pyc
+${PYSITELIB}/cybox/test/objects/library_test.pyo
 ${PYSITELIB}/cybox/test/objects/link_test.py
 ${PYSITELIB}/cybox/test/objects/link_test.pyc
 ${PYSITELIB}/cybox/test/objects/link_test.pyo
@@ -799,6 +877,9 @@
 ${PYSITELIB}/cybox/test/objects/network_connection_test.py
 ${PYSITELIB}/cybox/test/objects/network_connection_test.pyc
 ${PYSITELIB}/cybox/test/objects/network_connection_test.pyo
+${PYSITELIB}/cybox/test/objects/network_flow_test.py
+${PYSITELIB}/cybox/test/objects/network_flow_test.pyc
+${PYSITELIB}/cybox/test/objects/network_flow_test.pyo
 ${PYSITELIB}/cybox/test/objects/network_packet_test.py
 ${PYSITELIB}/cybox/test/objects/network_packet_test.pyc
 ${PYSITELIB}/cybox/test/objects/network_packet_test.pyo
@@ -826,6 +907,9 @@
 ${PYSITELIB}/cybox/test/objects/port_test.py
 ${PYSITELIB}/cybox/test/objects/port_test.pyc
 ${PYSITELIB}/cybox/test/objects/port_test.pyo
+${PYSITELIB}/cybox/test/objects/process_test.py
+${PYSITELIB}/cybox/test/objects/process_test.pyc
+${PYSITELIB}/cybox/test/objects/process_test.pyo
 ${PYSITELIB}/cybox/test/objects/product_test.py
 ${PYSITELIB}/cybox/test/objects/product_test.pyc
 ${PYSITELIB}/cybox/test/objects/product_test.pyo
@@ -838,15 +922,42 @@
 ${PYSITELIB}/cybox/test/objects/socket_address_test.py
 ${PYSITELIB}/cybox/test/objects/socket_address_test.pyc
 ${PYSITELIB}/cybox/test/objects/socket_address_test.pyo
+${PYSITELIB}/cybox/test/objects/system_test.py
+${PYSITELIB}/cybox/test/objects/system_test.pyc
+${PYSITELIB}/cybox/test/objects/system_test.pyo
+${PYSITELIB}/cybox/test/objects/unix_file_test.py
+${PYSITELIB}/cybox/test/objects/unix_file_test.pyc
+${PYSITELIB}/cybox/test/objects/unix_file_test.pyo
+${PYSITELIB}/cybox/test/objects/unix_network_route_entry_test.py
+${PYSITELIB}/cybox/test/objects/unix_network_route_entry_test.pyc
+${PYSITELIB}/cybox/test/objects/unix_network_route_entry_test.pyo
+${PYSITELIB}/cybox/test/objects/unix_pipe_test.py
+${PYSITELIB}/cybox/test/objects/unix_pipe_test.pyc
+${PYSITELIB}/cybox/test/objects/unix_pipe_test.pyo
+${PYSITELIB}/cybox/test/objects/unix_process_test.py
+${PYSITELIB}/cybox/test/objects/unix_process_test.pyc
+${PYSITELIB}/cybox/test/objects/unix_process_test.pyo
 ${PYSITELIB}/cybox/test/objects/unix_user_account_test.py
 ${PYSITELIB}/cybox/test/objects/unix_user_account_test.pyc
 ${PYSITELIB}/cybox/test/objects/unix_user_account_test.pyo
+${PYSITELIB}/cybox/test/objects/unix_volume_test.py
+${PYSITELIB}/cybox/test/objects/unix_volume_test.pyc
+${PYSITELIB}/cybox/test/objects/unix_volume_test.pyo
 ${PYSITELIB}/cybox/test/objects/uri_test.py
 ${PYSITELIB}/cybox/test/objects/uri_test.pyc
 ${PYSITELIB}/cybox/test/objects/uri_test.pyo
+${PYSITELIB}/cybox/test/objects/url_history_test.py
+${PYSITELIB}/cybox/test/objects/url_history_test.pyc
+${PYSITELIB}/cybox/test/objects/url_history_test.pyo
 ${PYSITELIB}/cybox/test/objects/user_account_test.py
 ${PYSITELIB}/cybox/test/objects/user_account_test.pyc
 ${PYSITELIB}/cybox/test/objects/user_account_test.pyo
+${PYSITELIB}/cybox/test/objects/user_session_test.py
+${PYSITELIB}/cybox/test/objects/user_session_test.pyc
+${PYSITELIB}/cybox/test/objects/user_session_test.pyo
+${PYSITELIB}/cybox/test/objects/volume_test.py
+${PYSITELIB}/cybox/test/objects/volume_test.pyc
+${PYSITELIB}/cybox/test/objects/volume_test.pyo
 ${PYSITELIB}/cybox/test/objects/whois_test.py
 ${PYSITELIB}/cybox/test/objects/whois_test.pyc
 ${PYSITELIB}/cybox/test/objects/whois_test.pyo
@@ -865,6 +976,9 @@
 ${PYSITELIB}/cybox/test/objects/win_event_test.py
 ${PYSITELIB}/cybox/test/objects/win_event_test.pyc
 ${PYSITELIB}/cybox/test/objects/win_event_test.pyo
+${PYSITELIB}/cybox/test/objects/win_executable_file_test.py
+${PYSITELIB}/cybox/test/objects/win_executable_file_test.pyc
+${PYSITELIB}/cybox/test/objects/win_executable_file_test.pyo
 ${PYSITELIB}/cybox/test/objects/win_file_test.py
 ${PYSITELIB}/cybox/test/objects/win_file_test.pyc
 ${PYSITELIB}/cybox/test/objects/win_file_test.pyo
@@ -889,6 +1003,9 @@
 ${PYSITELIB}/cybox/test/objects/win_memory_page_region_test.py
 ${PYSITELIB}/cybox/test/objects/win_memory_page_region_test.pyc
 ${PYSITELIB}/cybox/test/objects/win_memory_page_region_test.pyo
+${PYSITELIB}/cybox/test/objects/win_mutex_test.py
+${PYSITELIB}/cybox/test/objects/win_mutex_test.pyc
+${PYSITELIB}/cybox/test/objects/win_mutex_test.pyo
 ${PYSITELIB}/cybox/test/objects/win_network_route_entry_test.py


Home | Main Index | Thread Index | Old Index