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