Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2018 21:31:54 +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: r485796 - in head/security: . py-stix2-patterns
Message-ID:  <201811242131.wAOLVsHH049358@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Nov 24 21:31:54 2018
New Revision: 485796
URL: https://svnweb.freebsd.org/changeset/ports/485796

Log:
  New port: security/py-stix2-patterns
  
  The STIX 2 Pattern Validator is a software tool for checking the syntax of the
  Cyber Threat Intelligence (CTI) STIX Pattern expressions, which are used within
  STIX to express conditions (prepresented with the Cyber Observable data model)
  that indicate particular cyber threat activity.  The repository contains source
  code, an ANTLR grammar, automated tests and associated documentation for the
  tool.  The validator can be used as a command-line tool or as a Python library
  which can be included in other applications.
  
  WWW: https://github.com/oasis-open/cti-pattern-validator

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

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Sat Nov 24 21:31:18 2018	(r485795)
+++ head/security/Makefile	Sat Nov 24 21:31:54 2018	(r485796)
@@ -1051,6 +1051,7 @@
     SUBDIR += py-sslstrip
     SUBDIR += py-stem
     SUBDIR += py-stix
+    SUBDIR += py-stix2-patterns
     SUBDIR += py-tlslite
     SUBDIR += py-trezor
     SUBDIR += py-trustedpickle
@@ -1332,8 +1333,8 @@
     SUBDIR += unhide
     SUBDIR += unicornscan
     SUBDIR += unssh
-    SUBDIR += vault
     SUBDIR += vanguards-tor
+    SUBDIR += vault
     SUBDIR += veracrypt
     SUBDIR += vinetto
     SUBDIR += vlock

Added: head/security/py-stix2-patterns/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-stix2-patterns/Makefile	Sat Nov 24 21:31:54 2018	(r485796)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	stix2-patterns
+PORTVERSION=	1.1.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	security python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	antoine@FreeBSD.org
+COMMENT=	Python library to validate STIX 2 Patterns
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}antlr4-python3-runtime>=0:devel/py-antlr4-python3-runtime@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	oasis-open
+GH_PROJECT=	cti-pattern-validator
+
+NO_ARCH=	yes
+USES=		python:3.4+
+USE_PYTHON=	distutils autoplist
+
+.include <bsd.port.mk>

Added: head/security/py-stix2-patterns/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-stix2-patterns/distinfo	Sat Nov 24 21:31:54 2018	(r485796)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1543094194
+SHA256 (oasis-open-cti-pattern-validator-v1.1.0_GH0.tar.gz) = ef48e55737da3c2e995e1fc6cef1428de9f73878ed4abcb893f9e348f6c46c07
+SIZE (oasis-open-cti-pattern-validator-v1.1.0_GH0.tar.gz) = 33742

Added: head/security/py-stix2-patterns/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-stix2-patterns/pkg-descr	Sat Nov 24 21:31:54 2018	(r485796)
@@ -0,0 +1,9 @@
+The STIX 2 Pattern Validator is a software tool for checking the syntax of the
+Cyber Threat Intelligence (CTI) STIX Pattern expressions, which are used within
+STIX to express conditions (prepresented with the Cyber Observable data model)
+that indicate particular cyber threat activity.  The repository contains source
+code, an ANTLR grammar, automated tests and associated documentation for the
+tool.  The validator can be used as a command-line tool or as a Python library
+which can be included in other applications.
+
+WWW: https://github.com/oasis-open/cti-pattern-validator



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