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