2018-05-22 12:57:23 +02:00
|
|
|
# Description: Authoritative only, high performance name server
|
2021-04-08 12:42:02 +02:00
|
|
|
# URL: http://www.nlnetlabs.nl/projects/nsd/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2022-02-20 11:59:09 +01:00
|
|
|
# Depends on: openssl libevent
|
2018-05-22 12:57:23 +02:00
|
|
|
|
|
|
|
name=nsd
|
2023-12-07 11:05:52 +01:00
|
|
|
version=4.8.0
|
2018-05-22 12:57:23 +02:00
|
|
|
release=1
|
|
|
|
source=(http://www.nlnetlabs.nl/downloads/nsd/$name-$version.tar.gz
|
2022-02-20 11:59:09 +01:00
|
|
|
README pre-install nsd)
|
2018-05-22 12:57:23 +02:00
|
|
|
|
2021-04-08 12:42:02 +02:00
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2018-05-22 12:57:23 +02:00
|
|
|
|
2021-04-08 12:42:02 +02:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--with-dbfile=/var/lib/nsd/nsd.db \
|
2022-02-20 11:59:09 +01:00
|
|
|
--with-pidfile=/run/nsd/nsd.pid \
|
|
|
|
--with-xfrdir=/run/nsd \
|
2021-04-08 12:42:02 +02:00
|
|
|
--with-user=nsd
|
2018-05-22 12:57:23 +02:00
|
|
|
|
2021-04-08 12:42:02 +02:00
|
|
|
make all nsd-mem
|
|
|
|
make DESTDIR=$PKG install
|
2018-05-22 12:57:23 +02:00
|
|
|
|
2021-04-08 12:42:02 +02:00
|
|
|
install -m 0755 nsd-mem $PKG/usr/sbin
|
2022-02-20 11:59:09 +01:00
|
|
|
install -D $SRC/nsd $PKG/etc/rc.d/nsd
|
2023-12-07 11:05:52 +01:00
|
|
|
install -d -o nsd -g nsd $PKG/var/lib/nsd
|
2021-04-08 12:42:02 +02:00
|
|
|
|
2022-02-20 11:59:09 +01:00
|
|
|
rm -r $PKG/run
|
2018-05-22 12:57:23 +02:00
|
|
|
}
|