From owner-dev-commits-ports-all@freebsd.org Thu Apr 22 01:34:59 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ABF485FA17E; Thu, 22 Apr 2021 01:34:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FQg2q4HzGz4jMC; Thu, 22 Apr 2021 01:34:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8668B10CC0; Thu, 22 Apr 2021 01:34:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13M1Yxwa026646; Thu, 22 Apr 2021 01:34:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13M1Yxvr026645; Thu, 22 Apr 2021 01:34:59 GMT (envelope-from git) Date: Thu, 22 Apr 2021 01:34:59 GMT Message-Id: <202104220134.13M1Yxvr026645@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 32ef2d939c06 - main - New port: dns/doggo: Modern command-line DNS client (like dig) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 32ef2d939c067cb40cc8c45fe71225a45eb452dc Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2021 01:34:59 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=32ef2d939c067cb40cc8c45fe71225a45eb452dc commit 32ef2d939c067cb40cc8c45fe71225a45eb452dc Author: Yuri Victorovich AuthorDate: 2021-04-22 01:34:28 +0000 Commit: Yuri Victorovich 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 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