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