aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2023-01-11 21:02:51 +0000
committerFlorian Smeets <flo@FreeBSD.org>2023-01-11 21:10:43 +0000
commit18a01471494bfd4e38be78af09776f700b7ad3c1 (patch)
tree78999a12a8f5c2f1dcc891f59a02d7efa173084c
parente95a86d8cb491b096e878ce1f84b98ae4162deec (diff)
downloadports-18a01471494bfd4e38be78af09776f700b7ad3c1.tar.gz
ports-18a01471494bfd4e38be78af09776f700b7ad3c1.zip
dns/letsdns: Add new port: LetsDNS
Manage DANE TLSA records in DNS servers. Supports multiple domains with multiple TLS certificates each. LetsDNS can be invoked manually, from a periodic cron job, or called in a hook function of dehydrated or certbot. https://letsdns.org/
-rw-r--r--dns/Makefile1
-rw-r--r--dns/letsdns/Makefile21
-rw-r--r--dns/letsdns/distinfo3
-rw-r--r--dns/letsdns/pkg-descr5
4 files changed, 30 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index 9e6280c31504..f8ad64a10c8d 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -94,6 +94,7 @@
SUBDIR += knot3-lib
SUBDIR += ldapdns
SUBDIR += ldns
+ SUBDIR += letsdns
SUBDIR += libasr
SUBDIR += libasr-devel
SUBDIR += libbind
diff --git a/dns/letsdns/Makefile b/dns/letsdns/Makefile
new file mode 100644
index 000000000000..221d7682020b
--- /dev/null
+++ b/dns/letsdns/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= letsdns
+DISTVERSION= 1.0.1
+CATEGORIES= dns
+
+MAINTAINER= flo@FreeBSD.org
+COMMENT= Manage DANE TLSA records in DNS servers
+WWW= https://letsdns.org/
+
+LICENSE= GPLv3
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python
+USE_GITHUB= yes
+GH_ACCOUNT= LetsDNS
+USE_PYTHON= autoplist pep517
+
+.include <bsd.port.mk>
diff --git a/dns/letsdns/distinfo b/dns/letsdns/distinfo
new file mode 100644
index 000000000000..c4d82ac864ad
--- /dev/null
+++ b/dns/letsdns/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1672157624
+SHA256 (LetsDNS-letsdns-1.0.1_GH0.tar.gz) = c1663ccf27197d7c5c34aabfb9bcc6152554f77e4906dbdbebcc646dc8d99bcd
+SIZE (LetsDNS-letsdns-1.0.1_GH0.tar.gz) = 45598
diff --git a/dns/letsdns/pkg-descr b/dns/letsdns/pkg-descr
new file mode 100644
index 000000000000..96aa3dd28bf4
--- /dev/null
+++ b/dns/letsdns/pkg-descr
@@ -0,0 +1,5 @@
+LetsDNS
+
+Manage DANE TLSA records in DNS servers. Supports multiple domains with multiple
+TLS certificates each. LetsDNS can be invoked manually, from cron jobs, or
+called in hook functions of ACME-clients like dehydrated or certbot.