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

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

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


Revision 1.1 - (hide annotations) (download)
Thu Feb 4 23:29:18 2016 UTC (8 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-dnscache-2_6_0-1_el7_sme
sme10 branch

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

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