summaryrefslogtreecommitdiff
path: root/unbound/Pkgfile
blob: b80ae0a2348b8a1dd443ed203b389c1f7d870f68 (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.16.3
    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=/var/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 }

Generated by cgit