blob: d78a54e8367eb60e61af302141705cea1df8b91e (
plain)
1 # Description: Validating, recursive, and caching DNS resolver
2 # URL: http://unbound.net/index.html
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: openssl expat
5
6 name=unbound
7 version=1.7.3
8 release=1
9 source=(https://unbound.net/downloads/$name-$version.tar.gz
10 unbound)
11
12 build () {
13 cd $name-$version
14
15 ./configure --prefix=/usr \
16 --sysconfdir=/etc \
17 --with-pidfile=/var/run/unbound.pid \
18 --with-chroot-dir=/etc/unbound \
19 --with-rootkey-file=/etc/unbound/anchor/root.key \
20 --disable-shared \
21 --disable-flto \
22 --with-username=unbound
23
24 make
25 make DESTDIR=$PKG install
26
27 rm -r $PKG/usr/{lib,include,share/man/man3}
28
29 install -d -o unbound -g unbound $PKG/etc/unbound/anchor
30 install -D -m 755 $SRC/unbound $PKG/etc/rc.d/unbound
31 }
|