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

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

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


Revision 1.1 - (hide annotations) (download)
Wed Feb 6 21:25:21 2013 UTC (11 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-dnscache-2_4_0-1_el6_sme
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
- Roll new stream for sme9

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

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