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

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

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


Revision 1.3 - (hide annotations) (download)
Thu Jul 29 14:28:58 2010 UTC (14 years, 3 months ago) by filippocarletti
Branch: MAIN
CVS Tags: e-smith-tinydns-2_2_0-2_el5_sme, HEAD
Changes since 1.2: +7 -2 lines
* Thu Jul 29 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-2.sme
- Allow use of CNAME in remote hosts [SME: 3132]

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

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