/[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.3 - (hide annotations) (download)
Thu Nov 19 05:54:59 2020 UTC (3 years, 7 months ago) by michel
Branch: MAIN
CVS Tags: e-smith-tinydns-2_6_0-3_el7_sme
Changes since 1.2: +10 -3 lines
* Thu Nov 19 2020 Michel Begue <mab974@gmail.com> 2.6.0-3.sme
- remove rc7.d link [SME: 11098]
- fix date in changelog
- fix actions in e-smith-tinydns-update [SME: 11159]

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

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