diff --git a/srcpkgs/bind/template b/srcpkgs/bind/template index c4c25b8a78..d62a45fe5e 100644 --- a/srcpkgs/bind/template +++ b/srcpkgs/bind/template @@ -1,22 +1,24 @@ # Template file for 'bind' pkgname=bind -version=9.9.4 +_distver=9.9.4 +_patchver=P2 +version=${_distver}${_patchver} +wrksrc=${pkgname}-${_distver}-${_patchver} revision=1 short_desc="Berkeley Internet Name Domain server" maintainer="Juan RP " license="ISC" homepage="http://www.isc.org/software/bind/" -distfiles="http://ftp.isc.org/isc/bind9/${version}/bind-${version}.tar.gz" -checksum=fe0f16653382e428b10282ce9850722d19589d66f2b45a528e98be3153f654c8 +distfiles="http://ftp.isc.org/isc/bind9/${_distver}-${_patchver}/bind-${_distver}-${_patchver}.tar.gz" +checksum=50f3c6431e26d3f322b69092a49c92e163e73029fe4a1933ce532dc97ec40a89 long_desc=" BIND is by far the most widely used DNS software on the Internet. It provides a robust and stable platform on top of which organizations can build distributed computing systems with the knowledge that those systems are fully compliant with published DNS standards." -hostmakedepends="automake libtool perl" -makedepends="openssl-devel mit-krb5-devel libxml2-devel - libcap-devel readline-devel" +hostmakedepends="automake libtool perl libxml2-devel" +makedepends="openssl-devel mit-krb5-devel libxml2-devel libcap-devel readline-devel shadow" depends="shadow" systemd_services="named.service true" conf_files="/etc/named/named.conf" @@ -26,10 +28,6 @@ named_homedir="/var/named" named_shell="/bin/false" make_dirs="/var/named 0770 root named" -if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" libxml2-devel" -fi - pre_configure() { # disable bin tests for now. sed -e "s,tests,,g" -i bin/Makefile.in