aboutsummaryrefslogtreecommitdiffstats
path: root/main/bind/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/bind/APKBUILD')
-rw-r--r--main/bind/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/main/bind/APKBUILD b/main/bind/APKBUILD
index 9a949a1421..ae9115b791 100644
--- a/main/bind/APKBUILD
+++ b/main/bind/APKBUILD
@@ -8,7 +8,7 @@ _ver=${pkgver%_p*}
_p=${pkgver#*_p}
_major=${pkgver%%.*}
[ "$_p" != "$pkgver" ] && _ver="${_ver}-P$_p"
-pkgrel=0
+pkgrel=1
pkgdesc="The ISC DNS server"
url="http://www.isc.org"
arch="all"
@@ -19,6 +19,7 @@ options="!check"
license="MIT BSD"
pkgusers="named"
pkggroups="named"
+depends="dns-root-hints"
makedepends="
bash
bsd-compat-headers
@@ -42,7 +43,6 @@ source="
named.conf.recursive
127.zone
localhost.zone
- named.ca
"
builddir="$srcdir/$pkgname-$_ver"
@@ -132,14 +132,13 @@ package() {
"$pkgdir"/etc/bind/named.conf.authoritative
install -Dm644 "$srcdir"/named.conf.recursive \
"$pkgdir"/etc/bind/named.conf.recursive
- install -Dm644 "$srcdir"/named.ca \
- "$pkgdir"/var/bind/named.ca
install -Dm644 "$srcdir"/127.zone \
"$pkgdir"/var/bind/pri/127.zone
install -Dm644 "$srcdir"/localhost.zone \
"$pkgdir"/var/bind/pri/localhost.zone
cd "$pkgdir"/var/bind
+ ln -s ../../usr/share/dns-root-hints/named.root named.ca
ln -s named.ca root.cache
}
@@ -166,5 +165,4 @@ sha512sums="c1c91de88e4297e79b527775edd525c6fa948f169977563ab2e6ca93cac7317f8ca8
d2f61d02d7829af51faf14fbe2bafe8bc90087e6b6697c6275a269ebbddcaa14a234fff5c41da793e945e8ff1de3de0858a40334e0d24289eab98df4bb721ac5 named.conf.authoritative
3aba9763cfaf0880a89fd01202f41406b465547296ce91373eb999ea7719040bc1ac4e47b0de025a8060f693d3d88774a20d09a43fa7ac6aa43989b58b5ee8fe named.conf.recursive
eed9886717539399518e011ae5eae6335aed4fae019e1def088c5be26bdc896c99c07adf84ee61babafa31d31ff3b028263d1c88d2eee17ecf4c95a9d77d524c 127.zone
-340e86472a2c2746fe585c0aa5f079d3a9b46e828c1f53d48026533a169b7f77ded7d0a13d291d6962607bb9481456e6fa69df1834603e7555332615fb998f0b localhost.zone
-5a31dee3d3c4bd814b9a1f2c74b7b8473f294095a147d55108454f0757935d148afb9d51511435c73bdf4aa56ad5d3817cba0500eef89032bae8388a6707a088 named.ca"
+340e86472a2c2746fe585c0aa5f079d3a9b46e828c1f53d48026533a169b7f77ded7d0a13d291d6962607bb9481456e6fa69df1834603e7555332615fb998f0b localhost.zone"