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

Contents 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.2 - (show annotations) (download)
Tue Oct 7 19:24:02 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: e-smith-tinydns-2_2_0-1_el5_sme
Changes since 1.1: +7 -8 lines
New streams

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

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