aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-11-14 08:13:01 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-11-14 08:13:01 +0000
commit2b7ea6c15af376ff9c2c397df3381ec67ee6d902 (patch)
treec1418604a3fbbb1e2ec6aee493595550c8705390
parentd8967b99ffdb9ac5bfe12865b3a84589106da091 (diff)
downloadports-2b7ea6c15af376ff9c2c397df3381ec67ee6d902.tar.gz
ports-2b7ea6c15af376ff9c2c397df3381ec67ee6d902.zip
dns/q-dns: New port: Tiny command line DNS client
-rw-r--r--dns/Makefile1
-rw-r--r--dns/q-dns/Makefile19
-rw-r--r--dns/q-dns/distinfo5
-rw-r--r--dns/q-dns/pkg-descr2
4 files changed, 27 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index 7189bb94b5fe..b01494b1b175 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -200,6 +200,7 @@
SUBDIR += py-pywdns
SUBDIR += py-tld
SUBDIR += py-tldextract
+ SUBDIR += q-dns
SUBDIR += qmdnsengine
SUBDIR += radns
SUBDIR += rbldnsd
diff --git a/dns/q-dns/Makefile b/dns/q-dns/Makefile
new file mode 100644
index 000000000000..43877cbeb6a4
--- /dev/null
+++ b/dns/q-dns/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= q-dns
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.15.1
+CATEGORIES= dns
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Tiny command line DNS client
+WWW= https://github.com/zmap/zdns
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:1.21,modules
+
+GO_MODULE= github.com/natesales/q
+
+PLIST_FILES= bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/dns/q-dns/distinfo b/dns/q-dns/distinfo
new file mode 100644
index 000000000000..98c1d95c48e7
--- /dev/null
+++ b/dns/q-dns/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1699949294
+SHA256 (go/dns_q-dns/q-dns-v0.15.1/v0.15.1.mod) = dff22249a52b18b6ffc2aa52bc52a7db3dd3e8a587d9b4fe000fe4b0aa29756a
+SIZE (go/dns_q-dns/q-dns-v0.15.1/v0.15.1.mod) = 1694
+SHA256 (go/dns_q-dns/q-dns-v0.15.1/v0.15.1.zip) = f4bdaa7bf98454ae3f285cd24c5d27e4445a7af17e0102a3e13ad2697436aa89
+SIZE (go/dns_q-dns/q-dns-v0.15.1/v0.15.1.zip) = 399057
diff --git a/dns/q-dns/pkg-descr b/dns/q-dns/pkg-descr
new file mode 100644
index 000000000000..e93b4b2cf1cd
--- /dev/null
+++ b/dns/q-dns/pkg-descr
@@ -0,0 +1,2 @@
+q-dns is a tiny and feature-rich command line DNS client with support for
+UDP, TCP, DoT, DoH, DoQ and ODoH.