diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-02-24 13:36:24 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-02-24 13:36:24 +0000 |
commit | 5ebf253fbef0b4a1a0c5854fbaef62a92857adc8 (patch) | |
tree | 9614ed4b92346c2c94e64a0709dc3294073bd6fd /extra/djbdns | |
parent | fed7230b246981c1ad37a42ba6aa88714671727e (diff) | |
download | aports-5ebf253fbef0b4a1a0c5854fbaef62a92857adc8.tar.bz2 aports-5ebf253fbef0b4a1a0c5854fbaef62a92857adc8.tar.xz |
extra/tinydns: copy in root servers for dnscache and allow 127.x by default
Diffstat (limited to 'extra/djbdns')
-rw-r--r-- | extra/djbdns/APKBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/extra/djbdns/APKBUILD b/extra/djbdns/APKBUILD index 46903ebaa..4449d1d0a 100644 --- a/extra/djbdns/APKBUILD +++ b/extra/djbdns/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=djbdns pkgver=1.05 -pkgrel=21 +pkgrel=22 pkgdesc="Excellent high-performance DNS services" url="http://cr.yp.to/djbdns.html" license="public-domain" @@ -57,7 +57,13 @@ tinydns() { dnscache() { pkgdesc="A recursive resolver" install=dnscache.install - mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/etc/dnscache + mkdir -p "$subpkgdir"/usr/bin \ + "$subpkgdir"/etc/dnscache/ip \ + "$subpkgdir"/etc/dnscache/servers + + cp "$pkgdir"/etc/dnsroots.global "$subpkgdir"/etc/dnscache/servers/@ + touch "$subpkgdir"/etc/dnscache/ip/127 || return 1 + mv "$pkgdir"/usr/bin/dnscache* "$subpkgdir"/usr/bin install -D -m755 "$srcdir"/dnscache.initd \ "$subpkgdir"/etc/init.d/dnscache |