summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-10-06 19:58:10 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2025-10-07 01:19:45 -0700
commitbc5a90457b59b84ffaa158883608c6b3e87e240a (patch)
tree0f7454fc1f40a2e85ab0ad633afaffb39f0735a0
parentdevel/py-autoray: New port: Abstract your array operations (diff)
security/py-cart: New port: CaRT Neutering format
-rw-r--r--security/Makefile1
-rw-r--r--security/py-cart/Makefile24
-rw-r--r--security/py-cart/distinfo3
-rw-r--r--security/py-cart/pkg-descr3
4 files changed, 31 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 44333c31f3b1..c49e8676f481 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -895,6 +895,7 @@
SUBDIR += py-bcrypt
SUBDIR += py-bitbox02
SUBDIR += py-btchip-python
+ SUBDIR += py-cart
SUBDIR += py-cerealizer
SUBDIR += py-cert-human
SUBDIR += py-certbot
diff --git a/security/py-cart/Makefile b/security/py-cart/Makefile
new file mode 100644
index 000000000000..28b846d349a5
--- /dev/null
+++ b/security/py-cart/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= cart
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.2.3
+CATEGORIES= security python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= CaRT Neutering format
+WWW= https://github.com/CybercentreCanada/cart
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils autoplist concurrent distutils unittest
+
+USE_GITHUB= yes
+GH_ACCOUNT= CybercentreCanada
+
+# tests as of 1.2.3: 11 passed, 0 failed (8.309s)
+
+.include <bsd.port.mk>
diff --git a/security/py-cart/distinfo b/security/py-cart/distinfo
new file mode 100644
index 000000000000..c6fafa96ae72
--- /dev/null
+++ b/security/py-cart/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1759797601
+SHA256 (CybercentreCanada-cart-v1.2.3_GH0.tar.gz) = 4b2921931b95c4a5ba81d690f8dc3107a0a1fab04470c146251faf6d6ed1a151
+SIZE (CybercentreCanada-cart-v1.2.3_GH0.tar.gz) = 16176
diff --git a/security/py-cart/pkg-descr b/security/py-cart/pkg-descr
new file mode 100644
index 000000000000..9801710bc60c
--- /dev/null
+++ b/security/py-cart/pkg-descr
@@ -0,0 +1,3 @@
+Compressed and RC4 Transport (CaRT) Neutering format. This is a file format that
+is used to neuter malware files for distribution in the malware analyst
+community.