description="The BIND package includes the client side programs nslookup, dig and host." url="http://www.isc.org/downloads/bind/" packager="tnut " makedepends=(kerberos libxml2 openssl libcap) run=(python-ply) name=bind version=9.14.10 nutyx_version=11.3 source=(https://downloads.tuxfamily.org/nutyx/files/nutyx-${nutyx_version}.tar.xz https://downloads.isc.org/isc/bind9/$version/$name-$version.tar.gz) build(){ cd $name-$version ./configure --prefix=/usr \ --sysconfdir=/etc/bind \ --disable-static \ --mandir=/usr/share/man \ --localstatedir=/var \ --without-python \ --enable-threads \ --with-openssl make -C lib/dns make -C lib/isc make -C lib/bind9 make -C lib/isccfg make -C lib/irs make -C bin/dig make DESTDIR=$PKG -C bin/dig install # doc install -v -m755 -d $PKG/usr/share/doc/bind-$version/{arm,misc} install -v -m644 doc/arm/*.html \ $PKG/usr/share/doc/bind-$version/arm install -v -m644 \ doc/misc/{dnssec,ipv6,migrat*,options,rfc-compliance,roadmap} \ $PKG/usr/share/doc/bind-$version/misc # Service cd $SRC/nutyx-${nutyx_version} make DESTDIR=$PKG install-bind } uptodate() { local url ext ext=".tar.bz2" url="https://ftp.isc.org/isc/bind9/" lynx -read_timeout=20 -dump -listonly -nonumbers \ $url?C=M\;O=D|sed "s@$url@@"|grep [0-9]/$|head -1|sed "s@/\$@@" }