blob: 8ed45a41148dae636e24a62eaee74b8ba37fabac (
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.17.1
8 release=1
9 source=(https://unbound.net/downloads/$name-$version.tar.gz
10 unbound
11 README pre-install)
12
13 build () {
14 cd $name-$version
15
16 ./configure \
17 --prefix=/usr \
18 --sysconfdir=/etc \
19 --with-pidfile=/run/unbound.pid \
20 --with-chroot-dir=/etc/unbound \
21 --with-rootkey-file=/etc/unbound/anchor/root.key \
22 --disable-shared \
23 --disable-flto \
24 --with-username=unbound
25
26 make
27 make DESTDIR=$PKG install
28
29 rm -r $PKG/usr/{lib,include,share/man/man3}
30
31 install -d -o unbound -g unbound $PKG/etc/unbound/anchor
32 install -D -m 755 $SRC/unbound $PKG/etc/rc.d/unbound
33 }
|