extra/bind to 9.11.0.P2-1

This commit is contained in:
Kevin Mihelich 2017-01-12 13:37:29 +00:00
parent a9c4ba4869
commit a9523a26c6
2 changed files with 6 additions and 7 deletions

View file

@ -10,9 +10,9 @@
pkgbase=bind
pkgname=(bind bind-tools)
_pkgver=9.11.0-P1
_pkgver=9.11.0-P2
pkgver=${_pkgver//-/.}
pkgrel=3
pkgrel=1
url='https://www.isc.org/software/bind/'
license=('custom:ISC')
arch=('i686' 'x86_64')
@ -20,7 +20,9 @@ options=('!emptydirs' '!makeflags')
makedepends=('libcap' 'libxml2' 'zlib' 'krb5' 'e2fsprogs' 'openssl' 'readline'
'idnkit' 'geoip' 'dnssec-anchors' 'python' 'json-c' 'python-ply' 'libseccomp')
validpgpkeys=('2B48A38AE1CF9886435F89EE45AC7857189CDBC5'
'ADBE9446286C794905F1E0756FA6EBC9911A4C02') #ISC, Inc
'ADBE9446286C794905F1E0756FA6EBC9911A4C02' #ISC, Inc)
'BE0E9748B718253A28BB89FFF1B11BF05CF02E57' #Internet Systems Consortium, Inc.
)
source=("https://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz"{,.asc}
'tmpfiles.conf'
'sysusers.conf'
@ -30,7 +32,7 @@ source=("https://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz"{,.asc}
'localhost.ip6.zone'
'127.0.0.zone'
'empty.zone')
sha1sums=('e6fbbc0f0cceb58ad93e0568b86f7c0e015bbd5e'
sha1sums=('8f763b9a5f78b44f95e3baae72016b2631e17d62'
'SKIP'
'c5a2bcd9b0f009ae71f3a03fbdbe012196962a11'
'9537f4835a1f736788d0733c7996a10db2d4eee4'

View file

@ -1,7 +1,4 @@
post_install() {
systemd-sysusers bind.conf
systemd-tmpfiles --create bind.conf
# create an rndc.key if it doesn't already exist
if [[ ! -s etc/rndc.key ]]; then
rndc-confgen -r /dev/urandom -b 256 | head -n 5 >>etc/rndc.key