void-packages/srcpkgs/nsd/template
maxice8 1dc24b4f94 nsd: update to 4.1.21.
Closes #14416.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-15 09:29:48 +02:00

24 lines
812 B
Bash

# Template file for 'nsd'
pkgname=nsd
version=4.1.21
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/"
distfiles="https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=7858b934a07e1582079d7e724b05855380416b7fd68cdaeeca16305bd66bd2bd
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
}