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