1 |
# $Id$ |
2 |
|
3 |
Summary: e-smith server and gateway - domains module |
4 |
%define name e-smith-domains |
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 |
BuildArchitectures: noarch |
15 |
Requires: e-smith-base >= 4.13.15-76 |
16 |
Requires: perl(HTML::Tabulate) >= 0.23 |
17 |
Requires: e-smith-formmagick >= 1.4.0-12 |
18 |
BuildRequires: perl(Test::Inline) >= 0.12 |
19 |
BuildRequires: perl |
20 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
21 |
AutoReqProv: no |
22 |
|
23 |
|
24 |
%description |
25 |
e-smith server and gateway software - domains module. |
26 |
|
27 |
%changelog |
28 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
29 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
30 |
|
31 |
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11 |
32 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4287] |
33 |
|
34 |
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> 1.4.0-10 |
35 |
- Cleanup CREATE/ADD tag mixup [SME: 4045] |
36 |
|
37 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.4.0-9 |
38 |
- Remove <base> tags now in general [SME: 3926] |
39 |
|
40 |
* Fri Oct 26 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.0-8 |
41 |
- Fix removal of Corporate DNS setting (take III). [SME: 3415] |
42 |
|
43 |
* Sat Oct 20 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.0-7 |
44 |
- Add missing braces in last patch. [SME: 3415] |
45 |
|
46 |
* Tue Oct 16 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.0-6 |
47 |
- Allow Corporate DNS settings to be removed via panel. [SME: 3415] |
48 |
|
49 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
50 |
- Clean up spec so package can be built by koji/plague |
51 |
|
52 |
* Sat Jan 13 2007 Shad L. Lords <slords@mail.com> 1.4.0-5 |
53 |
- Remove references to virtual from panels [SME: 1517] |
54 |
|
55 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
56 |
- Update to new release naming. No functional changes. |
57 |
- Make Packager generic |
58 |
|
59 |
* Thu Nov 09 2006 Gavin Weight <gweight@gmail.com> 1.4.0-03 |
60 |
- Missing period at the end of the description. [SME: 1852] |
61 |
|
62 |
* Sat Aug 19 2006 Gavin Weight <gweight@gmail.com> 1.4.0-02 |
63 |
- Added Text explaination for Corporate DNS Settings. [SME: 1852] |
64 |
|
65 |
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.4.0-01 |
66 |
- Roll stable stream version. [SME: 1016] |
67 |
|
68 |
* Sat Feb 18 2006 Gavin Weight <gweight@gmail.com> 1.3.3-6 |
69 |
- Table and columns headers not translated. [SME: 809] |
70 |
|
71 |
* Mon Jan 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.3-05 |
72 |
- Remove empty pre and post scriptlets. In some cases they cause |
73 |
package upgrade failures. [SME: 544] |
74 |
|
75 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.3-04 |
76 |
- Bump release number only |
77 |
|
78 |
* Sun Nov 27 2005 Charlie Brady <charlieb@e-smith.com> |
79 |
- [1.3.3-03] |
80 |
- Regenerate tinydns data file during domain-{create,delete,modify}. |
81 |
[SF: 1366653] |
82 |
|
83 |
* Tue Nov 15 2005 Gordon Rowell <gordonr@e-smith.com> |
84 |
- [1.3.3-02] |
85 |
- Use a single validator for domain names and complain if the |
86 |
validation fails. Previously hyphens passed the panel validator |
87 |
but failed on add (or delete). |
88 |
- TODO: Strengthen the regexp [SF: 1352880] |
89 |
|
90 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
91 |
- [1.3.3-01] |
92 |
- Remove L10Ns from base packages [SF: 1309520] |
93 |
|
94 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
95 |
- [1.3.2-01] |
96 |
- New dev stream before relocating L10Ns |
97 |
|
98 |
* Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com> |
99 |
- [1.3.1-05] |
100 |
- Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] |
101 |
|
102 |
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
103 |
- [1.3.1-04] |
104 |
- French L10N fixups (and reformat) - Thanks Didier Rambeau [SF: 1293787] |
105 |
|
106 |
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
107 |
- [1.3.1-03] |
108 |
- Added German L10N - Thanks Dietmar Berteld [SF: 1293325] |
109 |
|
110 |
* Thu Aug 25 2005 Gordon Rowell <gordonr@gormand.com.au> |
111 |
- [1.3.1-02] |
112 |
- Rewrite with CGI::FormMagick and HTML::Tabulate |
113 |
- Added corporate DNS settings with page to change them |
114 |
- Update to HTML::Tabulate 0.23 so that the remove link goes |
115 |
away when we don't want it - Thanks to Gavin Carr for the |
116 |
immediate patch turnaround. |
117 |
- Only add "Corporate DNS Servers" to picklist if configured |
118 |
- Migrate all domains in domains db, defaulting system domain to |
119 |
'localhost', and others to 'internet' |
120 |
- Remove table border, and change stripe colour to match other buttons |
121 |
- Add calls to signal-event for create/modify/delete |
122 |
- TODO: Insert name of domain to be deleted on remove page |
123 |
- Signal the dns-update event when DNS configuration is changed |
124 |
- Migrate the Nameserver property to the Nameservers |
125 |
|
126 |
* Thu Aug 25 2005 Charlie Brady <charlieb@e-smith.com> |
127 |
- [1.3.1-01] |
128 |
- Roll new development stream prior to adding support for delegation to |
129 |
Corporate Nameservers. |
130 |
|
131 |
* Wed Jul 27 2005 Charlie Brady <charlieb@e-smith.com> |
132 |
- [1.3.0-07] |
133 |
- Remove dangling tinydns-conf symlinks.[SF: 1240099] |
134 |
|
135 |
* Sat Mar 19 2005 Charlie Brady <charlieb@e-smith.com> |
136 |
- [1.3.0-06] |
137 |
- Replace obsolete conf-mod_ssl symlink with fodder for |
138 |
generic_expand_template. |
139 |
|
140 |
* Tue Dec 28 2004 Charlie Brady <charlieb@e-smith.com> |
141 |
- [1.3.0-05] |
142 |
- Set non-empty path so domain panel can restart apache. |
143 |
[charlieb MN00050181] |
144 |
|
145 |
* Tue Sep 28 2004 Michael Soulier <msoulier@e-smith.com> |
146 |
- [1.3.0-04] |
147 |
- Updated requires with new perl dependencies. [msoulier MN00040240] |
148 |
|
149 |
* Tue Jul 13 2004 Michael Soulier <msoulier@e-smith.com> |
150 |
- [1.3.0-03] |
151 |
- Added big, red reboot warning. [msoulier MN00041156] |
152 |
|
153 |
* Tue Jul 13 2004 Michael Soulier <msoulier@e-smith.com> |
154 |
- [1.3.0-02] |
155 |
- Whitespace fix. |
156 |
|
157 |
* Wed Feb 4 2004 Michael Soulier <msoulier@e-smith.com> |
158 |
- [1.3.0-01] |
159 |
- rolling to dev - 1.3.0 |
160 |
|
161 |
* Wed Feb 4 2004 Michael Soulier <msoulier@e-smith.com> |
162 |
- [1.2.0-01] |
163 |
- rolling to stable - 1.2.0 |
164 |
|
165 |
* Mon Oct 20 2003 Michael Soulier <msoulier@e-smith.com> |
166 |
- [1.1.0-03] |
167 |
- Fixed the red success message. [msoulier 9265] |
168 |
|
169 |
* Tue Sep 23 2003 Mark Knox <markk@e-smith.com> |
170 |
- [1.1.0-02] |
171 |
- Removed reserved 'secure.domain' name as it is no longer a special |
172 |
case [markk 8989] |
173 |
|
174 |
* Tue Sep 23 2003 Mark Knox <markk@e-smith.com> |
175 |
- [1.1.0-01] |
176 |
- Rolling to development stream - 1.1.0 |
177 |
|
178 |
* Sun Sep 14 2003 Charlie Brady <charlieb@e-smith.com> |
179 |
- [1.0.0-08] |
180 |
- Remove xinetd-reload from domain-{create,delete,modify} events. |
181 |
[charlieb 9804] |
182 |
|
183 |
* Mon Aug 25 2003 Charlie Brady <charlieb@e-smith.com> |
184 |
- [1.0.0-07] |
185 |
- Reconfig tinydns when adding/removing a domain. [charlieb 9642] |
186 |
|
187 |
* Tue Jun 24 2003 Gordon Rowell <gordonr@e-smith.com> |
188 |
- [1.0.0-06] |
189 |
- Spanish nav bar [gordonr 9153] |
190 |
|
191 |
* Tue Jun 17 2003 Gordon Rowell <gordonr@e-smith.com> |
192 |
- [1.0.0-05] |
193 |
- c&p error in change 1.0.0-02 [gordonr 8954] |
194 |
|
195 |
* Thu Jun 12 2003 Gordon Rowell <gordonr@e-smith.com> |
196 |
- [1.0.0-04] |
197 |
- Added order tags to migrate fragments [gordonr 9015] |
198 |
|
199 |
* Tue Jun 10 2003 Charlie Brady <charlieb@e-smith.com> |
200 |
- [1.0.0-03] |
201 |
- Fix wrong DB name in warning message. [charlieb 8954] |
202 |
|
203 |
* Tue Jun 10 2003 Charlie Brady <charlieb@e-smith.com> |
204 |
- [1.0.0-02] |
205 |
- Force domain names to lower case - DNS is case insensitive. [charlieb 8954] |
206 |
|
207 |
* Thu May 8 2003 Mark Knox <markk@e-smith.com> |
208 |
- [1.0.0-01] |
209 |
- Initial release. This module used to be part of e-smith-base. [markk 8610] |
210 |
|
211 |
%prep |
212 |
%setup |
213 |
|
214 |
%build |
215 |
# Force creation of potentially empty directories |
216 |
mkdir -p root/etc/e-smith/web/{common,functions} |
217 |
mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,common,html} |
218 |
|
219 |
LEXICONS=$(find root/etc/e-smith/web/{functions,panels/password/cgi-bin} \ |
220 |
-type f | grep -v CVS | grep -v pleasewait) |
221 |
|
222 |
for lexicon in $LEXICONS |
223 |
do |
224 |
/sbin/e-smith/validate-lexicon $lexicon |
225 |
done |
226 |
|
227 |
/sbin/e-smith/generate-lexicons |
228 |
|
229 |
perl createlinks |
230 |
|
231 |
%install |
232 |
rm -rf $RPM_BUILD_ROOT |
233 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
234 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
235 |
> %{name}-%{version}-%{release}-filelist |
236 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
237 |
|
238 |
%clean |
239 |
rm -rf $RPM_BUILD_ROOT |
240 |
|
241 |
%files -f %{name}-%{version}-%{release}-filelist |
242 |
%defattr(-,root,root) |