/[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.9 - (show annotations) (download)
Sat Feb 13 04:35:45 2021 UTC (3 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-dnscache-2_6_0-9_el7_sme
Changes since 1.8: +6 -3 lines
* Fri Feb 12 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme
- remove /usr/lib/systemd/system-preset/80-koozali-dnscache.preset [SME: 10958]

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

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