/[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.5 - (hide annotations) (download)
Mon Jan 12 20:59:17 2015 UTC (9 years, 4 months ago) by stephdl
Branch: MAIN
CVS Tags: e-smith-tinydns-2_4_0-5_el6_sme
Changes since 1.4: +6 -2 lines
* Fri Jan 9 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-5.sme
- Changed the name of /tmp/dhcpd.leases to /tmp/tmpdhcpd.leases [SME: 2388]

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

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