/[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.5 - (hide annotations) (download)
Fri Dec 4 03:11:51 2020 UTC (3 years, 11 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-tinydns-2_6_0-5_el7_sme
Changes since 1.4: +5 -2 lines
* Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
- execute systemd-reload before service adjust in events [SME: 11228]

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

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