aboutsummaryrefslogtreecommitdiffstats
path: root/community/pdns-recursor/APKBUILD
diff options
context:
space:
mode:
authortcely <tcely@users.noreply.github.com>2019-04-08 23:10:12 -0400
committerKevin Daudt <kdaudt@alpinelinux.org>2019-04-11 05:10:52 +0000
commit161d72857f18c24dbd21696bdb03b428a6410d6f (patch)
tree61e87eb0172950e68eb3c3920455826b62496abc /community/pdns-recursor/APKBUILD
parent520a04ababb50226765a0137ac61fddc427ebc01 (diff)
downloadaports-161d72857f18c24dbd21696bdb03b428a6410d6f.tar.gz
aports-161d72857f18c24dbd21696bdb03b428a6410d6f.tar.bz2
aports-161d72857f18c24dbd21696bdb03b428a6410d6f.tar.xz
community/pdns-recursor: use dns-root-hints
Diffstat (limited to 'community/pdns-recursor/APKBUILD')
-rw-r--r--community/pdns-recursor/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/pdns-recursor/APKBUILD b/community/pdns-recursor/APKBUILD
index d3d735b3aa..c8c490caf3 100644
--- a/community/pdns-recursor/APKBUILD
+++ b/community/pdns-recursor/APKBUILD
@@ -2,13 +2,13 @@
# Maintainer: tcely <pdns-recursor+aports@tcely.33mail.com>
pkgname=pdns-recursor
pkgver=4.1.12
-pkgrel=0
+pkgrel=1
pkgdesc="PowerDNS Recursive Server"
url="https://www.powerdns.com/"
# s390x: missing boost-context
arch="all !s390x"
license="GPL-2.0-or-later"
-depends=""
+depends="dns-root-hints"
depends_dev=""
makedepends="$depends_dev boost-dev openssl-dev libsodium-dev lua-dev net-snmp-dev protobuf-dev"
install="$pkgname.pre-install"
@@ -66,10 +66,13 @@ package() {
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname
- install -m600 -D "$srcdir"/recursor.conf \
- "$pkgdir"/etc/pdns/recursor.conf
+ install -m600 -D "$srcdir/recursor.conf" \
+ "$pkgdir/etc/pdns/recursor.conf"
+ chown recursor:recursor "$pkgdir/etc/pdns/recursor.conf"
+
+ ln -s ../../usr/share/dns-root-hints/named.root "$pkgdir/etc/pdns/root.hints"
}
sha512sums="d228976937ede7e9f6b3375e573f5b436d9df7ae246e411b13acb095a1a58f12173b663acc364ce0fbdcc61b3d5522e101472a88da8f044e44541564f9915d9e pdns-recursor-4.1.12.tar.bz2
6eea64828a363a8f36a694da4ab08f48482a096572e5597e3182bbf5f4e7c0114d9b643c7ea5060ae46b50b05c6ebbace2fedd44dc6309b641fd638d44db879e pdns-recursor.initd
-954df537693a202fc195e751011bbfaa605b3f3df42ac386fa82eb809b73c2b987f5e418b5c96bb3b0669497426ce0daa39a719844701e06990b82843a4cf0d4 recursor.conf"
+9dde9e478bf3014cb0efe18c371d51225a39e9e7bf8c4ab327903d27c9b3f0aa5fbf951f465e161ff37b9b3e75bc8588f77e14169696192440c7c1afab88cf7f recursor.conf"