1 |
michel |
1.2 |
# $Id: e-smith-tinydns.spec,v 1.1 2016/02/05 17:04:37 stephdl Exp $ |
2 |
stephdl |
1.1 |
|
3 |
|
|
Summary: e-smith module to configure tinydns |
4 |
|
|
%define name e-smith-tinydns |
5 |
|
|
Name: %{name} |
6 |
|
|
%define version 2.6.0 |
7 |
michel |
1.2 |
%define release 2 |
8 |
stephdl |
1.1 |
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: Networking/Daemons |
12 |
|
|
Source: %{name}-%{version}.tar.xz |
13 |
michel |
1.2 |
Patch0: %{name}-%{version}-bz11098_systemd.patch |
14 |
stephdl |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
|
|
BuildRequires: e-smith-devtools |
16 |
|
|
BuildArchitectures: noarch |
17 |
|
|
Requires: e-smith-base |
18 |
|
|
Requires: djbdns |
19 |
|
|
Requires: e-smith-lib >= 1.15.1-19 |
20 |
|
|
Requires: e-smith-daemontools >= 1.1.0-02 |
21 |
|
|
Requires: iptables |
22 |
|
|
Obsoletes: tinydns-initscripts |
23 |
|
|
AutoReqProv: no |
24 |
|
|
|
25 |
|
|
%changelog |
26 |
michel |
1.2 |
* Sat Nov 14 2020 Michel Begue <mab974@gmail.com> 2.6.0-2.sme |
27 |
|
|
- Move tinydns service to systemd [SME: 11098] |
28 |
|
|
- Create e-smith-tinydns-update event [SME: 11159] |
29 |
|
|
|
30 |
stephdl |
1.1 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
31 |
|
|
- Initial release to sme10 |
32 |
|
|
|
33 |
|
|
* Sat Jan 24 2015 stephane de labrusse <stephdl@de-labrusse.fr> 2.4.0-8.sme |
34 |
|
|
- Revert the patch e-smith-tinydns-2.4.0_add_hostname_following_dhcpdleases_hostname.patch |
35 |
|
|
- [SME: 2388] |
36 |
|
|
|
37 |
|
|
* Sat Jan 17 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-7.sme |
38 |
|
|
- Duplicate hostnames with different IP are not used, a warn in log is printed |
39 |
|
|
- The server hostname can not be used by a dhcp client, a warn in log is printed |
40 |
|
|
- [SME: 2388] |
41 |
|
|
|
42 |
|
|
* Fri Jan 9 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-5.sme |
43 |
|
|
- Changed the name of /tmp/dhcpd.leases to /tmp/tmpdhcpd.leases [SME: 2388] |
44 |
|
|
|
45 |
|
|
* Fri Jan 9 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-4.sme |
46 |
|
|
- When the dhcpd lease is modified |
47 |
|
|
- Do template-expand of /var/service/tinydns/root/data |
48 |
|
|
- Do sigus1 of dhcp-dns & dnscache |
49 |
|
|
- Forked DHCPparse for parsing the end of lease and remove old entry of dnscache |
50 |
|
|
- Require perl-Text-DHCPparse removed |
51 |
|
|
- Timestamp added in tinydns, the entry in dnscache is cleared when the lease is over |
52 |
|
|
- [SME: 2388] |
53 |
|
|
|
54 |
|
|
* Tue Jun 18 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-3.sme |
55 |
|
|
- add new feature 'Parse dhcpd.leases and feed to tinydns' |
56 |
|
|
- e-smith-tinydns-2.4.0_add_hostname_following_dhcpdleases_hostname.patch |
57 |
|
|
- made from the solution of Stefano Zamboni [SME:2388] |
58 |
|
|
- Thanks also for all other implicated members in this bug report |
59 |
|
|
|
60 |
|
|
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
61 |
|
|
- Roll new stream for sme9 |
62 |
|
|
|
63 |
|
|
* Thu Jul 29 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-2.sme |
64 |
|
|
- Allow use of CNAME in remote hosts [SME: 3132] |
65 |
|
|
|
66 |
|
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
67 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
68 |
|
|
|
69 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
70 |
|
|
- Clean up spec so package can be built by koji/plague |
71 |
|
|
|
72 |
|
|
* Fri Feb 16 2007 Shad L. Lords <slords@mail.com> 1.0.0-7 |
73 |
|
|
- Change runsvctrl to sv to support runit v1.7.x [SME: 1179] |
74 |
|
|
|
75 |
|
|
* Fri Jan 19 2007 Shad L. Lords <slords@mail.com> 1.0.0-6 |
76 |
|
|
- Fix last patch to remove warnings. |
77 |
|
|
|
78 |
|
|
* Sun Jan 14 2007 Shad L. Lords <slords@mail.com> 1.0.0-5 |
79 |
|
|
- Make us authoritative for 127.0.0.x [SME: 2223] |
80 |
|
|
|
81 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
82 |
|
|
- Update to new release naming. No functional changes. |
83 |
|
|
- Make Packager generic |
84 |
|
|
|
85 |
|
|
* Thu Sep 14 2006 Charlie Brady <charlie_brady@mitel.com> 1.0.0-03 |
86 |
|
|
- Ensure that ListenIP property is clear in serveronly mode. [SME: 1912] |
87 |
|
|
|
88 |
|
|
* Sun Jul 16 2006 Charlie Brady <charlie_brady@mitel.com> 1.0.0-02 |
89 |
|
|
- Make dnslog user creation consistent with e-smith-dnscache. [SME: 1688] |
90 |
|
|
|
91 |
|
|
* Fri Mar 17 2006 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-01 |
92 |
|
|
- Bump stable stream number to 1.0.0 [SME: 1016] |
93 |
|
|
|
94 |
|
|
* Tue Mar 14 2006 Charlie Brady <charlie_brady@mitel.com> 0.6.0-01 |
95 |
|
|
- Roll stable stream version. [SME: 1016] |
96 |
|
|
|
97 |
|
|
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 0.5.0-21 |
98 |
|
|
- Remove % from (percent)prep in 0.2.0-01 changelog to keep |
99 |
|
|
mezzanine/RPM happy. No code change. |
100 |
|
|
|
101 |
|
|
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 0.5.0-20 |
102 |
|
|
- Bump release number only |
103 |
|
|
|
104 |
|
|
* Wed Aug 17 2005 Charlie Brady <charlieb@e-smith.com> |
105 |
|
|
- [0.5.0-19] |
106 |
|
|
- Fix access default property for tinydns. [SF: 1246986] |
107 |
|
|
- Add missing control/2 script, possibly required for ip-change |
108 |
|
|
event handling. |
109 |
|
|
|
110 |
|
|
* Tue Aug 16 2005 Charlie Brady <charlieb@e-smith.com> |
111 |
|
|
- [0.5.0-18] |
112 |
|
|
- Add defaults vals for UDPPort and access. [SF: 1246986] |
113 |
|
|
|
114 |
|
|
* Mon Jun 6 2005 Charlie Brady <charlieb@e-smith.com> |
115 |
|
|
- [0.5.0-17] |
116 |
|
|
- Add tinydns stats file digester and pretty printer (from |
117 |
|
|
http://www.campin.net/DNS/tinydns-readstats.txt). |
118 |
|
|
|
119 |
|
|
* Mon Jun 6 2005 Charlie Brady <charlieb@e-smith.com> |
120 |
|
|
- [0.5.0-16] |
121 |
|
|
- Add tinydns log file parser program (from |
122 |
|
|
http://tinydns.org/tinydns-log.pl.txt). |
123 |
|
|
|
124 |
|
|
* Wed Apr 13 2005 Charlie Brady <charlieb@e-smith.com> |
125 |
|
|
- [0.5.0-15] |
126 |
|
|
- Work around ordering problem between template expansion and |
127 |
|
|
hosts db migration scripts in e-smith-hosts rpm, by calling |
128 |
|
|
expand-template from tinydns/control/1. TODO: fix properly |
129 |
|
|
by moving hosts db munging scripts into migrate fragments. |
130 |
|
|
|
131 |
|
|
* Mon Apr 11 2005 Charlie Brady <charlieb@e-smith.com> |
132 |
|
|
- [0.5.0-14] |
133 |
|
|
- Switch to updated calling convention for genfilelist. |
134 |
|
|
- Add control/1 script to rebuild data cdb file. Call ./control/1 |
135 |
|
|
from run script, before starting tinydns. |
136 |
|
|
- Use generic_template_expand action in place of tinydns-conf. |
137 |
|
|
Update e-smith-lib dependency. [MN00064130] |
138 |
|
|
- Remove unused tinydns-restart. |
139 |
|
|
|
140 |
|
|
* Tue Mar 15 2005 Charlie Brady <charlieb@e-smith.com> |
141 |
|
|
- [0.5.0-13] |
142 |
|
|
- Remove unnecessary warning from 20tinydns fragment. |
143 |
|
|
[MN00035059] |
144 |
|
|
|
145 |
|
|
* Thu Mar 10 2005 Charlie Brady <charlieb@e-smith.com> |
146 |
|
|
- [0.5.0-12] |
147 |
|
|
- Always create generic hosts for internal IPs |
148 |
|
|
|
149 |
|
|
* Thu Jan 20 2005 Charlie Brady <charlieb@e-smith.com> |
150 |
|
|
- [0.5.0-11] |
151 |
|
|
- Still another couple of fixes required to 20tinydns fragment. |
152 |
|
|
[charlieb MN00035059] |
153 |
|
|
|
154 |
|
|
* Wed Jan 5 2005 Charlie Brady <charlieb@e-smith.com> |
155 |
|
|
- [0.5.0-10] |
156 |
|
|
- Further fix and more simplification to 20tinydns fragment. |
157 |
|
|
[charlieb MN00035059] |
158 |
|
|
|
159 |
|
|
* Mon May 31 2004 Michael Soulier <msoulier@e-smith.com> |
160 |
|
|
- [0.5.0-09] |
161 |
|
|
- Beautified 20tinydns fragment, and s/exit/return, as it was killing |
162 |
|
|
initialize-default-databases processing in post-install. |
163 |
|
|
[msoulier MN00035059] |
164 |
|
|
|
165 |
|
|
* Thu May 20 2004 Mark Knox <markk@e-smith.com> |
166 |
|
|
- [0.5.0-08] |
167 |
|
|
- Don't die in post-install if there's no host record for the server [markk |
168 |
|
|
MN00034226] |
169 |
|
|
|
170 |
|
|
* Tue Jan 13 2004 Michael Soulier <msoulier@e-smith.com> |
171 |
|
|
- [0.5.0-07] |
172 |
|
|
- Changed the name of the DNSAlias property to ReverseDNS, and reversed the |
173 |
|
|
logic, to improve readability. [msoulier 10890] |
174 |
|
|
|
175 |
|
|
* Tue Jan 13 2004 Michael Soulier <msoulier@e-smith.com> |
176 |
|
|
- [0.5.0-06] |
177 |
|
|
- Added logic to key off of DNSAlias property in hosts db, so that the host |
178 |
|
|
that the PTR record is configured to for reverse DNS lookups can be |
179 |
|
|
configured, with the server itself defaulting to its proper name, via a |
180 |
|
|
migration fragment. [msoulier 10890] |
181 |
|
|
|
182 |
|
|
* Tue Jan 13 2004 Michael Soulier <msoulier@e-smith.com> |
183 |
|
|
- [0.5.0-05] |
184 |
|
|
- Modified the previous fix to ensure that each IP resolves to only one |
185 |
|
|
hostname, followed by zero or more aliases. [msoulier 10890] |
186 |
|
|
|
187 |
|
|
* Mon Jan 12 2004 Michael Soulier <msoulier@e-smith.com> |
188 |
|
|
- [0.5.0-04] |
189 |
|
|
- Fixed broken reverse DNS lookups for configured hosts. [msoulier 10890] |
190 |
|
|
|
191 |
|
|
* Thu Aug 28 2003 Michael Soulier <msoulier@e-smith.com> |
192 |
|
|
- [0.5.0-03] |
193 |
|
|
- Added K* init symlinks for runlevels 0, 1 and 6. [msoulier 9761] |
194 |
|
|
|
195 |
|
|
* Thu Aug 21 2003 Charlie Brady <charlieb@e-smith.com> |
196 |
|
|
- [0.5.0-02] |
197 |
|
|
- Replace tinydns-conf-startup action with default db fragments. |
198 |
|
|
[charlieb 9553] |
199 |
|
|
|
200 |
|
|
* Thu Aug 21 2003 Charlie Brady <charlieb@e-smith.com> |
201 |
|
|
- [0.5.0-01] |
202 |
|
|
- Changing version to development stream number - 0.5.0 |
203 |
|
|
|
204 |
|
|
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
205 |
|
|
- [0.4.0-01] |
206 |
|
|
- Changing version to stable stream number - 0.4.0 |
207 |
|
|
|
208 |
|
|
* Wed Jun 25 2003 Charlie Brady <charlieb@e-smith.com> |
209 |
|
|
- [0.3.5-05] |
210 |
|
|
- Various fixes to 00functions fragment of tinydns data file. Eliminate |
211 |
|
|
duplicate records for local domain. Fix non-empty output of fragment. |
212 |
|
|
Re-organise. [charlieb 9169] |
213 |
|
|
|
214 |
|
|
* Wed Jun 4 2003 Charlie Brady <charlieb@e-smith.com> |
215 |
|
|
- [0.3.5-04] |
216 |
|
|
- Add Requires header to ensure that %pre script can run. [charlieb 6033] |
217 |
|
|
|
218 |
|
|
* Tue Jun 3 2003 Charlie Brady <charlieb@e-smith.com> |
219 |
|
|
- [0.3.5-03] |
220 |
|
|
- Change %pre script which creates required userid, so that it uses |
221 |
|
|
preferred userids. [charlieb 6033] |
222 |
|
|
|
223 |
|
|
* Mon Jun 2 2003 Charlie Brady <charlieb@e-smith.com> |
224 |
|
|
- [0.3.5-02] |
225 |
|
|
- Remove deprecated LocalDomainPrefix handling. [charlieb 4812] |
226 |
|
|
|
227 |
|
|
* Thu Apr 10 2003 Gordon Rowell <gordonr@e-smith.com> |
228 |
|
|
- [0.3.5-01] |
229 |
|
|
- Clean out handling of domains now in domains db [gordonr 8097] |
230 |
|
|
|
231 |
|
|
* Tue Dec 31 2002 Gordon Rowell <gordonr@e-smith.com> |
232 |
|
|
- [0.3.4-15] |
233 |
|
|
- Also use plain A records for domain entries [gordonr 4058] |
234 |
|
|
|
235 |
|
|
* Tue Dec 31 2002 Gordon Rowell <gordonr@e-smith.com> |
236 |
|
|
- [0.3.4-14] |
237 |
|
|
- Use A, not A/PTR records for the hostname aliases [gordonr 4058] |
238 |
|
|
|
239 |
|
|
* Tue Dec 31 2002 Gordon Rowell <gordonr@e-smith.com> |
240 |
|
|
- [0.3.4-13] |
241 |
|
|
- Renamed conf-tinydns{,-startup} to tinydns-conf{,-startup} to match |
242 |
|
|
tinydns-restart [gordonr 4058] |
243 |
|
|
|
244 |
|
|
* Tue Dec 31 2002 Gordon Rowell <gordonr@e-smith.com> |
245 |
|
|
- [0.3.4-12] |
246 |
|
|
- Added use esmith::util to tinydns-restart [gordonr 4058] |
247 |
|
|
|
248 |
|
|
* Tue Dec 31 2002 Gordon Rowell <gordonr@e-smith.com> |
249 |
|
|
- [0.3.4-11] |
250 |
|
|
- Standardised log/run script with mailfront/qmail/etc. [gordonr 4058] |
251 |
|
|
|
252 |
|
|
* Tue Dec 31 2002 Gordon Rowell <gordonr@e-smith.com> |
253 |
|
|
- [0.3.4-10] |
254 |
|
|
- Add missing pipe in genfilelist call so sticky bit preserverved |
255 |
|
|
on /var/service/tinydns [gordonr 4058] |
256 |
|
|
|
257 |
|
|
* Wed Dec 4 2002 Charlie Brady <charlieb@e-smith.com> |
258 |
|
|
- [0.3.4-09] |
259 |
|
|
- Add name server record for local reverse domain. [charlieb 4058] |
260 |
|
|
|
261 |
|
|
* Tue Dec 3 2002 Charlie Brady <charlieb@e-smith.com> |
262 |
|
|
- [0.3.4-08] |
263 |
|
|
- Add sticky bit to tinydns service directory, so that svscan starts logging. |
264 |
|
|
[charlieb 4058] |
265 |
|
|
|
266 |
|
|
* Thu Nov 21 2002 Charlie Brady <charlieb@e-smith.com> |
267 |
|
|
- [0.3.4-07] |
268 |
|
|
- Remove bogus reverse DNS records from tinydns/root/data template - the |
269 |
|
|
correct records are implicit in "=" records. [charlieb 4058] |
270 |
|
|
- Remove A records for generic hostnames from all except the primary domain. |
271 |
|
|
This change is provisional - we will need to discuss the implications of |
272 |
|
|
doing this. [charlieb 5805] |
273 |
|
|
|
274 |
|
|
* Wed Nov 20 2002 Charlie Brady <charlieb@e-smith.com> |
275 |
|
|
- [0.3.4-06] |
276 |
|
|
- Eliminate use of deprecated db_get_prop from templates for env files. |
277 |
|
|
[charlieb 4058] |
278 |
|
|
|
279 |
|
|
* Wed Nov 20 2002 Charlie Brady <charlieb@e-smith.com> |
280 |
|
|
- [0.3.4-05] |
281 |
|
|
- Create "down" file to prevent scsvan from starting tinydns at initial |
282 |
|
|
boot time (before it is configured), and add rc7.d symlink to bring |
283 |
|
|
it up after bootstrap console runs. [charlieb 4058] |
284 |
|
|
|
285 |
|
|
* Fri Nov 15 2002 Charlie Brady <charlieb@e-smith.com> |
286 |
|
|
- [0.3.4-04] |
287 |
|
|
- Change default listen address to 127.0.0.1 [charlieb 4058] |
288 |
|
|
- Hide irrelevant output in %pre script. |
289 |
|
|
|
290 |
|
|
* Wed Nov 13 2002 Charlie Brady <charlieb@e-smith.com> |
291 |
|
|
- [0.3.4-03] |
292 |
|
|
- Add %pre actions to create dns and dnslog users if required. |
293 |
|
|
- Move root/data templates into correct directory and change |
294 |
|
|
conf-tinydns action script accordingly. |
295 |
|
|
- Create ROOT environment file required by tinydns |
296 |
|
|
- Create /service symlink. |
297 |
|
|
- Remove requirement on e-smith-packetfilter. |
298 |
|
|
- All changes done to get into running state. [charlieb 4058] |
299 |
|
|
|
300 |
|
|
* Tue Nov 12 2002 Charlie Brady <charlieb@e-smith.com> |
301 |
|
|
- [0.3.4-02] |
302 |
|
|
- Add template fragments for local domain tinydns configuration (from |
303 |
|
|
Zac's e-smith-djbdns contrib). [charlieb 4058] |
304 |
|
|
- Convert all code to use current preferred APIs. [charlieb 4058] |
305 |
|
|
- Update Copyright notices in action scripts. |
306 |
|
|
- Change Copyright RPM header to License. |
307 |
|
|
- Remove masq template fragment as we now use connection tracking. |
308 |
|
|
[charlieb 4499] |
309 |
|
|
|
310 |
|
|
* Tue Jul 23 2002 Charlie Brady <charlieb@e-smith.com> |
311 |
|
|
- [0.3.4-01] |
312 |
|
|
- Convert packet filter fragment to iptables syntax [charlieb 1268] |
313 |
|
|
|
314 |
|
|
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
315 |
|
|
- [0.3.3-01] |
316 |
|
|
- RPM rebuild forced by cvsroot2rpm |
317 |
|
|
|
318 |
|
|
* Mon Mar 18 2002 Charlie Brady <charlieb@e-smith.com> |
319 |
|
|
- [0.3.2-01] |
320 |
|
|
- Add missing /var/service/tinydns run scripts. |
321 |
|
|
- Add /var/service/tinydns/root directory. |
322 |
|
|
|
323 |
|
|
* Mon Mar 18 2002 Charlie Brady <charlieb@e-smith.com> |
324 |
|
|
- [0.3.1-01] |
325 |
|
|
- Rebuild with .../env/IP and .../env/DATASIZE templates included. |
326 |
|
|
|
327 |
|
|
* Wed Mar 13 2002 Charlie Brady <charlieb@e-smith.com> |
328 |
|
|
- [0.3.0-01] |
329 |
|
|
- Don't use tinydns-conf, instead include files and templates. |
330 |
|
|
- Move config db init to conf-tinydns-startup. |
331 |
|
|
- Remove tinydns-startup script. |
332 |
|
|
- Reorganise %build to create init symlink, and to build log |
333 |
|
|
directory. |
334 |
|
|
|
335 |
|
|
* Wed Mar 13 2002 Charlie Brady <charlieb@e-smith.com> |
336 |
|
|
- [0.2.2-01] |
337 |
|
|
- Fix '' quoting of variable in restart script. |
338 |
|
|
- Remove SL specific code. |
339 |
|
|
|
340 |
|
|
* Wed Mar 13 2002 Charlie Brady <charlieb@e-smith.com> |
341 |
|
|
- [0.2.1-01] |
342 |
|
|
- Test build to verify CVS conversion. |
343 |
|
|
|
344 |
|
|
* Wed Mar 13 2002 Charlie Brady <charlieb@e-smith.com> |
345 |
|
|
- [0.2.0-01] |
346 |
|
|
- rollRPM: Rolled version number to 0.2.0-01. Includes patches up to 0.1.5-02. |
347 |
|
|
- added mkdir commands to prep section to create all required empty |
348 |
|
|
directories. |
349 |
|
|
|
350 |
|
|
* Fri Oct 12 2001 Charlie Brady <charlieb@e-smith.com> |
351 |
|
|
- [0.1.5-02] |
352 |
|
|
- Trim changelog previous to 0.1.5-01. |
353 |
|
|
|
354 |
|
|
* Fri Oct 12 2001 Charlie Brady <charlieb@e-smith.com> |
355 |
|
|
- [0.1.5-01] |
356 |
|
|
- Rolled version number to 0.1.5-01. Includes patches upto 0.1.4-05. |
357 |
|
|
|
358 |
|
|
%description |
359 |
|
|
SME server enhancement to configure and run the tinydns |
360 |
|
|
components of djbdns. |
361 |
|
|
|
362 |
|
|
%prep |
363 |
|
|
%setup |
364 |
michel |
1.2 |
%patch0 -p1 |
365 |
stephdl |
1.1 |
|
366 |
|
|
%build |
367 |
|
|
perl createlinks |
368 |
|
|
|
369 |
|
|
%install |
370 |
|
|
rm -rf $RPM_BUILD_ROOT |
371 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
372 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
373 |
|
|
--dir /var/service/tinydns 'attr(0755,root,root)' \ |
374 |
|
|
--dir /var/service/tinydns/log 'attr(0755,root,root)' \ |
375 |
|
|
--file /var/service/tinydns/run 'attr(0750,root,root)' \ |
376 |
|
|
--file /var/service/tinydns/tinydns-log.pl 'attr(0750,root,root)' \ |
377 |
|
|
--file /var/service/tinydns/tinydns-readstats 'attr(0750,root,root)' \ |
378 |
|
|
--file /var/service/tinydns/control/1 'attr(0750,root,root)' \ |
379 |
|
|
--file /var/service/tinydns/control/2 'attr(0750,root,root)' \ |
380 |
|
|
--file /var/service/tinydns/log/run 'attr(0750,root,root)' \ |
381 |
|
|
--dir /var/log/tinydns 'attr(02755,dnslog,dnslog)' \ |
382 |
|
|
--file /var/service/dhcp-dns/dhcp-dns 'attr(0750,root,root)' \ |
383 |
|
|
--file /var/service/dhcp-dns/run 'attr(0750,root,root)' \ |
384 |
|
|
> %{name}-%{version}-%{release}-filelist |
385 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
386 |
|
|
|
387 |
|
|
%clean |
388 |
|
|
rm -rf $RPM_BUILD_ROOT |
389 |
|
|
|
390 |
|
|
%pre |
391 |
|
|
/sbin/e-smith/create-system-user dns 53 "Name server" /var/service/tinydns /bin/false |
392 |
|
|
/sbin/e-smith/create-system-user dnslog 411 "DNS log user" /var/log /bin/false |
393 |
|
|
exit 0 |
394 |
|
|
|
395 |
|
|
%preun |
396 |
|
|
|
397 |
|
|
%post |
398 |
|
|
|
399 |
|
|
%postun |
400 |
|
|
|
401 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
402 |
|
|
%defattr(-,root,root) |