# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup getdnsapi stubby 0.2.3 v
maintainers {l2dy @l2dy} openmaintainer
description an application that acts as a local DNS Privacy stub \
resolver (using DNS-over-TLS)
long_description Stubby is the name given to a mode of using getdns which \
enables it to act as a local DNS Privacy stub resolver \
(using DNS-over-TLS). Stubby encrypts DNS queries sent from \
a client machine (desktop or laptop) to a DNS Privacy \
resolver increasing end user privacy.
homepage https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby
checksums rmd160 03986bd49e7ead24f16e84135b841d448bcc0e31 \
sha256 a0ad8683a97a27557ec26888dab166bd6ddb25afb736dedf0b9ceaa3fea738be \
depends_lib port:getdns \
configure.cflags-append -std=c99
delete ${destroot}${prefix}/etc/stubby/stubby.yml
if {![file exists ${prefix}/etc/stubby/stubby.yml]} {
file copy ${prefix}/etc/stubby/stubby.yml.example ${prefix}/etc/stubby/stubby.yml
startupitem.executable ${prefix}/bin/stubby -C ${prefix}/etc/stubby/stubby.yml