50 lines
1.5 KiB
Bash
50 lines
1.5 KiB
Bash
# Template file for 'knot-resolver'
|
|
pkgname=knot-resolver
|
|
version=5.6.0
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="
|
|
-Dclient=enabled
|
|
-Dgroup=_knot_resolver
|
|
-Duser=_knot_resolver
|
|
-Dkeyfile_default=/var/lib/knot-resolver/root.keys
|
|
-Droot_hints=/var/lib/knot-resolver/root.hints
|
|
-Dkres_gen_test=false"
|
|
hostmakedepends="meson pkg-config protobuf-c"
|
|
makedepends="LuaJIT-devel fstrm-devel gnutls-devel libedit-devel libknot-devel
|
|
libuv-devel lmdb-devel protobuf-c-devel nghttp2-devel libcap-ng-devel libcap-ng-devel"
|
|
checkdepends="cmocka-devel"
|
|
short_desc="Full caching DNS resolver implementation"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.knot-resolver.cz/"
|
|
changelog="https://github.com/CZ-NIC/knot-resolver/raw/master/NEWS"
|
|
distfiles="https://secure.nic.cz/files/knot-resolver/knot-resolver-${version}.tar.xz"
|
|
checksum=0c82ae937b685dc477fb3176098e3dc106c898b7cd83553e5bc54dccb83c80d7
|
|
|
|
system_accounts="_knot_resolver"
|
|
_knot_resolver_homedir="/var/cache/knot-resolver"
|
|
|
|
mutable_files="
|
|
/var/lib/knot-resolver/root.hints
|
|
/var/lib/knot-resolver/root.keys"
|
|
|
|
conf_files="
|
|
/etc/knot-resolver/kresd.conf"
|
|
|
|
post_install() {
|
|
vinstall etc/root.hints 644 var/lib/knot-resolver
|
|
vinstall etc/root.keys 644 var/lib/knot-resolver
|
|
vsv kresd
|
|
}
|
|
|
|
knot-resolver-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|