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

Generated by cgit