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

Contents 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.2 - (show annotations) (download)
Mon Aug 1 00:35:31 2016 UTC (8 years, 3 months ago) by gzartman
Branch: MAIN
Changes since 1.1: +8 -2 lines
* Sat Jul 30 2016 Greg Zartman <gzartman@koozali.org> 2.6.0-2.sme
- Modify run script to allow for loopback commmunications with other DNS
  servers on the local machine and DNS forwarding [SME: 9715]

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

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