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

Contents 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.1 - (show annotations) (download)
Wed Feb 6 21:46:33 2013 UTC (11 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-tinydns-2_4_0-1_el6_sme
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
- Roll new stream for sme9

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

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