void-packages/srcpkgs/nsd/template
2016-12-09 12:20:13 +01:00

25 lines
812 B
Bash

# Template file for 'nsd'
pkgname=nsd
version=4.1.14
revision=1
build_style=gnu-configure
configure_args="--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="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://www.nlnetlabs.nl/projects/nsd/"
distfiles="http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=bdfc61c5f3bf11febd8f4776eef1d4f2d95ed70f12f11d4eeee943c186ffd802
post_install() {
vsv nsd
vlicense LICENSE
rm -f ${DESTDIR}/etc/nsd/nsd.conf.sample
vsconf nsd.conf.sample
}