2010-06-19 17:13:17 +02:00
|
|
|
# Description: Validating, recursive, and caching DNS resolver
|
2021-02-16 13:28:48 +01:00
|
|
|
# URL: http://unbound.net/index.html
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: openssl expat
|
2010-06-19 17:13:17 +02:00
|
|
|
|
|
|
|
name=unbound
|
2024-05-08 14:16:10 +02:00
|
|
|
version=1.20.0
|
2014-03-13 11:54:32 +01:00
|
|
|
release=1
|
2017-06-28 12:16:02 +02:00
|
|
|
source=(https://unbound.net/downloads/$name-$version.tar.gz
|
2021-02-16 13:28:48 +01:00
|
|
|
unbound
|
|
|
|
README pre-install)
|
2010-06-19 17:13:17 +02:00
|
|
|
|
|
|
|
build () {
|
2021-02-16 13:28:48 +01:00
|
|
|
cd $name-$version
|
2010-08-03 19:14:39 +02:00
|
|
|
|
2021-02-16 13:28:48 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
2022-02-16 17:16:13 +01:00
|
|
|
--with-pidfile=/run/unbound.pid \
|
2021-02-16 13:28:48 +01:00
|
|
|
--with-chroot-dir=/etc/unbound \
|
|
|
|
--with-rootkey-file=/etc/unbound/anchor/root.key \
|
|
|
|
--disable-shared \
|
|
|
|
--disable-flto \
|
2022-06-06 11:43:53 +02:00
|
|
|
--with-username=unbound
|
2010-06-19 17:13:17 +02:00
|
|
|
|
2021-02-16 13:28:48 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2010-11-08 18:16:33 +01:00
|
|
|
|
2021-02-16 13:28:48 +01:00
|
|
|
rm -r $PKG/usr/{lib,include,share/man/man3}
|
|
|
|
|
|
|
|
install -d -o unbound -g unbound $PKG/etc/unbound/anchor
|
|
|
|
install -D -m 755 $SRC/unbound $PKG/etc/rc.d/unbound
|
2010-06-19 17:13:17 +02:00
|
|
|
}
|