# Template file for 'nsd' pkgname=nsd version=4.14.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 pkg-config protobuf protobuf-c" makedepends="fstrm-devel libevent-devel protobuf-c-devel" short_desc="Authoritative only, high performance and simple DNS server" maintainer="Leah Neukirchen " 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=5d60e344002a9cc609ab71951a3cdb906314999e42f2a269044f27259ac2f12e 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 }