/[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.8 - (show annotations) (download)
Sat Jan 24 08:41:39 2015 UTC (9 years, 9 months ago) by stephdl
Branch: MAIN
CVS Tags: e-smith-tinydns-2_4_0-8_el6_sme, HEAD
Changes since 1.7: +6 -4 lines
* Sat Jan 24 2015 stephane de labrusse <stephdl@de-labrusse.fr> 2.4.0-8.sme
- Revert the patch e-smith-tinydns-2.4.0_add_hostname_following_dhcpdleases_hostname.patch
- [SME: 2388]

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

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