diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-12-29 16:42:54 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-12-29 16:42:54 +0000 |
commit | 7bd98f878667d3eb93ad64de725b57dd17ba1afb (patch) | |
tree | 780efe48b5c960b05adb8c80df3ca5322dbef061 /net/djbdns/patches | |
parent | 301bf607b1f9b84ea15b54ddc79628e6df8600c2 (diff) | |
download | pkgsrc-7bd98f878667d3eb93ad64de725b57dd17ba1afb.tar.gz |
Update to djbdns-1.02nb2. Changes:
* Remove accidentelly left files/patch-*
* Use bzipped ipv6.diff instead of uncompressed one.
* Put ${PREFIX} in {dnscache,axfrdns,pickdns,rbldns,tinydns,walldns}
usage
(example spoke of /${progname} directory)
* Tell dnscache to look for dnsroots.global in ${PREFIX}/etc instead
of /etc
Sent in by Tomasz Luchowski <zuntum@eik.pl> in private mail.
Diffstat (limited to 'net/djbdns/patches')
-rw-r--r-- | net/djbdns/patches/patch-aa | 13 | ||||
-rw-r--r-- | net/djbdns/patches/patch-ab | 22 |
2 files changed, 35 insertions, 0 deletions
diff --git a/net/djbdns/patches/patch-aa b/net/djbdns/patches/patch-aa new file mode 100644 index 00000000000..a9c1982f40b --- /dev/null +++ b/net/djbdns/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2000/12/29 16:42:55 hubertf Exp $ + +--- hier.c.orig Thu Dec 28 16:35:18 2000 ++++ hier.c Thu Dec 28 16:35:49 2000 +@@ -2,7 +2,7 @@ + + void hier() + { +- c("/","etc","dnsroots.global",-1,-1,0644); ++ c(auto_home,"etc","dnsroots.global",-1,-1,0644); + + h(auto_home,-1,-1,02755); + d(auto_home,"bin",-1,-1,02755); diff --git a/net/djbdns/patches/patch-ab b/net/djbdns/patches/patch-ab new file mode 100644 index 00000000000..0e13e9742b1 --- /dev/null +++ b/net/djbdns/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1 2000/12/29 16:42:55 hubertf Exp $ + +--- dnscache-conf.c.orig Thu Dec 28 16:36:17 2000 ++++ dnscache-conf.c Thu Dec 28 16:38:03 2000 +@@ -89,13 +89,13 @@ + if (chdir(auto_home) == -1) + strerr_die4sys(111,FATAL,"unable to switch to ",auto_home,": "); + +- fdrootservers = open_read("/etc/dnsroots.local"); ++ fdrootservers = open_read("etc/dnsroots.local"); + if (fdrootservers == -1) { + if (errno != error_noent) +- strerr_die2sys(111,FATAL,"unable to open /etc/dnsroots.local: "); +- fdrootservers = open_read("/etc/dnsroots.global"); ++ strerr_die4sys(111,FATAL,"unable to open ",auto_home,"/etc/dnsroots.local: "); ++ fdrootservers = open_read("etc/dnsroots.global"); + if (fdrootservers == -1) +- strerr_die2sys(111,FATAL,"unable to open /etc/dnsroots.global: "); ++ strerr_die4sys(111,FATAL,"unable to open ",auto_home,"/etc/dnsroots.global: "); + } + + init(dir,FATAL); |