void-packages/srcpkgs/nsd/template
2017-12-11 18:24:05 +01:00

25 lines
826 B
Bash

# Template file for 'nsd'
pkgname=nsd
version=4.1.19
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 libressl-devel"
system_accounts="nsd"
nsd_homedir="/var/db/nsd"
make_dirs="/var/db/nsd 0755 nsd nsd"
short_desc="Authoritative only, high performance and simple DNS server"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="3-clause-BSD"
homepage="http://www.nlnetlabs.nl/projects/nsd/"
distfiles="http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=b0782cb9b57416888d488b6460b071cd85ecb5f99381865b3a7f93dddf9e02c5
post_install() {
vsv nsd
vlicense LICENSE
rm -f ${DESTDIR}/etc/nsd/nsd.conf.sample
vsconf nsd.conf.sample
}