/[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.7 - (hide annotations) (download)
Fri Dec 4 05:17:52 2020 UTC (3 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-dnscache-2_6_0-7_el7_sme
Changes since 1.6: +3 -3 lines
* Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme
- execute systemd-reload before service adjust in events [SME: 11228]
- remove S95reset-unsavedflag [SME: 11229]

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

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