27 lines
810 B
Bash
27 lines
810 B
Bash
# Template file for 'nsd'
|
|
pkgname=nsd
|
|
version=4.1.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
build_pie=yes
|
|
configure_args="--enable-ratelimit
|
|
--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=d6e0e9cd1f637a3b4bfa48dba47b1564408eb531c57f6a3dda1a2d529df800f0
|
|
|
|
post_install() {
|
|
vsv nsd
|
|
vlicense LICENSE
|
|
rm -f ${DESTDIR}/etc/nsd/nsd.conf.sample
|
|
vsconf nsd.conf.sample
|
|
}
|