# -*- 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.6 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 9f4511d9b49374ff75e2ce7563653fde072b3f5a \
sha256 74fab7933d14cb2c79c8e10fa14e627910382f1b09bc0bd017943726ce158e57 \
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