diff options
author | tcely <tcely@users.noreply.github.com> | 2019-04-04 14:18:51 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-04-08 17:24:49 +0000 |
commit | 86587d7b8f2b2dc7f3808079e26c7390d28cb932 (patch) | |
tree | 9c86a6626d0dec8f8b93bf3b9cb11f830869d62b /main/bind/APKBUILD | |
parent | 4badc1aa803f5dd0f67d2df3004acc3f990ba23f (diff) | |
download | aports-86587d7b8f2b2dc7f3808079e26c7390d28cb932.tar.bz2 aports-86587d7b8f2b2dc7f3808079e26c7390d28cb932.tar.xz |
main/bind: add and use -dnssec-root subpackage
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="" |