Created attachment 218605 [details] New port diff A couple of points: - I am not sure what the policy is for including a modified sample config but I had to make some adjustments for it to work out of the box. Let me know. - The latest tag on the source repo does not build, this is taken from the latest commit.
Created attachment 218608 [details] New port diff Fixed the rc binary name
Created attachment 218620 [details] New port diff Add the prometheus metrics option
Created attachment 218724 [details] New port diff Updates to work around the inability to run as a daemon with Prometheus metrics.
Created attachment 219302 [details] Updated port diff Update port to 0.3.20 which is mainly just updated deps. This doesn't fix the daemon issue but is a tagged release.
You can remove Created by, it's deprecated You can replace ${PREFIX}/etc/encrypted-dns with ${ETCDIR} Can you move the post-install target at the end of the Makefile? Can you run portclippy (ports-mgmt/portfmt) on your Makefile? Can you run rclint on you startup script?
Created attachment 219450 [details] New port diff
Created attachment 219474 [details] New port diff
(In reply to Mikael Urankar from comment #5) > You can remove Created by, it's deprecated Done > You can replace ${PREFIX}/etc/encrypted-dns with ${ETCDIR} The it is ${PREFIX}/etc/encrypted-dns-server which I think is too long. > Can you move the post-install target at the end of the Makefile? I want to copy a custom config file. > Can you run portclippy (ports-mgmt/portfmt) on your Makefile? Done > Can you run rclint on you startup script? Done
A commit references this bug: Author: mikael Date: Thu Nov 12 17:37:21 UTC 2020 New revision: 554980 URL: https://svnweb.freebsd.org/changeset/ports/554980 Log: dns/encrypted-dns-server: create port An easy to install, high-performance, zero maintenance proxy to run an encrypted DNS server. WWW: https://github.com/jedisct1/encrypted-dns-server PR: 250195 Submitted by: Felix Hanley <felix@userspace.com.au> Changes: head/GIDs head/UIDs head/dns/Makefile head/dns/encrypted-dns-server/ head/dns/encrypted-dns-server/Makefile head/dns/encrypted-dns-server/distinfo head/dns/encrypted-dns-server/files/ head/dns/encrypted-dns-server/files/encrypted-dns.toml.sample head/dns/encrypted-dns-server/files/encrypted_dns.in head/dns/encrypted-dns-server/pkg-descr
Thanks!