opt/unbound/Pkgfile

32 lines
899 B
Plaintext
Raw Normal View History

2010-06-19 17:13:17 +02:00
# 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
2010-06-19 17:13:17 +02:00
name=unbound
2019-06-23 14:44:21 +02:00
version=1.9.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
2010-06-19 17:13:17 +02:00
unbound)
build () {
2014-03-13 11:54:32 +01:00
cd $name-$version
2010-06-19 17:13:17 +02: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 \
2010-06-19 17:13:17 +02:00
--disable-shared \
2015-06-24 15:12:53 +02:00
--disable-flto \
2014-03-13 11:54:32 +01:00
--with-username=unbound
2010-08-03 19:14:39 +02:00
2010-06-19 17:13:17 +02:00
make
make DESTDIR=$PKG install
2015-12-10 16:22:31 +01:00
rm -r $PKG/usr/{lib,include,share/man/man3}
install -d -o unbound -g unbound $PKG/etc/unbound/anchor
2010-06-19 17:13:17 +02:00
install -D -m 755 $SRC/unbound $PKG/etc/rc.d/unbound
}