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

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

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 16:15:52 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-tinydns-1_0_0-7_el4_sme
Import on branch sme7 of package e-smith-tinydns-1.0.0-7.el4.sme.src.rpm

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

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