37 lines
974 B
Plaintext
37 lines
974 B
Plaintext
# Description: Validating, recursive, and caching DNS resolver
|
|
# URL: http://unbound.net/index.html
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: openssl expat
|
|
|
|
name=unbound
|
|
version=1.4.12
|
|
release=1
|
|
source=(http://www.unbound.net/downloads/$name-$version.tar.gz
|
|
http://www.nlnetlabs.nl/downloads/ldns/ldns-1.6.10.tar.gz
|
|
unbound)
|
|
|
|
build () {
|
|
cd ldns-1.6.10
|
|
./configure --disable-shared
|
|
make
|
|
|
|
cd ../$name-$version
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--sysconfdir=/etc \
|
|
--with-pidfile=/var/run/unbound.pid \
|
|
--disable-shared \
|
|
--with-username=unbound \
|
|
--with-ldns=../ldns-1.6.10
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{lib,include,man/man3}
|
|
|
|
touch $PKG/etc/unbound/root.key
|
|
chown unbound $PKG/etc/unbound/root.key
|
|
|
|
install -D -m 755 $SRC/unbound $PKG/etc/rc.d/unbound
|
|
}
|