/[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.3 - (hide annotations) (download)
Tue Jun 17 23:11:11 2014 UTC (10 years, 5 months ago) by stephdl
Branch: MAIN
Changes since 1.2: +4 -3 lines
* Tue Jun 18 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-3.sme
- add new feature Parse dhcpd.leases and feed to tinydns
- e-smith-tinydns-2.4.0_add_hostname_following_dhcpdleases_hostname.patch
- made from the solution of Stefano Zamboni [SME:2388]
- Thanks also for all other implicated members in this bug report

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

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