git: 0b2a355ffd2a - main - security/py-iris-vt-module: New port: IRIS Module enriching IOCs with VT insights

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sun, 30 Apr 2023 03:56:04 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0b2a355ffd2a518078c835d4c6182efce0c352b5

commit 0b2a355ffd2a518078c835d4c6182efce0c352b5
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-04-30 03:53:45 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-04-30 03:53:45 +0000

    security/py-iris-vt-module: New port: IRIS Module enriching IOCs with VT insights
    
    An interface module for VT and Iris to automatically enrich IOCs with VT
    insight.
---
 security/Makefile                    |  1 +
 security/py-iris-vt-module/Makefile  | 27 +++++++++++++++++++++++++++
 security/py-iris-vt-module/distinfo  |  3 +++
 security/py-iris-vt-module/pkg-descr |  2 ++
 4 files changed, 33 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 226761b2dc60..75d91fe4d446 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -919,6 +919,7 @@
     SUBDIR += py-iris-client
     SUBDIR += py-iris-misp-module
     SUBDIR += py-iris-module-interface
+    SUBDIR += py-iris-vt-module
     SUBDIR += py-iris-webhooks-module
     SUBDIR += py-itsdangerous
     SUBDIR += py-josepy
diff --git a/security/py-iris-vt-module/Makefile b/security/py-iris-vt-module/Makefile
new file mode 100644
index 000000000000..68e614ed72d4
--- /dev/null
+++ b/security/py-iris-vt-module/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	iris-vt-module
+DISTVERSION=	1.2.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	security python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	acm@FreeBSD.org
+COMMENT=	IRIS Module enriching IOCs with VT insights
+WWW=		https://github.com/dfir-iris/iris-vt-module
+
+LICENSE=	LGPL3
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyunpack>0:archivers/py-pyunpack@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}virustotal-api>0:security/py-virustotal-api@${PY_FLAVOR}
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	dfir-iris
+GH_PROJECT=	${PORTNAME}
+GH_TAGNAME=	5f2eb2a751ef3cce67f45ccd5753a2d32edc28df
+
+USES=		python:3.8+
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/py-iris-vt-module/distinfo b/security/py-iris-vt-module/distinfo
new file mode 100644
index 000000000000..a3cceac11445
--- /dev/null
+++ b/security/py-iris-vt-module/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1682826737
+SHA256 (dfir-iris-iris-vt-module-v1.2.0-5f2eb2a751ef3cce67f45ccd5753a2d32edc28df_GH0.tar.gz) = fdda9b56e33662d95183ba315b11beb6438e43b81164fb52ef4c4e24fdf4b6a8
+SIZE (dfir-iris-iris-vt-module-v1.2.0-5f2eb2a751ef3cce67f45ccd5753a2d32edc28df_GH0.tar.gz) = 10992
diff --git a/security/py-iris-vt-module/pkg-descr b/security/py-iris-vt-module/pkg-descr
new file mode 100644
index 000000000000..975a2acdd27d
--- /dev/null
+++ b/security/py-iris-vt-module/pkg-descr
@@ -0,0 +1,2 @@
+An interface module for VT and Iris to automatically enrich IOCs with VT
+insight.