diff --git a/srcpkgs/stubby/files/stubby/log/run b/srcpkgs/stubby/files/stubby/log/run new file mode 100644 index 00000000000..133f33a73b5 --- /dev/null +++ b/srcpkgs/stubby/files/stubby/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec logger -t stubby -p daemon.notice diff --git a/srcpkgs/stubby/files/stubby/run b/srcpkgs/stubby/files/stubby/run new file mode 100644 index 00000000000..3a5b089ede4 --- /dev/null +++ b/srcpkgs/stubby/files/stubby/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/stubby 2>&1 diff --git a/srcpkgs/stubby/template b/srcpkgs/stubby/template new file mode 100644 index 00000000000..b053dc26123 --- /dev/null +++ b/srcpkgs/stubby/template @@ -0,0 +1,25 @@ +# Template file for 'stubby' +pkgname=stubby +version=0.2.3 +revision=1 +build_style=gnu-configure +conf_files="/etc/stubby/stubby.yml" +hostmakedepends="automake" +makedepends="getdns-devel libyaml-devel" +short_desc="DNS Privacy stub resolver" +maintainer="Frank Steinborn " +license="BSD-3-Clause" +homepage="https://github.com/getdnsapi/stubby" +distfiles="https://github.com/getdnsapi/stubby/archive/v${version}.tar.gz" +checksum=5fbe10f421f1313b5e2259b0eec96785af0c5b460431cf86bb6450a11cb3f473 + +pre_configure() { + autoreconf -fi +} + +post_install() { + rm ${DESTDIR}/etc/stubby/stubby.yml.example + + vlicense COPYING + vsv stubby +}