New port: dns/doggo: Modern command-line DNS client (like dig)

This commit is contained in:
Yuri Victorovich 2021-04-21 18:34:28 -07:00
parent 5dfdc08d98
commit 32ef2d939c
4 changed files with 48 additions and 0 deletions

View file

@ -57,6 +57,7 @@
SUBDIR += dnswall
SUBDIR += doc
SUBDIR += dog
SUBDIR += doggo
SUBDIR += doh-proxy
SUBDIR += dq
SUBDIR += drool

22
dns/doggo/Makefile Normal file
View file

@ -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>

5
dns/doggo/distinfo Normal file
View file

@ -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

20
dns/doggo/pkg-descr Normal file
View file

@ -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