Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2019 12:22:42 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493421 - in head/security: . py-taxii2-client
Message-ID:  <201902201222.x1KCMgw7084903@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Feb 20 12:22:42 2019
New Revision: 493421
URL: https://svnweb.freebsd.org/changeset/ports/493421

Log:
  New port: security/py-taxii2-client
  
  This port provides a minimal client implementation for the TAXII 2.0 server.
  It supports the following TAXII 2.0 API services:
  - Server Discovery
  - Get API Root Information
  - Get Status
  - Get Collections
  - Get a Collection
  - Get Objects
  - Add Objects
  - Get an Object
  - Get Object Manifests
  
  WWW: https://github.com/oasis-open/cti-taxii-client

Added:
  head/security/py-taxii2-client/
  head/security/py-taxii2-client/Makefile   (contents, props changed)
  head/security/py-taxii2-client/distinfo   (contents, props changed)
  head/security/py-taxii2-client/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Wed Feb 20 12:20:43 2019	(r493420)
+++ head/security/Makefile	Wed Feb 20 12:22:42 2019	(r493421)
@@ -1045,6 +1045,7 @@
     SUBDIR += py-stix
     SUBDIR += py-stix2
     SUBDIR += py-stix2-patterns
+    SUBDIR += py-taxii2-client
     SUBDIR += py-tlslite
     SUBDIR += py-trezor
     SUBDIR += py-trustedpickle

Added: head/security/py-taxii2-client/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-taxii2-client/Makefile	Wed Feb 20 12:22:42 2019	(r493421)
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+PORTNAME=	taxii2-client
+PORTVERSION=	0.5.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	security python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	antoine@FreeBSD.org
+COMMENT=	Minimal client implementation for the TAXII 2.0 server
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}responses>=0:devel/py-responses@${PY_FLAVOR}
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	oasis-open
+GH_PROJECT=	cti-taxii-client
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+DO_MAKE_TEST=	${SETENV} ${TEST_ENV} pytest-${PYTHON_VER} --cov=taxii2client taxii2client/test/ --cov-report term-missing
+TEST_TARGET=	# empty
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/security/py-taxii2-client/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-taxii2-client/distinfo	Wed Feb 20 12:22:42 2019	(r493421)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1550499376
+SHA256 (oasis-open-cti-taxii-client-v0.5.0_GH0.tar.gz) = d34869b04ae6bec84e765dc583ff3f837be6818905721131112814e22d97d8e9
+SIZE (oasis-open-cti-taxii-client-v0.5.0_GH0.tar.gz) = 25244

Added: head/security/py-taxii2-client/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-taxii2-client/pkg-descr	Wed Feb 20 12:22:42 2019	(r493421)
@@ -0,0 +1,13 @@
+This port provides a minimal client implementation for the TAXII 2.0 server.
+It supports the following TAXII 2.0 API services:
+- Server Discovery
+- Get API Root Information
+- Get Status
+- Get Collections
+- Get a Collection
+- Get Objects
+- Add Objects
+- Get an Object
+- Get Object Manifests
+
+WWW: https://github.com/oasis-open/cti-taxii-client



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902201222.x1KCMgw7084903>