aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/nsd/template
blob: 6ea43e623955474be14c920c38b1b7570eab2b47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Template file for 'nsd'
pkgname=nsd
version=4.9.0
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"
hostmakedepends="automake"
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=86308f87b09dcb77edc292489b917a5d0dfde986919e68653db0b51cc6dbfebb
system_accounts="nsd"
nsd_homedir=/var/db/nsd
make_dirs="/var/db/nsd 0755 nsd nsd"

pre_configure() {
	autoreconf -fi
}

post_install() {
	vsv nsd
	vlicense LICENSE
	rm -f ${DESTDIR}/etc/nsd/nsd.conf.sample
	vsconf nsd.conf.sample
}