diff options
Diffstat (limited to 'main/bind/APKBUILD')
-rw-r--r-- | main/bind/APKBUILD | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/main/bind/APKBUILD b/main/bind/APKBUILD index ae9115b791..7226b111ea 100644 --- a/main/bind/APKBUILD +++ b/main/bind/APKBUILD @@ -33,7 +33,9 @@ makedepends=" perl " install="$pkgname.pre-install" -subpackages="$pkgname-doc $pkgname-dev $pkgname-libs $pkgname-openrc $pkgname-tools" +subpackages="$pkgname-doc $pkgname-dev $pkgname-libs $pkgname-openrc + $pkgname-dnssec-root:root_keys:noarch $pkgname-tools + " source=" https://ftp.isc.org/isc/${pkgname}${_major}/$_ver/$pkgname-$_ver.tar.gz bind.so_bsdcompat.patch @@ -142,6 +144,22 @@ package() { ln -s named.ca root.cache } +root_keys() { + local _upstream_name="dnssec-root" + local _dir="$subpkgdir/usr/share/$_upstream_name" + + pkgdesc="ISC BIND DNSSEC Root Keys" + depends="$_upstream_name" + + mkdir -p "$_dir" + cd "$_dir" + + mv "$pkgdir/etc/bind/bind.keys" bind-root-dnssec.keys + ln -s bind-root-dnssec.keys bind.keys + + ln -s "../../usr/share/$_upstream_name/bind-root-dnssec.keys" "$pkgdir/etc/bind/bind.keys" +} + tools() { pkgdesc="The ISC DNS tools" install="" |