Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2021 01:34:59 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 32ef2d939c06 - main - New port: dns/doggo: Modern command-line DNS client (like dig)
Message-ID:  <202104220134.13M1Yxvr026645@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=32ef2d939c067cb40cc8c45fe71225a45eb452dc

commit 32ef2d939c067cb40cc8c45fe71225a45eb452dc
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-04-22 01:34:28 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-04-22 01:34:57 +0000

    New port: dns/doggo: Modern command-line DNS client (like dig)
---
 dns/Makefile        |  1 +
 dns/doggo/Makefile  | 22 ++++++++++++++++++++++
 dns/doggo/distinfo  |  5 +++++
 dns/doggo/pkg-descr | 20 ++++++++++++++++++++
 4 files changed, 48 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104220134.13M1Yxvr026645>