diff -ruN djbdns-1.05-00/Makefile djbdns-1.05-01/Makefile --- djbdns-1.05-00/Makefile Sun Feb 11 16:11:45 2001 +++ djbdns-1.05-01/Makefile Tue Feb 20 12:18:30 2001 @@ -37,6 +37,22 @@ compile auto_home.c ./compile auto_home.c +root_auto_home.c: \ +auto-str conf-home + ./auto-str root_auto_home `pwd`/root`head -1 conf-home` > root_auto_home.c + +root_auto_home.o: \ +compile root_auto_home.c + ./compile root_auto_home.c + +root.c: \ +auto-str conf-home + ./auto-str root `pwd`/root > root.c + +root.o: \ +compile root.c + ./compile root.c + axfr-get: \ load axfr-get.o iopause.o timeoutread.o timeoutwrite.o dns.a libtai.a \ alloc.a buffer.a unix.a byte.a @@ -515,20 +531,20 @@ ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h hier.o: \ -compile hier.c auto_home.h +compile hier.c root_auto_home.h root.h ./compile hier.c install: \ -load install.o hier.o auto_home.o buffer.a unix.a byte.a - ./load install hier.o auto_home.o buffer.a unix.a byte.a +load install.o hier.o root.o root_auto_home.o buffer.a unix.a byte.a + ./load install hier.o root.o root_auto_home.o buffer.a unix.a byte.a install.o: \ compile install.c buffer.h strerr.h error.h open.h exit.h ./compile install.c instcheck: \ -load instcheck.o hier.o auto_home.o buffer.a unix.a byte.a - ./load instcheck hier.o auto_home.o buffer.a unix.a byte.a +load instcheck.o hier.o root.o root_auto_home.o buffer.a unix.a byte.a + ./load instcheck hier.o root.o root_auto_home.o buffer.a unix.a byte.a instcheck.o: \ compile instcheck.c strerr.h error.h exit.h diff -ruN djbdns-1.05-00/hier.c djbdns-1.05-01/hier.c --- djbdns-1.05-00/hier.c Sun Feb 11 16:11:45 2001 +++ djbdns-1.05-01/hier.c Tue Feb 20 12:19:33 2001 @@ -1,42 +1,43 @@ -#include "auto_home.h" +#include "root_auto_home.h" +#include "root.h" void hier() { - c("/","etc","dnsroots.global",-1,-1,0644); + c(root,"etc","dnsroots.global",-1,-1,0644); - h(auto_home,-1,-1,02755); - d(auto_home,"bin",-1,-1,02755); + h(root_auto_home,-1,-1,02755); + d(root_auto_home,"bin",-1,-1,02755); - c(auto_home,"bin","dnscache-conf",-1,-1,0755); - c(auto_home,"bin","tinydns-conf",-1,-1,0755); - c(auto_home,"bin","walldns-conf",-1,-1,0755); - c(auto_home,"bin","rbldns-conf",-1,-1,0755); - c(auto_home,"bin","pickdns-conf",-1,-1,0755); - c(auto_home,"bin","axfrdns-conf",-1,-1,0755); - - c(auto_home,"bin","dnscache",-1,-1,0755); - c(auto_home,"bin","tinydns",-1,-1,0755); - c(auto_home,"bin","walldns",-1,-1,0755); - c(auto_home,"bin","rbldns",-1,-1,0755); - c(auto_home,"bin","pickdns",-1,-1,0755); - c(auto_home,"bin","axfrdns",-1,-1,0755); - - c(auto_home,"bin","tinydns-get",-1,-1,0755); - c(auto_home,"bin","tinydns-data",-1,-1,0755); - c(auto_home,"bin","tinydns-edit",-1,-1,0755); - c(auto_home,"bin","rbldns-data",-1,-1,0755); - c(auto_home,"bin","pickdns-data",-1,-1,0755); - c(auto_home,"bin","axfr-get",-1,-1,0755); - - c(auto_home,"bin","dnsip",-1,-1,0755); - c(auto_home,"bin","dnsipq",-1,-1,0755); - c(auto_home,"bin","dnsname",-1,-1,0755); - c(auto_home,"bin","dnstxt",-1,-1,0755); - c(auto_home,"bin","dnsmx",-1,-1,0755); - c(auto_home,"bin","dnsfilter",-1,-1,0755); - c(auto_home,"bin","random-ip",-1,-1,0755); - c(auto_home,"bin","dnsqr",-1,-1,0755); - c(auto_home,"bin","dnsq",-1,-1,0755); - c(auto_home,"bin","dnstrace",-1,-1,0755); - c(auto_home,"bin","dnstracesort",-1,-1,0755); + c(root_auto_home,"bin","dnscache-conf",-1,-1,0755); + c(root_auto_home,"bin","tinydns-conf",-1,-1,0755); + c(root_auto_home,"bin","walldns-conf",-1,-1,0755); + c(root_auto_home,"bin","rbldns-conf",-1,-1,0755); + c(root_auto_home,"bin","pickdns-conf",-1,-1,0755); + c(root_auto_home,"bin","axfrdns-conf",-1,-1,0755); + + c(root_auto_home,"bin","dnscache",-1,-1,0755); + c(root_auto_home,"bin","tinydns",-1,-1,0755); + c(root_auto_home,"bin","walldns",-1,-1,0755); + c(root_auto_home,"bin","rbldns",-1,-1,0755); + c(root_auto_home,"bin","pickdns",-1,-1,0755); + c(root_auto_home,"bin","axfrdns",-1,-1,0755); + + c(root_auto_home,"bin","tinydns-get",-1,-1,0755); + c(root_auto_home,"bin","tinydns-data",-1,-1,0755); + c(root_auto_home,"bin","tinydns-edit",-1,-1,0755); + c(root_auto_home,"bin","rbldns-data",-1,-1,0755); + c(root_auto_home,"bin","pickdns-data",-1,-1,0755); + c(root_auto_home,"bin","axfr-get",-1,-1,0755); + + c(root_auto_home,"bin","dnsip",-1,-1,0755); + c(root_auto_home,"bin","dnsipq",-1,-1,0755); + c(root_auto_home,"bin","dnsname",-1,-1,0755); + c(root_auto_home,"bin","dnstxt",-1,-1,0755); + c(root_auto_home,"bin","dnsmx",-1,-1,0755); + c(root_auto_home,"bin","dnsfilter",-1,-1,0755); + c(root_auto_home,"bin","random-ip",-1,-1,0755); + c(root_auto_home,"bin","dnsqr",-1,-1,0755); + c(root_auto_home,"bin","dnsq",-1,-1,0755); + c(root_auto_home,"bin","dnstrace",-1,-1,0755); + c(root_auto_home,"bin","dnstracesort",-1,-1,0755); } diff -ruN djbdns-1.05-00/root.h djbdns-1.05-01/root.h --- djbdns-1.05-00/root.h Wed Dec 31 19:00:00 1969 +++ djbdns-1.05-01/root.h Tue Feb 20 12:19:51 2001 @@ -0,0 +1,6 @@ +#ifndef ROOT_H +#define ROOT_H + +extern const char root[]; + +#endif diff -ruN djbdns-1.05-00/root_auto_home.h djbdns-1.05-01/root_auto_home.h --- djbdns-1.05-00/root_auto_home.h Wed Dec 31 19:00:00 1969 +++ djbdns-1.05-01/root_auto_home.h Tue Feb 20 12:19:59 2001 @@ -0,0 +1,6 @@ +#ifndef ROOT_AUTO_HOME_H +#define ROOT_AUTO_HOME_H + +extern const char root_auto_home[]; + +#endif