Created attachment 210090 [details]
nextdns port patch
This port is the official DNS over HTTPS client for the NextDNS service. It works out the box and can easily be configured with any other DoH service.
The port does not install an rc script, the "nextdns install" command takes care of that. It's a bit unusual but makes future update of this port easier as all multi platform support is maintained upstream.
The optional "nextdns activate" disables resolvconf and rewrite+backup the /etc/resolv.conf. The "nextdns deactivate" reverts that. It's close to the local-unbound way, without the support for automatic forwarder configuration. The de/activate is also part of the binary, no script added to the port.
More info on https://github.com/nextdns/nextdns.
% portlint -A dns/nextdns/
Created attachment 210831 [details]
Update upstream to v1.4.25
Created attachment 210832 [details]
Fix previous patch (missing GH_TAGNAME update)
Created attachment 210833 [details]
nextdns port patch v1.4.25
A commit references this bug:
Date: Sat Jan 18 01:21:46 UTC 2020
New revision: 523387
New port: dns/nextdns
NextDNS client: DNS53 to DNS over HTTPS proxy
Submitted by: Olivier Poitrey <email@example.com>
Excellent quality port for a first one!
I just had to updated the distinfo file (make makesum) on your latest update.
Generating the RC script from the binary is an unusual concept but the pkg-deinstall take care of cleaning it, so seems legit.
Thanks for your contribution.