/[smeserver]/rpms/e-smith-tinydns/sme9/e-smith-tinydns.spec
ViewVC logotype

Contents of /rpms/e-smith-tinydns/sme9/e-smith-tinydns.spec

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


Revision 1.4 - (show annotations) (download)
Fri Jan 9 23:33:20 2015 UTC (9 years, 9 months ago) by stephdl
Branch: MAIN
CVS Tags: e-smith-tinydns-2_4_0-4_el6_sme
Changes since 1.3: +10 -3 lines
* Fri Jan 9 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-4.sme
- When the dhcpd lease is modified
-    Do template-expand of /var/service/tinydns/root/data
-    Do sigus1 of dhcp-dns & dnscache
- Forked DHCPparse for parsing the end of lease and remove old entry of dnscache
- Require perl-Text-DHCPparse removed
- Timestamp added in tinydns, the entry in dnscache is cleared when the lease is over

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

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