2015-08-11 13:09:29 +00:00
|
|
|
# Template file for 'nsd'
|
|
|
|
pkgname=nsd
|
|
|
|
version=4.1.3
|
2015-08-11 14:26:46 +00:00
|
|
|
revision=2
|
2015-08-11 13:09:29 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
build_pie=yes
|
2015-08-11 14:26:46 +00:00
|
|
|
configure_args="--enable-ratelimit
|
|
|
|
--with-libevent=${XBPS_CROSS_BASE}/usr
|
|
|
|
--with-ssl=${XBPS_CROSS_BASE}/usr"
|
2015-08-11 13:09:29 +00: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"
|
|
|
|
checksum=097cb295cdd3e8a73a8afac343caf0fca11b72b2214b022689ddc423312d17e5
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vsv nsd
|
|
|
|
vlicense LICENSE
|
|
|
|
rm -f ${DESTDIR}/etc/nsd/nsd.conf.sample
|
|
|
|
vsconf nsd.conf.sample
|
|
|
|
}
|