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

Annotation of /rpms/e-smith-tinydns/sme9/e-smith-tinydns.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (hide annotations) (download)
Sat Jan 17 18:17:09 2015 UTC (9 years, 9 months ago) by stephdl
Branch: MAIN
CVS Tags: e-smith-tinydns-2_4_0-6_el6_sme
Changes since 1.5: +7 -2 lines
* Sat Jan 17 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-6.sme
- Duplicate hostnames with different IP are not used, a warn in log is printed
- The server hostname can not be used by a dhcp client, a warn in log is printed
- [SME: 2388]

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

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