git: 3c74528961f3 - main - dns/mosdns: New port: DNS forwarder

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 06 Nov 2023 05:44:51 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3c74528961f32b3d6c46180c2db253d3cebd88da

commit 3c74528961f32b3d6c46180c2db253d3cebd88da
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-11-06 05:36:05 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-11-06 05:36:05 +0000

    dns/mosdns: New port: DNS forwarder
---
 dns/Makefile         |  1 +
 dns/mosdns/Makefile  | 19 +++++++++++++++++++
 dns/mosdns/distinfo  |  5 +++++
 dns/mosdns/pkg-descr |  1 +
 4 files changed, 26 insertions(+)

diff --git a/dns/Makefile b/dns/Makefile
index bfbea8877384..7189bb94b5fe 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -105,6 +105,7 @@
     SUBDIR += mDNSResponder_nss
     SUBDIR += maradns
     SUBDIR += mdnsd
+    SUBDIR += mosdns
     SUBDIR += namesilo_ddns
     SUBDIR += nextdns
     SUBDIR += noip
diff --git a/dns/mosdns/Makefile b/dns/mosdns/Makefile
new file mode 100644
index 000000000000..5e6c5f959df3
--- /dev/null
+++ b/dns/mosdns/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	mosdns
+DISTVERSIONPREFIX=	v
+DISTVERSION=	5.3.1
+CATEGORIES=	dns
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	DNS forwarder
+WWW=		https://github.com/IrineSistiana/mosdns
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:1.21,modules
+
+GO_MODULE=	github.com/IrineSistiana/mosdns/v5
+
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/dns/mosdns/distinfo b/dns/mosdns/distinfo
new file mode 100644
index 000000000000..219bf41f9029
--- /dev/null
+++ b/dns/mosdns/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1699248831
+SHA256 (go/dns_mosdns/mosdns-v5.3.1/v5.3.1.mod) = b33460a1f771d4e9ca3eed461131d81dbc52ff00b1f2d350619e55096137be6f
+SIZE (go/dns_mosdns/mosdns-v5.3.1/v5.3.1.mod) = 2962
+SHA256 (go/dns_mosdns/mosdns-v5.3.1/v5.3.1.zip) = cd0a8698cb1fefc5a7dc97f357c5b953018a27ec883f3efb06659ccf0df37d4b
+SIZE (go/dns_mosdns/mosdns-v5.3.1/v5.3.1.zip) = 272625
diff --git a/dns/mosdns/pkg-descr b/dns/mosdns/pkg-descr
new file mode 100644
index 000000000000..20ad1069f1df
--- /dev/null
+++ b/dns/mosdns/pkg-descr
@@ -0,0 +1 @@
+DNS forwarder.