/[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.8 - (hide annotations) (download)
Sat Feb 13 04:58:36 2021 UTC (3 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-tinydns-2_6_0-8_el7_sme
Changes since 1.7: +5 -2 lines
* Fri Feb 12 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme
- remove /usr/lib/systemd/system-preset/80-koozali-tinydns.preset [SME: 10958]

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

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