svn commit: r485797 - in head/security: . py-stix2
Antoine Brodin
antoine at FreeBSD.org
Sat Nov 24 21:43:04 UTC 2018
Author: antoine
Date: Sat Nov 24 21:43:02 2018
New Revision: 485797
URL: https://svnweb.freebsd.org/changeset/ports/485797
Log:
New port: security/py-stix2
Python APIs for serializing and de-serializing STIX 2 JSON content, along with
higher-level APIs for common tasks, including data markings, versioning, and for
resolving STIX IDs across multiple data sources.
WWW: https://github.com/oasis-open/cti-python-stix2
Added:
head/security/py-stix2/
head/security/py-stix2/Makefile (contents, props changed)
head/security/py-stix2/distinfo (contents, props changed)
head/security/py-stix2/pkg-descr (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Sat Nov 24 21:31:54 2018 (r485796)
+++ head/security/Makefile Sat Nov 24 21:43:02 2018 (r485797)
@@ -1051,6 +1051,7 @@
SUBDIR += py-sslstrip
SUBDIR += py-stem
SUBDIR += py-stix
+ SUBDIR += py-stix2
SUBDIR += py-stix2-patterns
SUBDIR += py-tlslite
SUBDIR += py-trezor
Added: head/security/py-stix2/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-stix2/Makefile Sat Nov 24 21:43:02 2018 (r485797)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME= stix2
+PORTVERSION= 1.0.4
+DISTVERSIONPREFIX= v
+CATEGORIES= security python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= antoine at FreeBSD.org
+COMMENT= Python library to produce and consume STIX 2 JSON content
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}simplejson>=0:devel/py-simplejson@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}stix2-patterns>=0:security/py-stix2-patterns@${PY_FLAVOR}
+
+USE_GITHUB= yes
+GH_ACCOUNT= oasis-open
+GH_PROJECT= cti-python-stix2
+
+NO_ARCH= yes
+USES= python:3.4+
+USE_PYTHON= distutils autoplist
+
+.include <bsd.port.mk>
Added: head/security/py-stix2/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-stix2/distinfo Sat Nov 24 21:43:02 2018 (r485797)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1543095179
+SHA256 (oasis-open-cti-python-stix2-v1.0.4_GH0.tar.gz) = 3ad8f4924a81ca149067774f3b660e9391b72f128a3ca6ad26649bce921e1844
+SIZE (oasis-open-cti-python-stix2-v1.0.4_GH0.tar.gz) = 177362
Added: head/security/py-stix2/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-stix2/pkg-descr Sat Nov 24 21:43:02 2018 (r485797)
@@ -0,0 +1,5 @@
+Python APIs for serializing and de-serializing STIX 2 JSON content, along with
+higher-level APIs for common tasks, including data markings, versioning, and for
+resolving STIX IDs across multiple data sources.
+
+WWW: https://github.com/oasis-open/cti-python-stix2
More information about the svn-ports-all
mailing list