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

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

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


Revision 1.9 - (show annotations) (download)
Tue Mar 16 19:09:36 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-tinydns-2_6_0-9_el7_sme, HEAD
Changes since 1.8: +7 -2 lines
* Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-9.sme
- cleanup in /etc/rc.d [SME: 9692]

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

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