svn commit: r523387 - in head/dns: . nextdns nextdns/files
Olivier Cochard
olivier at FreeBSD.org
Sat Jan 18 01:21:46 UTC 2020
Author: olivier
Date: Sat Jan 18 01:21:44 2020
New Revision: 523387
URL: https://svnweb.freebsd.org/changeset/ports/523387
Log:
New port: dns/nextdns
NextDNS client: DNS53 to DNS over HTTPS proxy
WWW: https://github.com/nextdns/nextdns
PR: 242752
Submitted by: Olivier Poitrey <rs at nextdns.io>
Added:
head/dns/nextdns/
head/dns/nextdns/Makefile (contents, props changed)
head/dns/nextdns/distinfo (contents, props changed)
head/dns/nextdns/files/
head/dns/nextdns/files/pkg-message.in (contents, props changed)
head/dns/nextdns/pkg-deinstall (contents, props changed)
head/dns/nextdns/pkg-descr (contents, props changed)
Modified:
head/dns/Makefile
Modified: head/dns/Makefile
==============================================================================
--- head/dns/Makefile Sat Jan 18 01:12:10 2020 (r523386)
+++ head/dns/Makefile Sat Jan 18 01:21:44 2020 (r523387)
@@ -109,6 +109,7 @@
SUBDIR += mydns
SUBDIR += mydns-ng
SUBDIR += namesilo_ddns
+ SUBDIR += nextdns
SUBDIR += noip
SUBDIR += nsd
SUBDIR += nsec3walker
Added: head/dns/nextdns/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/nextdns/Makefile Sat Jan 18 01:21:44 2020 (r523387)
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+PORTNAME= nextdns
+PORTVERSION= 1.4.25
+CATEGORIES= dns security
+
+MAINTAINER= rs at nextdns.io
+COMMENT= NextDNS DNS53 to DNS over HTTPS proxy
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ca_root_nss>=3.35:security/ca_root_nss
+
+USES= go:modules
+PLIST_FILES= sbin/nextdns
+USE_GITHUB= yes
+GO_TARGET= .:${PREFIX}/sbin/nextdns
+GH_ACCOUNT= nextdns
+GH_TAGNAME= v1.4.25
+GH_TUPLE= \
+ cenkalti:backoff:v2.2.1:cenkalti_backoff/vendor/github.com/cenkalti/backoff \
+ cespare:xxhash:v1.1.0:cespare_xxhash/vendor/github.com/cespare/xxhash \
+ denisbrodbeck:machineid:v1.0.1:denisbrodbeck_machineid/vendor/github.com/denisbrodbeck/machineid \
+ golang:crypto:9ee001bba392:golang_crypto/vendor/golang.org/x/crypto \
+ golang:net:a882066a44e0:golang_net/vendor/golang.org/x/net \
+ golang:sys:52ab43148777:golang_sys/vendor/golang.org/x/sys \
+ grandcat:zeroconf:85eadb44205c:grandcat_zeroconf/vendor/github.com/grandcat/zeroconf \
+ miekg:dns:v1.1.22:miekg_dns/vendor/github.com/miekg/dns \
+ rs:service:b1a37fd90075:rs_service/vendor/github.com/kardianos/service
+
+SUB_FILES= pkg-message
+
+.include <bsd.port.mk>
Added: head/dns/nextdns/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/nextdns/distinfo Sat Jan 18 01:21:44 2020 (r523387)
@@ -0,0 +1,21 @@
+TIMESTAMP = 1579309639
+SHA256 (nextdns-nextdns-1.4.25-v1.4.25_GH0.tar.gz) = f6447d4df88e03385a0dd1810034583d3bb008e9d2404f0e54ba64e7dcba119e
+SIZE (nextdns-nextdns-1.4.25-v1.4.25_GH0.tar.gz) = 144430
+SHA256 (cenkalti-backoff-v2.2.1_GH0.tar.gz) = a2c29d0184e7afc415975cf2689723028d2686ffbb67fe0999ab1d691e6d16db
+SIZE (cenkalti-backoff-v2.2.1_GH0.tar.gz) = 8623
+SHA256 (cespare-xxhash-v1.1.0_GH0.tar.gz) = 9418be390574092f0ca989b9ae2f5450270ead8125a635a100850b28c8c9c495
+SIZE (cespare-xxhash-v1.1.0_GH0.tar.gz) = 8200
+SHA256 (denisbrodbeck-machineid-v1.0.1_GH0.tar.gz) = 0a01d2b131419cb2b9f7d910a2c90b824449bd91005b47efb235dc707665337a
+SIZE (denisbrodbeck-machineid-v1.0.1_GH0.tar.gz) = 27807
+SHA256 (golang-crypto-9ee001bba392_GH0.tar.gz) = a33baa9b2a1eff49d95fb0ec97dbd66c703b9ae9808215ece254d6445a751b48
+SIZE (golang-crypto-9ee001bba392_GH0.tar.gz) = 1693135
+SHA256 (golang-net-a882066a44e0_GH0.tar.gz) = cf3c88a5e37296bafab87cac0dc1d4f5272ef7a9726d7b57dd78171b2ac63b4c
+SIZE (golang-net-a882066a44e0_GH0.tar.gz) = 1165247
+SHA256 (golang-sys-52ab43148777_GH0.tar.gz) = 8b71b7fcc21c66ffdc66affd45a489fadb2d15b674993a10f72606fd303b385d
+SIZE (golang-sys-52ab43148777_GH0.tar.gz) = 1515147
+SHA256 (grandcat-zeroconf-85eadb44205c_GH0.tar.gz) = ba43a3a468bea28d4217be4b463bbf6a338ad39ae0280cecc4dd8cd5e4129b59
+SIZE (grandcat-zeroconf-85eadb44205c_GH0.tar.gz) = 14431
+SHA256 (miekg-dns-v1.1.22_GH0.tar.gz) = 32446249a35d682913bc0d56a1126c0aec8712d3714c5b5ad078f14b682ba0ef
+SIZE (miekg-dns-v1.1.22_GH0.tar.gz) = 178978
+SHA256 (rs-service-b1a37fd90075_GH0.tar.gz) = de4a8390ce0ee9249cb9d2705f1a046d45bfc49e2981e26888cfa2ed19d4ffcd
+SIZE (rs-service-b1a37fd90075_GH0.tar.gz) = 23873
Added: head/dns/nextdns/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/nextdns/files/pkg-message.in Sat Jan 18 01:21:44 2020 (r523387)
@@ -0,0 +1,20 @@
+[
+{
+ type: install
+ message: <<EOM
+To configure NextDNS, run the following command as root:
+
+ nextdns install -config <your_conf_id>
+
+By default, nextdns listen on localhost only. To setup on a server,
+add the -listen :53 option in order to listen on all interfaces.
+
+Go on https://nextdns.io to create a custom configuration ID.
+
+Then setup your DNS manually to 127.0.0.1 or by running as root:
+
+ nextdns activate
+
+EOM
+}
+]
Added: head/dns/nextdns/pkg-deinstall
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/nextdns/pkg-deinstall Sat Jan 18 01:21:44 2020 (r523387)
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if [ x"$2" != x"DEINSTALL" ]; then
+ exit 0
+fi
+
+${PKG_PREFIX}/nextdns uninstall >/dev/null 2>/dev/null
+rm -f ${PKG_PREFIX}/etc/nextdns.conf
+
+exit 0
Added: head/dns/nextdns/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/nextdns/pkg-descr Sat Jan 18 01:21:44 2020 (r523387)
@@ -0,0 +1,3 @@
+NextDNS DNS53 to DNS over HTTPS proxy
+
+WWW: https://github.com/nextdns/nextdns
More information about the svn-ports-all
mailing list