/[smeserver]/rpms/e-smith-dnscache/sme8/e-smith-dnscache.spec
ViewVC logotype

Contents of /rpms/e-smith-dnscache/sme8/e-smith-dnscache.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.8 - (show annotations) (download)
Wed Dec 19 17:47:21 2012 UTC (11 years, 10 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-dnscache-2_2_0-2_el5_sme, HEAD
Changes since 1.7: +7 -2 lines
D-root is changing its IPv4 address [SME: 7189]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed