git: 9c3c097a507d - main - security/py-iris-client: New port: Python client for DFIR-IRIS

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sat, 29 Apr 2023 22:49:04 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9c3c097a507ddb6ef1566bcbc1735706877247dd

commit 9c3c097a507ddb6ef1566bcbc1735706877247dd
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-04-29 22:47:57 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-04-29 22:47:57 +0000

    security/py-iris-client: New port: Python client for DFIR-IRIS
    
    dfir_iris_client offers a Python interface to communicate with IRIS.
    
    It relies exclusively on the API, which means output of the methods are the
    same as specified in the API reference.
---
 security/Makefile                 |  1 +
 security/py-iris-client/Makefile  | 27 +++++++++++++++++++++++++++
 security/py-iris-client/distinfo  |  3 +++
 security/py-iris-client/pkg-descr |  4 ++++
 4 files changed, 35 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 2c7b9d8c6644..448996693d2a 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -914,6 +914,7 @@
     SUBDIR += py-gvm-tools
     SUBDIR += py-hkdf
     SUBDIR += py-htpasswd
+    SUBDIR += py-iris-client
     SUBDIR += py-itsdangerous
     SUBDIR += py-josepy
     SUBDIR += py-keepkey
diff --git a/security/py-iris-client/Makefile b/security/py-iris-client/Makefile
new file mode 100644
index 000000000000..4cab42204003
--- /dev/null
+++ b/security/py-iris-client/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	iris-client
+DISTVERSION=	2.0.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	security python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	acm@FreeBSD.org
+COMMENT=	Python client for DFIR-IRIS
+WWW=		https://github.com/dfir-iris/iris-client
+
+LICENSE=	LGPL3
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}deprecated>=0:devel/py-deprecated@${PY_FLAVOR}
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	dfir-iris
+GH_PROJECT=	${PORTNAME}
+
+USES=		python:3.8+
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/py-iris-client/distinfo b/security/py-iris-client/distinfo
new file mode 100644
index 000000000000..c8e57ca500fa
--- /dev/null
+++ b/security/py-iris-client/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1680275854
+SHA256 (dfir-iris-iris-client-v2.0.0_GH0.tar.gz) = 244bb425a5d824b8b6ba5f0a6edebdb247b15f6cf2aa0238c311326f14f2f643
+SIZE (dfir-iris-iris-client-v2.0.0_GH0.tar.gz) = 2871406
diff --git a/security/py-iris-client/pkg-descr b/security/py-iris-client/pkg-descr
new file mode 100644
index 000000000000..030ba8cef505
--- /dev/null
+++ b/security/py-iris-client/pkg-descr
@@ -0,0 +1,4 @@
+dfir_iris_client offers a Python interface to communicate with IRIS.
+
+It relies exclusively on the API, which means output of the methods are the
+same as specified in the API reference.