summaryrefslogtreecommitdiff
path: root/mail/py-checkdmarc
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-10-05 09:53:30 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-10-05 09:53:30 +0800
commit83afee21dc8f323a40e2715904e2882253fbb91a (patch)
tree976b2746661d54c787980dc804d7633e28b891ac /mail/py-checkdmarc
parentdevel/py-setuptools-git-versioning: Add py-setuptools-git-versioning 1.13.5 (diff)
mail/py-checkdmarc: Add py-checkdmarc 4.8.4
checkdmarc is a Python module and command line utility for validating SPF and DMARC DNS records. Features: - API and CLI - Can test multiple domains at once - CLI output in JSON or CSV format - Parses and validates MX, SPF, and DMARC records - Checks for DNSSEC deployment - Lists name servers - Checks for STARTTLS and TLS support on each mail server
Diffstat (limited to 'mail/py-checkdmarc')
-rw-r--r--mail/py-checkdmarc/Makefile28
-rw-r--r--mail/py-checkdmarc/distinfo3
-rw-r--r--mail/py-checkdmarc/pkg-descr11
3 files changed, 42 insertions, 0 deletions
diff --git a/mail/py-checkdmarc/Makefile b/mail/py-checkdmarc/Makefile
new file mode 100644
index 000000000000..9aac27a1f515
--- /dev/null
+++ b/mail/py-checkdmarc/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= checkdmarc
+PORTVERSION= 4.8.4
+CATEGORIES= mail python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Python module and command line parser for SPF and DMARC records
+WWW= https://domainaware.github.io/checkdmarc/ \
+ https://github.com/domainaware/checkdmarc
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.8.1:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>=2.0.0,1:dns/py-dnspython@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}expiringdict>=1.1.4:devel/py-expiringdict@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}publicsuffixlist>=0.10.0:dns/py-publicsuffixlist@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyleri>=1.3.2:devel/py-pyleri@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.25.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}timeout-decorator>=0.4.1:devel/py-timeout-decorator@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent cryptography pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/mail/py-checkdmarc/distinfo b/mail/py-checkdmarc/distinfo
new file mode 100644
index 000000000000..ddc4c5baacce
--- /dev/null
+++ b/mail/py-checkdmarc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1696432868
+SHA256 (checkdmarc-4.8.4.tar.gz) = c48af28f7dd778f894ad921b4c5650fc60f36549d937c3998df358e56e5801a1
+SIZE (checkdmarc-4.8.4.tar.gz) = 25913
diff --git a/mail/py-checkdmarc/pkg-descr b/mail/py-checkdmarc/pkg-descr
new file mode 100644
index 000000000000..0984c3c470ea
--- /dev/null
+++ b/mail/py-checkdmarc/pkg-descr
@@ -0,0 +1,11 @@
+checkdmarc is a Python module and command line utility for validating SPF and
+DMARC DNS records.
+
+Features:
+- API and CLI
+- Can test multiple domains at once
+- CLI output in JSON or CSV format
+- Parses and validates MX, SPF, and DMARC records
+- Checks for DNSSEC deployment
+- Lists name servers
+- Checks for STARTTLS and TLS support on each mail server