aports/configs/unbound/APKBUILD

43 lines
1.5 KiB
Plaintext
Raw Normal View History

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-config-unbound
pkgver=2020.12.22
2020-12-22 22:14:01 +00:00
pkgrel=4
pkgdesc="Unbound configurations and some other stuff."
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
depends="alpine-baselayout unbound ca-certificates-bundle dns-root-hints dnssec-root"
subpackages="$pkgname-public $pkgname-internal"
source="
main.conf
base.conf
internal.conf
redxen-dns.conf
"
check() {
msg "Checking configuration validity"
/usr/sbin/unbound-checkconf base.conf
/usr/sbin/unbound-checkconf internal.conf
/usr/sbin/unbound-checkconf redxen-dns.conf
}
package() {
install -Dm644 main.conf "$pkgdir"/etc/unbound/main.conf
install -Dm644 base.conf "$pkgdir"/etc/unbound/base.conf
}
public() {
install -Dm644 redxen-dns.conf "$subpkgdir"/etc/unbound/redxen-dns.conf
}
internal() {
install -Dm644 internal.conf "$subpkgdir"/etc/unbound/internal.conf
}
sha512sums="1f767995d4208f94e38f98c20538d7255c70e14cf11bed2ee13837ee765b5b098e6890dacf48334a59f1fbc40ed3f5e78dacba87f9674d9e6db3c701abc862d9 main.conf
54a3f178a2d922822f7ed77a9c6f701f58bbb6b35fba4e4016ef00c6bb3a03c478d7720cffad45bbfb5b54c906c4faaa6d4da629a097238e303b7d13c7a3c2c2 base.conf
2020-12-22 22:14:01 +00:00
3f80b1a4e4e02b985133eaa2602939940a706e1629944287b67e08ed1a3b54c07f44f6e923cabd05955d643988809a2ce0a6096473de4c4dcbc476fb8e0bca7a internal.conf
646df79952adc259fcab0ea3d5c84bbbfc2bda4feaa43dbddb2ac95bf5774e16590dbd290cdaf1165cf3ca5a8e511eca3b4db97acbe6d88fdf65d7a336f2d5e6 redxen-dns.conf"