1 |
slords |
1.1 |
diff -ruN djbdns-1.05-00/Makefile djbdns-1.05-01/Makefile |
2 |
|
|
--- djbdns-1.05-00/Makefile Sun Feb 11 16:11:45 2001 |
3 |
|
|
+++ djbdns-1.05-01/Makefile Tue Feb 20 12:18:30 2001 |
4 |
|
|
@@ -37,6 +37,22 @@ |
5 |
|
|
compile auto_home.c |
6 |
|
|
./compile auto_home.c |
7 |
|
|
|
8 |
|
|
+root_auto_home.c: \ |
9 |
|
|
+auto-str conf-home |
10 |
|
|
+ ./auto-str root_auto_home `pwd`/root`head -1 conf-home` > root_auto_home.c |
11 |
|
|
+ |
12 |
|
|
+root_auto_home.o: \ |
13 |
|
|
+compile root_auto_home.c |
14 |
|
|
+ ./compile root_auto_home.c |
15 |
|
|
+ |
16 |
|
|
+root.c: \ |
17 |
|
|
+auto-str conf-home |
18 |
|
|
+ ./auto-str root `pwd`/root > root.c |
19 |
|
|
+ |
20 |
|
|
+root.o: \ |
21 |
|
|
+compile root.c |
22 |
|
|
+ ./compile root.c |
23 |
|
|
+ |
24 |
|
|
axfr-get: \ |
25 |
|
|
load axfr-get.o iopause.o timeoutread.o timeoutwrite.o dns.a libtai.a \ |
26 |
|
|
alloc.a buffer.a unix.a byte.a |
27 |
|
|
@@ -515,20 +531,20 @@ |
28 |
|
|
./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h |
29 |
|
|
|
30 |
|
|
hier.o: \ |
31 |
|
|
-compile hier.c auto_home.h |
32 |
|
|
+compile hier.c root_auto_home.h root.h |
33 |
|
|
./compile hier.c |
34 |
|
|
|
35 |
|
|
install: \ |
36 |
|
|
-load install.o hier.o auto_home.o buffer.a unix.a byte.a |
37 |
|
|
- ./load install hier.o auto_home.o buffer.a unix.a byte.a |
38 |
|
|
+load install.o hier.o root.o root_auto_home.o buffer.a unix.a byte.a |
39 |
|
|
+ ./load install hier.o root.o root_auto_home.o buffer.a unix.a byte.a |
40 |
|
|
|
41 |
|
|
install.o: \ |
42 |
|
|
compile install.c buffer.h strerr.h error.h open.h exit.h |
43 |
|
|
./compile install.c |
44 |
|
|
|
45 |
|
|
instcheck: \ |
46 |
|
|
-load instcheck.o hier.o auto_home.o buffer.a unix.a byte.a |
47 |
|
|
- ./load instcheck hier.o auto_home.o buffer.a unix.a byte.a |
48 |
|
|
+load instcheck.o hier.o root.o root_auto_home.o buffer.a unix.a byte.a |
49 |
|
|
+ ./load instcheck hier.o root.o root_auto_home.o buffer.a unix.a byte.a |
50 |
|
|
|
51 |
|
|
instcheck.o: \ |
52 |
|
|
compile instcheck.c strerr.h error.h exit.h |
53 |
|
|
diff -ruN djbdns-1.05-00/hier.c djbdns-1.05-01/hier.c |
54 |
|
|
--- djbdns-1.05-00/hier.c Sun Feb 11 16:11:45 2001 |
55 |
|
|
+++ djbdns-1.05-01/hier.c Tue Feb 20 12:19:33 2001 |
56 |
|
|
@@ -1,42 +1,43 @@ |
57 |
|
|
-#include "auto_home.h" |
58 |
|
|
+#include "root_auto_home.h" |
59 |
|
|
+#include "root.h" |
60 |
|
|
|
61 |
|
|
void hier() |
62 |
|
|
{ |
63 |
|
|
- c("/","etc","dnsroots.global",-1,-1,0644); |
64 |
|
|
+ c(root,"etc","dnsroots.global",-1,-1,0644); |
65 |
|
|
|
66 |
|
|
- h(auto_home,-1,-1,02755); |
67 |
|
|
- d(auto_home,"bin",-1,-1,02755); |
68 |
|
|
+ h(root_auto_home,-1,-1,02755); |
69 |
|
|
+ d(root_auto_home,"bin",-1,-1,02755); |
70 |
|
|
|
71 |
|
|
- c(auto_home,"bin","dnscache-conf",-1,-1,0755); |
72 |
|
|
- c(auto_home,"bin","tinydns-conf",-1,-1,0755); |
73 |
|
|
- c(auto_home,"bin","walldns-conf",-1,-1,0755); |
74 |
|
|
- c(auto_home,"bin","rbldns-conf",-1,-1,0755); |
75 |
|
|
- c(auto_home,"bin","pickdns-conf",-1,-1,0755); |
76 |
|
|
- c(auto_home,"bin","axfrdns-conf",-1,-1,0755); |
77 |
|
|
- |
78 |
|
|
- c(auto_home,"bin","dnscache",-1,-1,0755); |
79 |
|
|
- c(auto_home,"bin","tinydns",-1,-1,0755); |
80 |
|
|
- c(auto_home,"bin","walldns",-1,-1,0755); |
81 |
|
|
- c(auto_home,"bin","rbldns",-1,-1,0755); |
82 |
|
|
- c(auto_home,"bin","pickdns",-1,-1,0755); |
83 |
|
|
- c(auto_home,"bin","axfrdns",-1,-1,0755); |
84 |
|
|
- |
85 |
|
|
- c(auto_home,"bin","tinydns-get",-1,-1,0755); |
86 |
|
|
- c(auto_home,"bin","tinydns-data",-1,-1,0755); |
87 |
|
|
- c(auto_home,"bin","tinydns-edit",-1,-1,0755); |
88 |
|
|
- c(auto_home,"bin","rbldns-data",-1,-1,0755); |
89 |
|
|
- c(auto_home,"bin","pickdns-data",-1,-1,0755); |
90 |
|
|
- c(auto_home,"bin","axfr-get",-1,-1,0755); |
91 |
|
|
- |
92 |
|
|
- c(auto_home,"bin","dnsip",-1,-1,0755); |
93 |
|
|
- c(auto_home,"bin","dnsipq",-1,-1,0755); |
94 |
|
|
- c(auto_home,"bin","dnsname",-1,-1,0755); |
95 |
|
|
- c(auto_home,"bin","dnstxt",-1,-1,0755); |
96 |
|
|
- c(auto_home,"bin","dnsmx",-1,-1,0755); |
97 |
|
|
- c(auto_home,"bin","dnsfilter",-1,-1,0755); |
98 |
|
|
- c(auto_home,"bin","random-ip",-1,-1,0755); |
99 |
|
|
- c(auto_home,"bin","dnsqr",-1,-1,0755); |
100 |
|
|
- c(auto_home,"bin","dnsq",-1,-1,0755); |
101 |
|
|
- c(auto_home,"bin","dnstrace",-1,-1,0755); |
102 |
|
|
- c(auto_home,"bin","dnstracesort",-1,-1,0755); |
103 |
|
|
+ c(root_auto_home,"bin","dnscache-conf",-1,-1,0755); |
104 |
|
|
+ c(root_auto_home,"bin","tinydns-conf",-1,-1,0755); |
105 |
|
|
+ c(root_auto_home,"bin","walldns-conf",-1,-1,0755); |
106 |
|
|
+ c(root_auto_home,"bin","rbldns-conf",-1,-1,0755); |
107 |
|
|
+ c(root_auto_home,"bin","pickdns-conf",-1,-1,0755); |
108 |
|
|
+ c(root_auto_home,"bin","axfrdns-conf",-1,-1,0755); |
109 |
|
|
+ |
110 |
|
|
+ c(root_auto_home,"bin","dnscache",-1,-1,0755); |
111 |
|
|
+ c(root_auto_home,"bin","tinydns",-1,-1,0755); |
112 |
|
|
+ c(root_auto_home,"bin","walldns",-1,-1,0755); |
113 |
|
|
+ c(root_auto_home,"bin","rbldns",-1,-1,0755); |
114 |
|
|
+ c(root_auto_home,"bin","pickdns",-1,-1,0755); |
115 |
|
|
+ c(root_auto_home,"bin","axfrdns",-1,-1,0755); |
116 |
|
|
+ |
117 |
|
|
+ c(root_auto_home,"bin","tinydns-get",-1,-1,0755); |
118 |
|
|
+ c(root_auto_home,"bin","tinydns-data",-1,-1,0755); |
119 |
|
|
+ c(root_auto_home,"bin","tinydns-edit",-1,-1,0755); |
120 |
|
|
+ c(root_auto_home,"bin","rbldns-data",-1,-1,0755); |
121 |
|
|
+ c(root_auto_home,"bin","pickdns-data",-1,-1,0755); |
122 |
|
|
+ c(root_auto_home,"bin","axfr-get",-1,-1,0755); |
123 |
|
|
+ |
124 |
|
|
+ c(root_auto_home,"bin","dnsip",-1,-1,0755); |
125 |
|
|
+ c(root_auto_home,"bin","dnsipq",-1,-1,0755); |
126 |
|
|
+ c(root_auto_home,"bin","dnsname",-1,-1,0755); |
127 |
|
|
+ c(root_auto_home,"bin","dnstxt",-1,-1,0755); |
128 |
|
|
+ c(root_auto_home,"bin","dnsmx",-1,-1,0755); |
129 |
|
|
+ c(root_auto_home,"bin","dnsfilter",-1,-1,0755); |
130 |
|
|
+ c(root_auto_home,"bin","random-ip",-1,-1,0755); |
131 |
|
|
+ c(root_auto_home,"bin","dnsqr",-1,-1,0755); |
132 |
|
|
+ c(root_auto_home,"bin","dnsq",-1,-1,0755); |
133 |
|
|
+ c(root_auto_home,"bin","dnstrace",-1,-1,0755); |
134 |
|
|
+ c(root_auto_home,"bin","dnstracesort",-1,-1,0755); |
135 |
|
|
} |
136 |
|
|
diff -ruN djbdns-1.05-00/root.h djbdns-1.05-01/root.h |
137 |
|
|
--- djbdns-1.05-00/root.h Wed Dec 31 19:00:00 1969 |
138 |
|
|
+++ djbdns-1.05-01/root.h Tue Feb 20 12:19:51 2001 |
139 |
|
|
@@ -0,0 +1,6 @@ |
140 |
|
|
+#ifndef ROOT_H |
141 |
|
|
+#define ROOT_H |
142 |
|
|
+ |
143 |
|
|
+extern const char root[]; |
144 |
|
|
+ |
145 |
|
|
+#endif |
146 |
|
|
diff -ruN djbdns-1.05-00/root_auto_home.h djbdns-1.05-01/root_auto_home.h |
147 |
|
|
--- djbdns-1.05-00/root_auto_home.h Wed Dec 31 19:00:00 1969 |
148 |
|
|
+++ djbdns-1.05-01/root_auto_home.h Tue Feb 20 12:19:59 2001 |
149 |
|
|
@@ -0,0 +1,6 @@ |
150 |
|
|
+#ifndef ROOT_AUTO_HOME_H |
151 |
|
|
+#define ROOT_AUTO_HOME_H |
152 |
|
|
+ |
153 |
|
|
+extern const char root_auto_home[]; |
154 |
|
|
+ |
155 |
|
|
+#endif |