33 lines
926 B
Bash
33 lines
926 B
Bash
# Template file for 'stubby'
|
|
pkgname=stubby
|
|
version=0.2.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
conf_files="/etc/stubby/stubby.yml"
|
|
hostmakedepends="automake"
|
|
makedepends="getdns-devel libyaml-devel"
|
|
depends="libcap-progs" # For setcap(8)
|
|
short_desc="DNS Privacy stub resolver"
|
|
maintainer="Frank Steinborn <steinex@nognu.de>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/getdnsapi/stubby"
|
|
changelog="https://raw.githubusercontent.com/getdnsapi/stubby/v${version}/ChangeLog"
|
|
distfiles="https://github.com/getdnsapi/stubby/archive/v${version}.tar.gz"
|
|
checksum=634b0b9fb8f36416e210fa65800a6c1672bcf9f4f276a042ccf89567ad8ef781
|
|
|
|
# Create stubby system user/group
|
|
system_accounts="_${pkgname}"
|
|
_stubby_homedir="/var/lib/${pkgname}"
|
|
make_dirs="/var/lib/${pkgname} 0755 _${pkgname} _${pkgname}"
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
rm ${DESTDIR}/etc/stubby/stubby.yml.example
|
|
|
|
vlicense COPYING
|
|
vsv stubby
|
|
}
|