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

Annotation of /rpms/e-smith-dnscache/sme7/e-smith-dnscache.spec

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


Revision 1.5 - (hide annotations) (download)
Fri Aug 8 20:54:48 2008 UTC (16 years, 2 months ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-dnscache-1_0_0-12_el4_sme
Changes since 1.4: +7 -1 lines
Updates

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

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