void-packages/srcpkgs/nsd/template

26 lines
811 B
Bash
Raw Normal View History

2015-08-11 15:09:29 +02:00
# Template file for 'nsd'
pkgname=nsd
2015-12-11 12:14:06 +01:00
version=4.1.7
2015-09-10 12:02:22 +02:00
revision=1
2015-08-11 15:09:29 +02:00
build_style=gnu-configure
2015-12-11 12:14:06 +01:00
configure_args="--enable-ratelimit-default-is-off
2015-08-11 16:26:46 +02:00
--with-libevent=${XBPS_CROSS_BASE}/usr
--with-ssl=${XBPS_CROSS_BASE}/usr"
2015-08-11 15:09:29 +02:00
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"
2015-12-11 12:14:06 +01:00
checksum=7ba8beb29b495ab795e927d9aa82a5bb1b66296a78f61ed47d6ccfe59e9b1a8a
2015-08-11 15:09:29 +02:00
post_install() {
vsv nsd
vlicense LICENSE
rm -f ${DESTDIR}/etc/nsd/nsd.conf.sample
vsconf nsd.conf.sample
}