aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-31 11:21:12 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-31 11:40:48 +0000
commit3757db32124822b6cd5c9599c573b73f36a61539 (patch)
treeb00622cc148ac5b3cf5025a2ae2727694c497256
parentf98695ce02929e110366ce9e578941a2b10c53fc (diff)
downloadports-3757db32124822b6cd5c9599c573b73f36a61539.tar.gz
ports-3757db32124822b6cd5c9599c573b73f36a61539.zip
dns/py-dnslib: Add py-dnslib 0.9.20
dnslib is a library to encode/decode DNS wire-format packets. The library provides: - Support for encoding/decoding DNS packets between wire format, python objects, and Zone/DiG textual representation (dnslib.dns) - A server framework allowing the simple creation of custom DNS resolvers (dnslib.server) and a number of example servers created using this framework - A number of utilities for testing (dnslib.client, dnslib.proxy, dnslib.intercept) WWW: https://github.com/paulc/dnslib
-rw-r--r--dns/Makefile1
-rw-r--r--dns/py-dnslib/Makefile18
-rw-r--r--dns/py-dnslib/distinfo3
-rw-r--r--dns/py-dnslib/pkg-descr11
4 files changed, 33 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index 4e8f26098804..12275ac3f517 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -184,6 +184,7 @@
SUBDIR += py-cloudflare
SUBDIR += py-dns-crawler
SUBDIR += py-dns-lexicon
+ SUBDIR += py-dnslib
SUBDIR += py-dnspython
SUBDIR += py-dnspython1
SUBDIR += py-easyzone
diff --git a/dns/py-dnslib/Makefile b/dns/py-dnslib/Makefile
new file mode 100644
index 000000000000..d8a52fd9cb9e
--- /dev/null
+++ b/dns/py-dnslib/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= dnslib
+PORTVERSION= 0.9.20
+CATEGORIES= dns python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Simple library to encode/decode DNS wire-format packets
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/dns/py-dnslib/distinfo b/dns/py-dnslib/distinfo
new file mode 100644
index 000000000000..28f761ff6eb0
--- /dev/null
+++ b/dns/py-dnslib/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1661599121
+SHA256 (dnslib-0.9.20.tar.gz) = 0290ab5d08fabd1ef85ef143d1c33fdcd549cb2e50779ec1a423998b0d0b2945
+SIZE (dnslib-0.9.20.tar.gz) = 76174
diff --git a/dns/py-dnslib/pkg-descr b/dns/py-dnslib/pkg-descr
new file mode 100644
index 000000000000..c1041d62de55
--- /dev/null
+++ b/dns/py-dnslib/pkg-descr
@@ -0,0 +1,11 @@
+dnslib is a library to encode/decode DNS wire-format packets.
+
+The library provides:
+ - Support for encoding/decoding DNS packets between wire format, python
+ objects, and Zone/DiG textual representation (dnslib.dns)
+ - A server framework allowing the simple creation of custom DNS resolvers
+ (dnslib.server) and a number of example servers created using this framework
+ - A number of utilities for testing (dnslib.client, dnslib.proxy,
+ dnslib.intercept)
+
+WWW: https://github.com/paulc/dnslib