--- bind.orig/PKGBUILD 2016-09-30 17:15:05.662018386 +0200 +++ bind/PKGBUILD 2016-09-30 21:19:01.109392517 +0200 @@ -18,6 +18,7 @@ validpgpkeys=('2B48A38AE1CF9886435F89EE45AC7857189CDBC5' 'ADBE9446286C794905F1E0756FA6EBC9911A4C02') #ISC, Inc source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz"{,.asc} + 'bind-json.patch' 'tmpfiles.conf' 'sysusers.conf' 'named.conf' @@ -28,6 +29,7 @@ 'empty.zone') sha1sums=('196a3492bfe55968f8f0dbe15ee643e78a2e9ed6' 'SKIP' + 'd51f92137243b0afa218ddc114c63ae20a9ffdb5' 'c5a2bcd9b0f009ae71f3a03fbdbe012196962a11' '9537f4835a1f736788d0733c7996a10db2d4eee4' 'c017aae379c32c7cb1aa1ad84776b83e3a5c139f' @@ -42,11 +44,15 @@ # no more using source array, lack of versioning. curl -o root.hint http://www.internic.net/zones/named.root [[ -s root.hint ]] + + cd "$srcdir/bind-$_pkgver" + patch -Np1 < "$srcdir"/bind-json.patch } build() { cd bind-$_pkgver export CFLAGS+=' -DDIG_SIGCHASE' + autoconf ./configure \ --prefix=/usr \ --sysconfdir=/etc \