/[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.1 - (hide annotations) (download)
Tue Jun 12 15:19:08 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-dnscache-1_0_0-6_el4_sme
Import on branch sme7 of package e-smith-dnscache-1.0.0-6.el4.sme.src.rpm

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

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