aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-11-06 05:36:05 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-11-06 05:36:05 +0000
commit3c74528961f32b3d6c46180c2db253d3cebd88da (patch)
treef8d78484ff5c0c5fe575a510ef575c4229d04ea7
parent97e5c7980b2eb9a29a7792f5e5dba277bc68ed3f (diff)
downloadports-3c74528961f32b3d6c46180c2db253d3cebd88da.tar.gz
ports-3c74528961f32b3d6c46180c2db253d3cebd88da.zip
dns/mosdns: New port: DNS forwarder
-rw-r--r--dns/Makefile1
-rw-r--r--dns/mosdns/Makefile19
-rw-r--r--dns/mosdns/distinfo5
-rw-r--r--dns/mosdns/pkg-descr1
4 files changed, 26 insertions, 0 deletions
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.