aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-04-22 01:34:28 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-04-22 01:34:57 +0000
commit32ef2d939c067cb40cc8c45fe71225a45eb452dc (patch)
treeab3fe98973f9e747b4d1934a8ad6f435cbf6e8e5
parent5dfdc08d987ce1f9f5b47f6622f3de08d6b4e64e (diff)
downloadports-32ef2d939c067cb40cc8c45fe71225a45eb452dc.tar.gz
ports-32ef2d939c067cb40cc8c45fe71225a45eb452dc.zip
New port: dns/doggo: Modern command-line DNS client (like dig)
-rw-r--r--dns/Makefile1
-rw-r--r--dns/doggo/Makefile22
-rw-r--r--dns/doggo/distinfo5
-rw-r--r--dns/doggo/pkg-descr20
4 files changed, 48 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index eb9b1cf47809..811f74672c06 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -57,6 +57,7 @@
SUBDIR += dnswall
SUBDIR += doc
SUBDIR += dog
+ SUBDIR += doggo
SUBDIR += doh-proxy
SUBDIR += dq
SUBDIR += drool
diff --git a/dns/doggo/Makefile b/dns/doggo/Makefile
new file mode 100644
index 000000000000..a667e51f26a6
--- /dev/null
+++ b/dns/doggo/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= doggo
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.3.9
+CATEGORIES= dns
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Modern command-line DNS client (like dig)
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:modules
+
+GO_MODULE= github.com/mr-karan/doggo
+GO_TARGET= ./cmd/${PORTNAME}/cli
+
+PLIST_FILES= bin/${PORTNAME}
+
+post-install:
+ @cd ${STAGEDIR}${PREFIX} && ${MV} bin/cli bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/dns/doggo/distinfo b/dns/doggo/distinfo
new file mode 100644
index 000000000000..b5b61e0526f0
--- /dev/null
+++ b/dns/doggo/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1619054347
+SHA256 (go/dns_doggo/doggo-v0.3.9/v0.3.9.mod) = 879a7af7af80c2715d69e8bc235feb3ec6837180545c25cc28b2ee0a5d325b65
+SIZE (go/dns_doggo/doggo-v0.3.9/v0.3.9.mod) = 471
+SHA256 (go/dns_doggo/doggo-v0.3.9/v0.3.9.zip) = 31da4fbc4f652821fabfb4b913dd433e3bdf886de65285cfef0ca89b658a7440
+SIZE (go/dns_doggo/doggo-v0.3.9/v0.3.9.zip) = 407256
diff --git a/dns/doggo/pkg-descr b/dns/doggo/pkg-descr
new file mode 100644
index 000000000000..bd5f1ee73248
--- /dev/null
+++ b/dns/doggo/pkg-descr
@@ -0,0 +1,20 @@
+doggo is a modern command-line DNS client (like dig) written in Golang. It
+outputs information in a neat concise manner and supports protocols like DoH,
+DoT as well.
+
+Features:
+* Human readable output - supports colors and tabular format.
+* Supports JSON format - can be useful while writing scripts.
+* Has support for multiple transport protocols:
+ DNS over HTTPS (DoH)
+ DNS over TLS (DoT)
+ DNS over TCP
+ DNS over UDP
+* Supports ndots and search configurations from resolv.conf or command-line
+ arguments.
+* Supports multiple resolvers at once.
+* Supports IPv4 and IPv6 both.
+* Available as a web tool as well: https://doggo.mrkaran.dev.
+* Shell completions for zsh and fish.
+
+WWW: https://github.com/mr-karan/doggo