void-packages/srcpkgs/nsd/template
2021-04-07 14:02:29 +02:00

26 lines
897 B
Bash

# Template file for 'nsd'
pkgname=nsd
version=4.3.6
revision=1
build_style=gnu-configure
configure_args="--enable-ratelimit --enable-ratelimit-default-is-off
--with-libevent=${XBPS_CROSS_BASE}/usr --with-ssl=${XBPS_CROSS_BASE}/usr"
makedepends="libevent-devel"
short_desc="Authoritative only, high performance and simple DNS server"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3-Clause"
homepage="https://www.nlnetlabs.nl/projects/nsd/"
changelog="https://github.com/NLnetLabs/nsd/blob/NSD_${version//./_}_REL/doc/ChangeLog"
distfiles="https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=bee6c0cf5525acc41dade9ec9e29435299211b0de290059878f7e53249e75f18
system_accounts="nsd"
nsd_homedir=/var/db/nsd
make_dirs="/var/db/nsd 0755 nsd nsd"
post_install() {
vsv nsd
vlicense LICENSE
rm -f ${DESTDIR}/etc/nsd/nsd.conf.sample
vsconf nsd.conf.sample
}