git: 18a01471494b - main - dns/letsdns: Add new port: LetsDNS

From: Florian Smeets <flo_at_FreeBSD.org>
Date: Wed, 11 Jan 2023 21:11:17 UTC
The branch main has been updated by flo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=18a01471494bfd4e38be78af09776f700b7ad3c1

commit 18a01471494bfd4e38be78af09776f700b7ad3c1
Author:     Florian Smeets <flo@FreeBSD.org>
AuthorDate: 2023-01-11 21:02:51 +0000
Commit:     Florian Smeets <flo@FreeBSD.org>
CommitDate: 2023-01-11 21:10:43 +0000

    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/
---
 dns/Makefile          |  1 +
 dns/letsdns/Makefile  | 21 +++++++++++++++++++++
 dns/letsdns/distinfo  |  3 +++
 dns/letsdns/pkg-descr |  5 +++++
 4 files changed, 30 insertions(+)

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.