/[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.6 - (hide annotations) (download)
Fri Dec 4 03:40:09 2020 UTC (3 years, 11 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-tinydns-2_6_0-6_el7_sme
Changes since 1.5: +7 -2 lines
* Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme
- remove S95reset-unsavedflag [SME: 11229]

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

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