1 |
slords |
1.7 |
# $Id$ |
2 |
|
|
|
3 |
slords |
1.1 |
Summary: e-smith module to configure dnscache |
4 |
|
|
%define name e-smith-dnscache |
5 |
|
|
Name: %{name} |
6 |
slords |
1.7 |
%define version 2.2.0 |
7 |
|
|
%define release 1 |
8 |
slords |
1.1 |
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: System Environment/Base |
12 |
|
|
Source: %{name}-%{version}.tar.gz |
13 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
|
|
BuildArchitectures: noarch |
15 |
|
|
Requires: e-smith-lib >= 1.15.1-19 |
16 |
|
|
Requires: djbdns |
17 |
|
|
BuildRequires: e-smith-devtools |
18 |
|
|
AutoReqProv: no |
19 |
|
|
|
20 |
|
|
%description |
21 |
|
|
e-smith server enhancement to configure and run dnscache as a |
22 |
|
|
caching nameserver |
23 |
|
|
|
24 |
|
|
%changelog |
25 |
slords |
1.7 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
26 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
27 |
|
|
|
28 |
bytegw |
1.6 |
* Fri Aug 08 2008 Charlie Brady <charlie_brady@mitel.com> 1.0.0-13 |
29 |
|
|
- Add down file for dnscache.forwarder, and modify dnscache run file |
30 |
|
|
so that it brings up the dnscache.forwarder service when it |
31 |
|
|
is started. [SME: 4414] |
32 |
|
|
|
33 |
bytegw |
1.5 |
* Fri Aug 08 2008 Charlie Brady <charlie_brady@mitel.com> 1.0.0-12 |
34 |
|
|
- Ensure that forwarding instance of dnscache has random data |
35 |
|
|
available on stdin. [SME: 4416] |
36 |
|
|
|
37 |
bytegw |
1.4 |
* Wed Jun 18 2008 Charlie Brady <charlie_brady@mitel.com> 1.0.0-11 |
38 |
|
|
- Use new address for L root server, and delete included version of |
39 |
|
|
root/servers/@ file, since we template it. [SME: 4414] |
40 |
|
|
|
41 |
|
|
* Wed Jun 18 2008 Charlie Brady <charlie_brady@mitel.com> 1.0.0-10 |
42 |
|
|
- Fix validation of NameServer properties pulled from networks db. |
43 |
|
|
[SME: 1343] |
44 |
|
|
|
45 |
|
|
* Wed Jun 18 2008 Charlie Brady <charlie_brady@mitel.com> 1.0.0-9 |
46 |
|
|
- Fix delegation of reverse lookup for nets which aren't /8, |
47 |
|
|
/16 or /24. [SME: 4249] |
48 |
|
|
|
49 |
slords |
1.3 |
* Tue Oct 16 2007 Charlie Brady <charlie_brady@mitel.com> 1.0.0-08 |
50 |
|
|
- Increase default CacheSize to 10M, with corresponding increase |
51 |
|
|
in DataSize. [SME: 2371] |
52 |
|
|
|
53 |
slords |
1.2 |
* Thu Sep 6 2007 Charlie Brady <charlie_brady@mitel.com> 1.0.0-07 |
54 |
|
|
- Run dnscache with sigpipe ignored. [SME: 938] |
55 |
|
|
|
56 |
slords |
1.1 |
* Mon May 21 2007 Shad L. Lords <slords@mail.com> 1.0.0-6 |
57 |
|
|
- Ensure Forwarder has value and not just defined [SME: 3013] |
58 |
|
|
|
59 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
60 |
|
|
- Clean up spec so package can be built by koji/plague |
61 |
|
|
|
62 |
|
|
* Fri Apr 06 2007 Shad L. Lords <slords@mail.com> 1.0.0-5 |
63 |
|
|
- Fix dnscache root server files [SME: 2721] |
64 |
|
|
|
65 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
66 |
|
|
- Update to new release naming. No functional changes. |
67 |
|
|
- Make Packager generic |
68 |
|
|
|
69 |
|
|
* Sun Jul 16 2006 Charlie Brady <charlie_brady@mitel.com> 1.0.0-03 |
70 |
|
|
- Make dnslog user creation consistent with e-smith-tinydns. [SME: 1688] |
71 |
|
|
|
72 |
|
|
* Sun Apr 30 2006 Charlie Brady <charlie_brady@mitel.com> 1.0.0-02 |
73 |
|
|
- Don't use NameServer property from networks database if it would |
74 |
|
|
cause feedback loop. [SME: 1343] |
75 |
|
|
|
76 |
|
|
* Thu Mar 16 2006 Charlie Brady <charlie_brady@mitel.com> 1.0.0-01 |
77 |
|
|
- Roll (proper) stable stream version. [SME: 1016] |
78 |
|
|
|
79 |
|
|
* Tue Mar 14 2006 Charlie Brady <charlie_brady@mitel.com> 0.6.0-01 |
80 |
|
|
- Roll stable stream version. [SME: 1016] |
81 |
|
|
|
82 |
|
|
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 0.5.1-06 |
83 |
|
|
- Bump release number only |
84 |
|
|
|
85 |
|
|
* Thu Oct 27 2005 Charlie Brady <charlieb@e-smith.com> |
86 |
|
|
- [0.5.1-05] |
87 |
|
|
- Add default name server delegation for domains without a Nameservers property. |
88 |
|
|
[SF: 1339875] |
89 |
|
|
|
90 |
|
|
* Mon Sep 19 2005 Charlie Brady <charlieb@e-smith.com> |
91 |
|
|
- [0.5.1-04] |
92 |
|
|
- Add missing dnscache.forwarder config db record. [SF: 1290325] |
93 |
|
|
|
94 |
|
|
* Thu Sep 15 2005 Charlie Brady <charlieb@e-smith.com> |
95 |
|
|
- [0.5.1-03] |
96 |
|
|
- Expand templates and restart dnscache.forwarder in dns-update and console-save |
97 |
|
|
events. Expand templates in bootstrap-console-save rather than |
98 |
|
|
post-{install,upgrade} events. [SF: 1290325] |
99 |
|
|
- Add support for Forwarder2 property in template for root/servers/@ of |
100 |
|
|
dnscache.forwarder service. |
101 |
|
|
|
102 |
|
|
* Thu Aug 25 2005 Gordon Rowell <gordonr@gormand.com.au> |
103 |
|
|
- [0.5.1-02] |
104 |
|
|
- Configure DNS servers for domains, depending on Nameservers |
105 |
|
|
property: |
106 |
|
|
- localhost: 127.0.0.1 |
107 |
|
|
- corporate: dnscache{Forwarder}, dnscache{Forwarder2} |
108 |
|
|
- internet: <nothing> |
109 |
|
|
- Comma separated list of IPs : To those listed servers |
110 |
|
|
- Add dns-update event and reconfigure dnscache there |
111 |
|
|
- Call initialise-default-databases in dns-update to cater for |
112 |
|
|
domain db migration which might be required due to modification |
113 |
|
|
of the Corporate DNS Servers |
114 |
|
|
- Migrate db and reconfigure dnscache in domain-modify as well, |
115 |
|
|
since we might have changed nameservers. |
116 |
|
|
|
117 |
|
|
* Thu Aug 25 2005 Charlie Brady <charlieb@e-smith.com> |
118 |
|
|
- [0.5.1-01] |
119 |
|
|
- Roll new development stream prior to reworking Nameservers settings - 0.5.1 |
120 |
|
|
|
121 |
|
|
* Tue Aug 2 2005 Shad Lords <slords@email.com> |
122 |
|
|
- [0.5.0-23] |
123 |
|
|
- Add TCPPort/UDPPort/access properties to dnscache [SF: 1246986] |
124 |
|
|
- Add COPYING file to distribution |
125 |
|
|
|
126 |
|
|
* Wed Jul 6 2005 Charlie Brady <charlieb@e-smith.com> |
127 |
|
|
- [0.5.0-22] |
128 |
|
|
- Only delegate domains if SystemPrimaryDomain or if NameServer |
129 |
|
|
property is defined. [SF: 1233662] |
130 |
|
|
|
131 |
|
|
* Mon Jun 6 2005 Charlie Brady <charlieb@e-smith.com> |
132 |
|
|
- [0.5.0-21] |
133 |
|
|
- Add dnscache log file analysis script |
134 |
|
|
(from http://www.hungry.com/~fn/dnscache-log.pl.txt). |
135 |
|
|
|
136 |
|
|
* Mon Jun 6 2005 Charlie Brady <charlieb@e-smith.com> |
137 |
|
|
- [0.5.0-20] |
138 |
|
|
- Update ICANN root hint name server address list |
139 |
|
|
(s/128.9.0.107/192.228.79.201/). The 128.9.0.107 address will continue |
140 |
|
|
answering queries until Jan, 2006. |
141 |
|
|
|
142 |
|
|
* Fri May 13 2005 Charlie Brady <charlieb@e-smith.com> |
143 |
|
|
- [0.5.0-19] |
144 |
|
|
- Fix forwarder run script so that logs are captured. |
145 |
|
|
|
146 |
|
|
* Mon May 9 2005 Charlie Brady <charlieb@e-smith.com> |
147 |
|
|
- [0.5.0-18] |
148 |
|
|
- Expand dnscache.forwarder service's config in post-install and post-upgrade. |
149 |
|
|
|
150 |
|
|
* Thu May 5 2005 Charlie Brady <charlieb@e-smith.com> |
151 |
|
|
- [0.5.0-17] |
152 |
|
|
- Fix problem with migration of legacy Forwarder properties (type |
153 |
|
|
not specified). |
154 |
|
|
|
155 |
|
|
* Tue Apr 26 2005 Charlie Brady <charlieb@e-smith.com> |
156 |
|
|
- [0.5.0-16] |
157 |
|
|
- Really fix creation of root/ip/127 access list file (i.e. put it |
158 |
|
|
in the correct place). |
159 |
|
|
|
160 |
|
|
* Tue Apr 26 2005 Charlie Brady <charlieb@e-smith.com> |
161 |
|
|
- [0.5.0-15] |
162 |
|
|
- Fix creation of ip/127 access list file. |
163 |
|
|
|
164 |
|
|
* Wed Apr 20 2005 Charlie Brady <charlieb@e-smith.com> |
165 |
|
|
- [0.5.0-14] |
166 |
|
|
- Create ip/127 access allow file for dnscache.forwarder service. |
167 |
|
|
|
168 |
|
|
* Wed Apr 20 2005 Charlie Brady <charlieb@e-smith.com> |
169 |
|
|
- [0.5.0-13] |
170 |
|
|
- Adding missing execute permission on new run scripts. |
171 |
|
|
- Fix errors in config template for forwarding dnscache. |
172 |
|
|
|
173 |
|
|
* Wed Apr 20 2005 Charlie Brady <charlieb@e-smith.com> |
174 |
|
|
- [0.5.0-12] |
175 |
|
|
- Add missing /service symlink from previous change. |
176 |
|
|
|
177 |
|
|
* Wed Apr 20 2005 Charlie Brady <charlieb@e-smith.com> |
178 |
|
|
- [0.5.0-11] |
179 |
|
|
- Add missing file tree from previous change. |
180 |
|
|
|
181 |
|
|
* Wed Apr 20 2005 Charlie Brady <charlieb@e-smith.com> |
182 |
|
|
- [0.5.0-10] |
183 |
|
|
- Add second dnscache instance which does all Internet queries. |
184 |
|
|
We run the first instance with a small cache, which we |
185 |
|
|
can happily lose whenever we might have changed any delegations. |
186 |
|
|
|
187 |
|
|
* Mon Apr 11 2005 Charlie Brady <charlieb@e-smith.com> |
188 |
|
|
- [0.5.0-09] |
189 |
|
|
- Fix bug in delegation of local networks with NameServer |
190 |
|
|
property. |
191 |
|
|
- Fix bug in access list configuration. |
192 |
|
|
|
193 |
|
|
* Tue Apr 5 2005 Charlie Brady <charlieb@e-smith.com> |
194 |
|
|
- [0.5.0-08] |
195 |
|
|
- Avoid chdir in run script. |
196 |
|
|
- Allow delegation to an alternative listen address for tinydns. |
197 |
|
|
- Avoid unnecessary delegation for 127.in-addr.arpa. |
198 |
|
|
|
199 |
|
|
* Wed Mar 30 2005 Charlie Brady <charlieb@e-smith.com> |
200 |
|
|
- [0.5.0-07] |
201 |
|
|
- Fix pathname to root/servers/@ file in createlinks. |
202 |
|
|
|
203 |
|
|
* Wed Mar 30 2005 Charlie Brady <charlieb@e-smith.com> |
204 |
|
|
- [0.5.0-06] |
205 |
|
|
- Fix a few deficiencies with new perl run script. |
206 |
|
|
|
207 |
|
|
* Wed Mar 30 2005 Charlie Brady <charlieb@e-smith.com> |
208 |
|
|
- [0.5.0-05] |
209 |
|
|
- Use perl run script which does all env setup, access control and zone |
210 |
|
|
delegation without any templates. |
211 |
|
|
|
212 |
|
|
* Wed Mar 30 2005 Charlie Brady <charlieb@e-smith.com> |
213 |
|
|
- [0.5.0-04] |
214 |
|
|
- Fix delegation of reverse lookup of local network. [MN00062867] |
215 |
|
|
- Use generic_template_expand and adjust-services actions in place of |
216 |
|
|
dnscache-conf. Update e-smith-lib dependency. [MN00064130, MN00065576] |
217 |
|
|
- Update genfilelist call and move to install section. |
218 |
|
|
|
219 |
|
|
* Wed Feb 23 2005 Charlie Brady <charlieb@e-smith.com> |
220 |
|
|
- [0.5.0-03] |
221 |
|
|
- Don't run dnscache-conf at post-install, when $LocalIP is undefined. |
222 |
|
|
[MN00065717] |
223 |
|
|
|
224 |
|
|
* Tue Feb 22 2005 Charlie Brady <charlieb@e-smith.com> |
225 |
|
|
- [0.5.0-02] |
226 |
|
|
- Remove any left-behind env/FORWARDONLY file in post scriptlet, so we can |
227 |
|
|
later simplify config. [charlieb MN00045628] |
228 |
|
|
- Don't attempt to configure dnscache in post-install and post-upgrade. |
229 |
|
|
[MN00065717] |
230 |
|
|
- Only delegate reverse name lookup when we know of a suitable |
231 |
|
|
name server. [MN00062867] |
232 |
|
|
|
233 |
|
|
* Fri Jan 21 2005 Charlie Brady <charlieb@e-smith.com> |
234 |
|
|
- [0.5.0-01] |
235 |
|
|
- Changing version to development stream number - 0.5.0 |
236 |
|
|
|
237 |
|
|
* Tue Jan 4 2005 Michael Soulier <msoulier@e-smith.com> |
238 |
|
|
- [0.4.0-01] |
239 |
|
|
- rolling to stable - 0.4.0 |
240 |
|
|
|
241 |
|
|
* Thu Oct 21 2004 Charlie Brady <charlieb@e-smith.com> |
242 |
|
|
- [0.3.0-04] |
243 |
|
|
- Be sure to remove any left-behind env/FORWARDONLY file. [charlieb MN00045628] |
244 |
|
|
|
245 |
|
|
* Thu Aug 26 2004 Michael Soulier <msoulier@e-smith.com> |
246 |
|
|
- [0.3.0-03] |
247 |
|
|
- Updated dnscache-conf for last change. [msoulier MN00045628] |
248 |
|
|
|
249 |
|
|
* Thu Aug 26 2004 Michael Soulier <msoulier@e-smith.com> |
250 |
|
|
- [0.3.0-02] |
251 |
|
|
- Updated to handle FORWARDONLY env var properly, to prevent unwanted requests |
252 |
|
|
for recursion. [msoulier MN00045628] |
253 |
|
|
|
254 |
|
|
* Thu Aug 26 2004 Michael Soulier <msoulier@e-smith.com> |
255 |
|
|
- [0.3.0-01] |
256 |
|
|
- rolling to dev - 0.3.0 |
257 |
|
|
|
258 |
|
|
* Wed Aug 27 2003 Michael Soulier <msoulier@e-smith.com> |
259 |
|
|
- [0.2.0-05] |
260 |
|
|
- Updated the shutdown ordering, and added runlevel 1. [msoulier 9761] |
261 |
|
|
|
262 |
|
|
* Mon Aug 25 2003 Michael Soulier <msoulier@e-smith.com> |
263 |
|
|
- [0.2.0-04] |
264 |
|
|
- Moved the rc7 symlink creation to createlinks. [msoulier 9761] |
265 |
|
|
|
266 |
|
|
* Mon Aug 25 2003 Michael Soulier <msoulier@e-smith.com> |
267 |
|
|
- [0.2.0-03] |
268 |
|
|
- Added K* script links for runlevels 0 and 6 for dnscache. [msoulier 9761] |
269 |
|
|
|
270 |
|
|
* Tue Jul 15 2003 Charlie Brady <charlieb@e-smith.com> |
271 |
|
|
- [0.2.0-02] |
272 |
|
|
- Remove bogus "Requires: supervise-scripts". [charlieb 9448] |
273 |
|
|
|
274 |
|
|
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
275 |
|
|
- [0.2.0-01] |
276 |
|
|
- Changing version to stable stream number - 0.2.0 |
277 |
|
|
|
278 |
|
|
* Tue Jun 17 2003 Charlie Brady <charlieb@e-smith.com> |
279 |
|
|
- [0.1.8-21] |
280 |
|
|
- Fix restart of dnscache. [charlieb 8745] |
281 |
|
|
|
282 |
|
|
* Fri Jun 13 2003 Charlie Brady <charlieb@e-smith.com> |
283 |
|
|
- [0.1.8-20] |
284 |
|
|
- Restart dnscache except after configuration is complete, except for |
285 |
|
|
certain events (when dnscache will not be running). [gordonr 6762] |
286 |
|
|
- If forwarder is enabled, don't delegate any lookups to local tinydns. |
287 |
|
|
[charlieb 9032] |
288 |
|
|
- Change Forwarder1 property to Forwarder. Do migration of legacy values here - |
289 |
|
|
previously done in fragment in e-smith-base RPM. [charlieb 9032] |
290 |
|
|
|
291 |
|
|
* Fri Jun 6 2003 Charlie Brady <charlieb@e-smith.com> |
292 |
|
|
- [0.1.8-19] |
293 |
|
|
- Add "down" file so that dnscache does not start until rc7.d script |
294 |
|
|
runs. [charlieb 8745] |
295 |
|
|
|
296 |
|
|
* Wed Jun 4 2003 Charlie Brady <charlieb@e-smith.com> |
297 |
|
|
- [0.1.8-18] |
298 |
|
|
- Use create-system-user in %pre to create required users. [charlieb 6033] |
299 |
|
|
|
300 |
|
|
* Mon Apr 14 2003 Gordon Rowell <gordonr@e-smith.com> |
301 |
|
|
- [0.1.8-17] |
302 |
|
|
- Add template for servers/@ and handle DNS forwarders [gordonr 8179] |
303 |
|
|
- Modify template for env/FORWARDONLY to handle DNS forwarders [gordonr 8179] |
304 |
|
|
- Restart dnscache in console-save in case we just changed forwarding |
305 |
|
|
policy [gordonr 8179] |
306 |
|
|
|
307 |
|
|
* Mon Apr 7 2003 Charlie Brady <charlieb@e-smith.com> |
308 |
|
|
- [0.1.8-16] |
309 |
|
|
- Well, it would help if the rc7.d symlink were named correctly. [charlieb 4085] |
310 |
|
|
|
311 |
|
|
* Tue Apr 1 2003 Charlie Brady <charlieb@e-smith.com> |
312 |
|
|
- [0.1.8-15] |
313 |
|
|
- Add rc7.d script so that dnscache comes up at boot time. [charlieb 4058] |
314 |
|
|
|
315 |
|
|
* Thu Mar 27 2003 Charlie Brady <charlieb@e-smith.com> |
316 |
|
|
- [0.1.8-14] |
317 |
|
|
- Add/delete dnscache delegations for off-site domains/networks if we |
318 |
|
|
know about them. [charlieb 7845] |
319 |
|
|
|
320 |
|
|
* Thu Mar 13 2003 Charlie Brady <charlieb@e-smith.com> |
321 |
|
|
- [0.1.8-13] |
322 |
|
|
- Add default db fragments to defaults, not default :-) [charlieb 7632] |
323 |
|
|
|
324 |
|
|
* Tue Mar 11 2003 Charlie Brady <charlieb@e-smith.com> |
325 |
|
|
- [0.1.8-12] |
326 |
|
|
- Add default db fragments, so dnscache is enabled by default. |
327 |
|
|
Updated e-smithlib dependency. [charlieb 7632] |
328 |
|
|
|
329 |
|
|
* Thu Jan 30 2003 Charlie Brady <charlieb@e-smith.com> |
330 |
|
|
- [0.1.8-11] |
331 |
|
|
- Replace Copyright header in spec file with "License: GPL". [charlieb] |
332 |
|
|
- Add /etc/resolv.conf template nameserver fragment. Corresponding |
333 |
|
|
fragment must be removed from e-smith-base. [charlieb 4058]. |
334 |
|
|
- Remove debugging print from dnscache-conf. [charlieb 4058] |
335 |
|
|
- Add 127.in-addr.arpa file - it is constant. [charlieb 4058] |
336 |
|
|
|
337 |
|
|
* Tue Dec 31 2002 Gordon Rowell <gordonr@e-smith.com> |
338 |
|
|
- [0.1.8-10] |
339 |
|
|
- Updated address for J.ROOT-SERVERS.NET [gordonr 5530] |
340 |
|
|
|
341 |
|
|
* Tue Dec 31 2002 Gordon Rowell <gordonr@e-smith.com> |
342 |
|
|
- [0.1.8-09] |
343 |
|
|
- Skip servers/@ in dnscache-conf - the root name servers :-) [gordonr 4058] |
344 |
|
|
|
345 |
|
|
* Tue Dec 31 2002 Gordon Rowell <gordonr@e-smith.com> |
346 |
|
|
- [0.1.8-08] |
347 |
|
|
- Add service domain delegation [gordonr 4058] |
348 |
|
|
|
349 |
|
|
* Tue Dec 31 2002 Gordon Rowell <gordonr@e-smith.com> |
350 |
|
|
- [0.1.8-07] |
351 |
|
|
- Delegate domain-remote entries to the server defined in the |
352 |
|
|
Server property of that record. |
353 |
|
|
- Don't delegate remote subnets to the local nameserver - just |
354 |
|
|
skip them for now [gordonr 4058] |
355 |
|
|
|
356 |
|
|
* Tue Dec 31 2002 Gordon Rowell <gordonr@e-smith.com> |
357 |
|
|
- [0.1.8-06] |
358 |
|
|
- Wrong bug number last time |
359 |
|
|
- Standardised log/run script with mailfront/qmail/etc. [gordonr 4058] |
360 |
|
|
|
361 |
|
|
* Tue Dec 31 2002 Gordon Rowell <gordonr@e-smith.com> |
362 |
|
|
- [0.1.8-05] |
363 |
|
|
- Standardised log/run script with mailfront/qmail/etc. [gordonr 6365] |
364 |
|
|
|
365 |
|
|
* Tue Dec 31 2002 Gordon Rowell <gordonr@e-smith.com> |
366 |
|
|
- [0.1.8-04] |
367 |
|
|
- Call dnscache-conf in post-{install,upgrade} - we need this running |
368 |
|
|
from the start, even if we need to change details after the bootstrap |
369 |
|
|
console [gordonr 6365] |
370 |
|
|
|
371 |
|
|
* Tue Dec 31 2002 Gordon Rowell <gordonr@e-smith.com> |
372 |
|
|
- [0.1.8-03] |
373 |
|
|
- Add missing pipe in genfilelist call so sticky bit preserverved |
374 |
|
|
on /var/service/dnscache [gordonr 4058] |
375 |
|
|
|
376 |
|
|
* Tue Dec 3 2002 Charlie Brady <charlieb@e-smith.com> |
377 |
|
|
- [0.1.8-02] |
378 |
|
|
- Add sticky bit to dnscache service directory, so that svscan starts logging. |
379 |
|
|
- Create /service symlink, so that supervise of dnscache is started by svscan. |
380 |
|
|
[charlieb 4058] |
381 |
|
|
|
382 |
|
|
* Thu Nov 21 2002 Charlie Brady <charlieb@e-smith.com> |
383 |
|
|
- [0.1.8-01] |
384 |
|
|
- Rebuild to catch the createlinks update missed by last co2rpm build to 0.1.8 |
385 |
|
|
|
386 |
|
|
* Thu Nov 21 2002 Charlie Brady <charlieb@e-smith.com> |
387 |
|
|
- [0.1.7-02] |
388 |
|
|
- Added root/servers/@ file - we will need to update this some time, as the |
389 |
|
|
list recently changed. |
390 |
|
|
- Rewrote conf-dnscache to use new DB access classes. Renamed to dnscache-conf. |
391 |
|
|
- Add conf-dnscache links to domain-create and domain-delete events. |
392 |
|
|
- Use links for acl files and delegation files. |
393 |
|
|
- Add code to do local domain delegation (to tinydns). |
394 |
|
|
- We currently do lame delegation for local networks reverse lookup. We |
395 |
|
|
need to fix this, but currently can't do any better - we don't know any |
396 |
|
|
name servers for those reverse domains. |
397 |
|
|
- Add sticky bit to dnscache service directory |
398 |
|
|
- Hide output of "id" in %pre script. |
399 |
|
|
[charlieb 4058] |
400 |
|
|
|
401 |
|
|
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
402 |
|
|
- [0.1.7-01] |
403 |
|
|
- RPM rebuild forced by cvsroot2rpm |
404 |
|
|
|
405 |
|
|
* Mon Apr 8 2002 Michael Schwern <schwern@e-smith.com> |
406 |
|
|
- [0.1.6-01] |
407 |
|
|
- Update access list manipulation to handle arbitrary bitmasks. |
408 |
|
|
|
409 |
|
|
* Wed Mar 13 2002 Charlie Brady <charlieb@e-smith.com> |
410 |
|
|
- [0.1.4-01] |
411 |
|
|
- Use correct esmith::utils function names for netmask manip stuff |
412 |
|
|
- Remove trailing dot from network prefixes before creating access |
413 |
|
|
allow files |
414 |
|
|
|
415 |
|
|
* Wed Mar 13 2002 Charlie Brady <charlieb@e-smith.com> |
416 |
|
|
- [0.1.3-01] |
417 |
|
|
- Allow dnscache/dnslog users to already exist in %pre script |
418 |
|
|
- Remove bogus -g args from useradd commands |
419 |
|
|
- Update conf-dnscache action script to set up permission to |
420 |
|
|
query dnscache |
421 |
|
|
- Require supervise-scripts |
422 |
|
|
|
423 |
|
|
* Wed Mar 13 2002 Charlie Brady <charlieb@e-smith.com> |
424 |
|
|
- [0.1.2-01] |
425 |
|
|
- Create dnscache and dnslog users |
426 |
|
|
- Fix path error in conf-dnscache |
427 |
|
|
- Create /var/log/dnscache directory with correct ownership |
428 |
|
|
|
429 |
|
|
* Tue Mar 12 2002 Charlie Brady <charlieb@e-smith.com> |
430 |
|
|
- [0.1.1-01] |
431 |
|
|
- Initial |
432 |
|
|
|
433 |
|
|
%prep |
434 |
|
|
%setup |
435 |
|
|
|
436 |
|
|
%build |
437 |
|
|
perl createlinks |
438 |
|
|
mkdir -p root/service |
439 |
|
|
ln -s /var/service/dnscache root/service |
440 |
|
|
ln -s /var/service/dnscache.forwarder root/service |
441 |
|
|
rm -f %{name}-%{version}-%{release}-filelist |
442 |
|
|
|
443 |
|
|
touch root/var/service/dnscache/down |
444 |
|
|
mkdir -p root/var/log/dnscache |
445 |
|
|
mkdir -p root/var/log/dnscache.forwarder |
446 |
|
|
mkdir -p root/var/service/dnscache.forwarder/root/ip |
447 |
bytegw |
1.6 |
touch root/var/service/dnscache.forwarder/down |
448 |
slords |
1.1 |
touch root/var/service/dnscache.forwarder/root/ip/127 |
449 |
|
|
|
450 |
|
|
|
451 |
|
|
%pre |
452 |
|
|
/sbin/e-smith/create-system-user dnscache 410 \ |
453 |
|
|
"DNScache user" /var/service/dnscache /bin/false |
454 |
|
|
/sbin/e-smith/create-system-user dnslog 411 \ |
455 |
|
|
"DNS log user" /var/log /bin/false |
456 |
|
|
|
457 |
|
|
%post |
458 |
|
|
# Remove any left over env/FORWARDONLY file |
459 |
|
|
rm -f /var/service/dnscache/env/FORWARDONLY |
460 |
|
|
|
461 |
|
|
%install |
462 |
|
|
rm -rf $RPM_BUILD_ROOT |
463 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
464 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
465 |
|
|
--dir /var/service/dnscache 'attr(0755,root,root)' \ |
466 |
|
|
--dir /var/service/dnscache/log 'attr(0755,root,root)' \ |
467 |
|
|
--file /var/service/dnscache/run 'attr(0750,root,root)' \ |
468 |
|
|
--file /var/service/dnscache/dnscache-log.pl 'attr(0750,root,root)' \ |
469 |
|
|
--file /var/service/dnscache/log/run 'attr(0750,root,root)' \ |
470 |
|
|
--dir /var/log/dnscache 'attr(02755,dnslog,dnslog)' \ |
471 |
|
|
--dir /var/log/dnscache.forwarder 'attr(02755,dnslog,dnslog)' \ |
472 |
|
|
--file /var/service/dnscache.forwarder/run 'attr(0750,root,root)' \ |
473 |
|
|
--file /var/service/dnscache.forwarder/log/run 'attr(0750,root,root)' \ |
474 |
|
|
> %{name}-%{version}-%{release}-filelist |
475 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
476 |
|
|
|
477 |
|
|
%clean |
478 |
|
|
rm -rf $RPM_BUILD_ROOT |
479 |
|
|
|
480 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
481 |
|
|
%defattr(-,root,root) |