aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2020-02-02 15:47:03 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2020-02-02 15:47:07 +0000
commit7c86d7279fdbde511236df04d9a310e0f7ae3491 (patch)
tree16c08492f24d9c78f480b89e9008f4f7ff5680e5 /testing
parentd5b44c0199dcc5e6e233dabf861e1b9be9e3e07b (diff)
downloadaports-7c86d7279fdbde511236df04d9a310e0f7ae3491.tar.bz2
aports-7c86d7279fdbde511236df04d9a310e0f7ae3491.tar.xz
testing/geodns: move all configuration to /etc
Diffstat (limited to 'testing')
-rw-r--r--testing/geodns/APKBUILD6
-rw-r--r--testing/geodns/geodns.initd2
2 files changed, 3 insertions, 5 deletions
diff --git a/testing/geodns/APKBUILD b/testing/geodns/APKBUILD
index 7c52c0c8cd..b050f1c903 100644
--- a/testing/geodns/APKBUILD
+++ b/testing/geodns/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname="geodns"
pkgver="3.0.1"
-pkgrel=0
+pkgrel=1
pkgdesc="DNS server with per-client targeted responses"
url="https://github.com/abh/geodns"
arch="all"
@@ -34,10 +34,8 @@ check() {
package() {
install -Dm0755 "$builddir"/geodns "$pkgdir/usr/bin/geodns"
- mkdir -p "$pkgdir"/var/lib/geodns
install -Dm0644 "$builddir"/dns/geodns.conf.sample "$pkgdir"/etc/geodns/geodns.conf
- ln -s /etc/geodns/geodns.conf "$pkgdir"/var/lib/geodns/geodns.conf
install -Dm0644 "$srcdir/$pkgname.confd" "$pkgdir/etc/conf.d/$pkgname"
install -Dm0755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
@@ -48,5 +46,5 @@ logs() {
}
sha512sums="a8ed916f6203e31cd44f55ab5f150dbee5518f6cf0dc335687b11f7dd2012d33edb71aa7cf84113cbd440ba9246224e36430bb1b5381f21e5265e02cc56345f2 geodns-3.0.1.tar.gz
-bf3ea7ea066cf82f2482e243f1360a598d1f94edb14587327d46f65e6884115d234fbb5e112b32ed642a49bfcb94e02691e7dd8945d86b56aef5ce66994710c2 geodns.initd
+dc315782eb77627e2cd23a78ebef2f85a0a37a9129f6e16c817d7b9540c8b02987d35fc46882d7752c09caca825c5a77d2d3a27ae19ccccf2bba2e04bc74940c geodns.initd
ce2c7f51151313fa35f132f05cb59458eabb0a74208a79d585d579ce88d0ab168eab389fd59e931b4b19da7fcbca202bf495af345156e47dccb187b746b3ee15 geodns.confd"
diff --git a/testing/geodns/geodns.initd b/testing/geodns/geodns.initd
index 76db347062..fcae0fc47f 100644
--- a/testing/geodns/geodns.initd
+++ b/testing/geodns/geodns.initd
@@ -1,7 +1,7 @@
#!/sbin/openrc-run
command=/usr/bin/geodns
-command_args="-privatedebug -config /var/lib/geodns -logfile /var/log/geodns \
+command_args="-privatedebug -config /etc/geodns/ -logfile /var/log/geodns \
-port ${PORT-53} -http :${HTTP_PORT-8053}"
supervisor=supervise-daemon