opt/unbound/Pkgfile

34 lines
784 B
Plaintext
Raw Normal View History

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
2022-08-02 10:17:43 +02:00
version=1.16.2
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 \
--with-pidfile=/var/run/unbound.pid \
--with-chroot-dir=/etc/unbound \
--with-rootkey-file=/etc/unbound/anchor/root.key \
--disable-shared \
--disable-flto \
--with-username=unbound
2010-06-19 17:13:17 +02:00
2021-02-16 13:28:48 +01:00
make
make DESTDIR=$PKG install
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
}