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

Annotation 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.7 - (hide annotations) (download)
Thu Dec 10 09:33:57 2020 UTC (3 years, 10 months ago) by michel
Branch: MAIN
CVS Tags: e-smith-tinydns-2_6_0-7_el7_sme
Changes since 1.6: +7 -2 lines
* Thu Dec 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme
- Add 'Requires=runit.service' [SME: 11245]

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

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