33 lines
926 B
Bash
33 lines
926 B
Bash
# Template file for 'stubby'
|
|
pkgname=stubby
|
|
version=0.2.5
|
|
revision=2
|
|
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=56ee63f4b9ee00476a168e6ba5614f6830f93e89baa305c2d38577b2e39eae5b
|
|
|
|
# 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
|
|
}
|