aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuraj Lutter <otis@FreeBSD.org>2022-08-16 20:32:31 +0000
committerJuraj Lutter <otis@FreeBSD.org>2022-08-16 20:53:37 +0000
commit6c19d65056dc7846d27365dcb00924ca09000c91 (patch)
tree22676ca47b458821693e15bce3930d5538851b28
parentac893c2619ff89e09038d2a937dbe70b81af10ff (diff)
downloadports-6c19d65056dc7846d27365dcb00924ca09000c91.tar.gz
ports-6c19d65056dc7846d27365dcb00924ca09000c91.zip
security/py-certbot-dns-powerdns: Add new port
Add py-certbot-dns-powerdns, a PowerDNS certbot authentication module. WWW: https://github.com/pan-net-security/certbot-dns-powerdns
-rw-r--r--security/Makefile1
-rw-r--r--security/py-certbot-dns-powerdns/Makefile28
-rw-r--r--security/py-certbot-dns-powerdns/distinfo3
-rw-r--r--security/py-certbot-dns-powerdns/files/patch-setup.py11
-rw-r--r--security/py-certbot-dns-powerdns/pkg-descr3
5 files changed, 46 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index fce4864990a4..8115f2fb2672 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -844,6 +844,7 @@
SUBDIR += py-certbot-dns-luadns
SUBDIR += py-certbot-dns-nsone
SUBDIR += py-certbot-dns-ovh
+ SUBDIR += py-certbot-dns-powerdns
SUBDIR += py-certbot-dns-rfc2136
SUBDIR += py-certbot-dns-route53
SUBDIR += py-certbot-dns-sakuracloud
diff --git a/security/py-certbot-dns-powerdns/Makefile b/security/py-certbot-dns-powerdns/Makefile
new file mode 100644
index 000000000000..00b09390cec9
--- /dev/null
+++ b/security/py-certbot-dns-powerdns/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= certbot-dns-powerdns
+PORTVERSION= 0.2.1
+CATEGORIES= security python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= otis@FreeBSD.org
+COMMENT= PowerDNS DNS Authenticator plugin for Certbot
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION},1:security/py-acme@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}certbot>=${ACME_VERSION},1:security/py-certbot@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dns-lexicon>=3.2.4:dns/py-dns-lexicon@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mock>=4.0.3:devel/py-mock@${PY_FLAVOR}
+
+USES= python:3.7+
+
+USE_GITHUB= yes
+GH_ACCOUNT= pan-net-security
+GH_PROJECT= certbot-dns-powerdns
+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include "${.CURDIR}/../py-acme/version.mk"
+.include <bsd.port.mk>
diff --git a/security/py-certbot-dns-powerdns/distinfo b/security/py-certbot-dns-powerdns/distinfo
new file mode 100644
index 000000000000..f86716014828
--- /dev/null
+++ b/security/py-certbot-dns-powerdns/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1660677131
+SHA256 (pan-net-security-certbot-dns-powerdns-0.2.1_GH0.tar.gz) = a03564a25188bcfe200179416e89624c5281a122d136f394839387cd3e384ae1
+SIZE (pan-net-security-certbot-dns-powerdns-0.2.1_GH0.tar.gz) = 6124
diff --git a/security/py-certbot-dns-powerdns/files/patch-setup.py b/security/py-certbot-dns-powerdns/files/patch-setup.py
new file mode 100644
index 000000000000..4760eeb71c6f
--- /dev/null
+++ b/security/py-certbot-dns-powerdns/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2022-08-16 19:53:36 UTC
++++ setup.py
+@@ -11,7 +11,7 @@ with open('README.md') as f:
+ install_requires = [
+ 'acme>=0.31.0',
+ 'certbot>=0.31.0',
+- 'dns-lexicon>=3.2.4,<=3.5.6',
++ 'dns-lexicon>=3.2.4',
+ 'dnspython',
+ 'mock',
+ 'setuptools',
diff --git a/security/py-certbot-dns-powerdns/pkg-descr b/security/py-certbot-dns-powerdns/pkg-descr
new file mode 100644
index 000000000000..b2e5f640dfda
--- /dev/null
+++ b/security/py-certbot-dns-powerdns/pkg-descr
@@ -0,0 +1,3 @@
+This is the PowerDNS DNS Authenticator plugin for Certbot (security/py-certbot).
+
+WWW: https://github.com/pan-net-security/certbot-dns-powerdns