33 lines
734 B
Plaintext
33 lines
734 B
Plaintext
# Description: Authoritative only, high performance name server
|
|
# URL: http://www.nlnetlabs.nl/projects/nsd/
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: openssl libevent
|
|
|
|
name=nsd
|
|
version=4.8.0
|
|
release=1
|
|
source=(http://www.nlnetlabs.nl/downloads/nsd/$name-$version.tar.gz
|
|
README pre-install nsd)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--with-dbfile=/var/lib/nsd/nsd.db \
|
|
--with-pidfile=/run/nsd/nsd.pid \
|
|
--with-xfrdir=/run/nsd \
|
|
--with-user=nsd
|
|
|
|
make all nsd-mem
|
|
make DESTDIR=$PKG install
|
|
|
|
install -m 0755 nsd-mem $PKG/usr/sbin
|
|
install -D $SRC/nsd $PKG/etc/rc.d/nsd
|
|
install -d -o nsd -g nsd $PKG/var/lib/nsd
|
|
|
|
rm -r $PKG/run
|
|
}
|