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