1 |
# $Id: e-smith-ibays.spec,v 1.17 2015/06/23 20:55:23 vip-ire Exp $ |
2 |
|
3 |
Summary: e-smith server and gateway - ibays module |
4 |
%define name e-smith-ibays |
5 |
Name: %{name} |
6 |
%define version 2.4.0 |
7 |
%define release 14 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
13 |
Patch1: e-smith-ibays-2.4.0-ibay_auth.patch |
14 |
Patch2: e-smith-ibays-2.4.0-primary_ibay_symlink.patch |
15 |
Patch3: e-smith-ibays-2.4.0-force-https.patch |
16 |
Patch4: e-smith-ibays-2.4.0-https-patch-en-us.patch |
17 |
Patch5: e-smith-ibays-2.4.0-90e-smithAccess40ibays-whitespace.patch |
18 |
Patch6: e-smith-ibays-2.4.0-removeV3Migrate.patch |
19 |
Patch7: e-smith-ibays-2.4.0-RequireSSL.patch |
20 |
Patch8: e-smith-ibays-2.4.0_add_php_values_and_SSLRequireSSL.patch |
21 |
Patch9: e-smith-ibays-2.4.0_force_ssl_to_domains.patch |
22 |
Patch10: e-smith-ibays-2.4.0-remove_double_slash_in_rewrite.patch |
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
BuildArchitectures: noarch |
25 |
Requires: e-smith-base >= 4.13.15-76 |
26 |
Requires: perl(CGI::FormMagick) |
27 |
Requires: e-smith-formmagick >= 1.4.0-12 |
28 |
Conflicts: e-smith-apache < 0.1.1 |
29 |
BuildRequires: perl, perl(Test::Inline) |
30 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
31 |
AutoReqProv: no |
32 |
|
33 |
|
34 |
%description |
35 |
e-smith server and gateway software - ibays module. |
36 |
|
37 |
%changelog |
38 |
* Wed Jan 20 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-14.sme |
39 |
- Remove double / in SSL RewriteRule [SME: 9195] |
40 |
|
41 |
* Tue Jun 23 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-13.sme |
42 |
- Revert the upload_tmp_folder patch as it needs some more work [SME: 7011] |
43 |
|
44 |
* Sun Jan 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-12.sme |
45 |
- Add an upload_tmp_folder setting by db command [SME: 7011] |
46 |
- Thanks to Michael McCarn and Jean-philippe Pialasse |
47 |
- init-ibays create the folder tmp within all i-bays root directory |
48 |
- ibay-modify create/chown/chmod the folder tmp within the i-bays root directory |
49 |
|
50 |
* Sat May 4 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-11.sme |
51 |
- Add an upload_tmp_folder setting by db command [SME: 7011] |
52 |
- Thanks to Michael McCarn and Jean-philippe Pialasse |
53 |
|
54 |
* Thu Apr 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme |
55 |
- Force SSL following ibays settings to the relevant domain [SME: 8332] |
56 |
|
57 |
* Tue Apr 8 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme |
58 |
- Perl::critic syntax modifications [SME: 8239] |
59 |
- Add more PHP options to ibays only by db commands [SME: 8239] |
60 |
- Add SSLRequireSSL to ibays when SSL is set to enabled [SME: 8239] |
61 |
|
62 |
* Sat Mar 15 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-8.sme |
63 |
- Add more PHP options to ibays only by db commands [SME: 8239] |
64 |
- Add SSLRequireSSL to ibays when SSL is set to enabled [SME: 8239] |
65 |
|
66 |
* Sun Mar 9 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-7.sme |
67 |
- Force https per ibay should not be the default for existing ibays [SME: 3675] |
68 |
|
69 |
* Thu Jan 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
70 |
- Provide the ability to restrict ibay access to https, by JPP [SME: 882] |
71 |
- Remove old migrate fragment [SME: 8080] |
72 |
- Whitespace cleanup, mainly tab removal, of 90e-smithAccess40ibays |
73 |
|
74 |
* Sat Dec 8 2013 Chris Burnat <devlist@burnat.com> 2.4.0-5.sme |
75 |
- Update en-us translation file by Stephane de Labrusse [SME: 3675] |
76 |
|
77 |
* Sat Nov 30 2013 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme |
78 |
- Provide the ability to force https per ibay by Stephane de Labrusse [SME: 3675] |
79 |
|
80 |
* Mon Sep 30 2013 John H. Bennett III <bennettj@johnbennettservices.com> 2.4.0-3.sme |
81 |
- Patch to remove symlink to Primary ibay from /home/e-smith/files/primary [SME: 3730] |
82 |
|
83 |
* Mon Sep 30 2013 John H. Bennett III <bennettj@johnbennettservices.com> 2.4.0-2.sme |
84 |
- Patch to correct issue with not being able to access a password protected ibay [SME: 7794] |
85 |
|
86 |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
87 |
- Roll new stream for sme9 |
88 |
|
89 |
* Fri Dec 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-11.sme |
90 |
- Fix non-translated locale in ibays panel [SME: 6718] |
91 |
|
92 |
* Thu Oct 27 2011 Daniel B. <daniel@firewall-services.com> 2.2.0-10.sme |
93 |
- Don't try to modify Primary unix/ldap account [SME:6770] |
94 |
|
95 |
* Thu Nov 4 2010 Shad L. Lords <slords@mail.com> 2.2.0-9.sme |
96 |
- All ibay account commands as system accounts in LDAP [SME: 6326] |
97 |
|
98 |
* Thu Nov 4 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-8.sme |
99 |
- Create ibay accounts as system accounts in LDAP [SME: 6326] |
100 |
|
101 |
* Thu Nov 4 2010 Shad L. Lords <slords@mail.com> 2.2.0-7.sme |
102 |
- Fix cpu critical patch missing ) [SME: 6330] |
103 |
|
104 |
* Wed Nov 3 2010 Shad L. Lords <slords@mail.com> 2.2.0-6.sme |
105 |
- Fix cpu critical patch missing ' [SME: 6330] |
106 |
|
107 |
* Wed Nov 3 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
108 |
- Make cpu calls critical only with ldap{Auth} is enabled [SME: 6330] |
109 |
|
110 |
* Tue Nov 2 2010 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
111 |
- Always use cpu, do unix if ldap{Auth} is disabled [SME: 6326] |
112 |
|
113 |
* Mon Nov 1 2010 Shad L. Lords <slords@mail.com> 2.2.0-3.sme |
114 |
- Switch to cpu commands if ldap is master [SME: 6326] |
115 |
|
116 |
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 2.2.0-2.sme |
117 |
- Fix maxIbayNameLength logic [SME: 4457] |
118 |
|
119 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
120 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
121 |
|
122 |
* Sun Jul 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-12 |
123 |
- Fix password verify entry text box description [SME: 4460] |
124 |
|
125 |
* Thu Jul 24 2008 Shad L. Lords <slords@mail.com> 1.2.0-11 |
126 |
- Really fix faulty patch for maxIbayNameLength [SME: 4457] |
127 |
|
128 |
* Fri May 9 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-10 |
129 |
- Fixed faulty patch for maxIbayNameLength [SME: 424] |
130 |
|
131 |
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-9 |
132 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4283] |
133 |
|
134 |
* Fri Apr 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-8 |
135 |
- Move maxIbayNameLength from ibays.pm to config DB [SME: 424] |
136 |
|
137 |
* Mon Apr 7 2008 Charlie Brady <charlie_brady@mitel.com> 1.2.0-7 |
138 |
- Include index.shtml in DirectoryIndex list.[SME: 4180] |
139 |
|
140 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-6 |
141 |
- Remove <base> tags now in general [SME: 3924] |
142 |
|
143 |
* Thu Aug 30 2007 Charlie Brady <charlie_brady@mitel.com> |
144 |
- Fix warnings generated by panel. [SME: 1309] |
145 |
|
146 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
147 |
- Clean up spec so package can be built by koji/plague |
148 |
|
149 |
* Fri Dec 08 2006 Shad L. Lords <slords@mail.com> 1.2.0-4 |
150 |
- Make non-dynamic indexes not look for dynamic content. [SME: 1908] |
151 |
|
152 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
153 |
- Update to new release naming. No functional changes. |
154 |
- Make Packager generic |
155 |
|
156 |
* Wed Apr 5 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-02 |
157 |
- Fix typo in ibays http.conf template [SME: 1173] |
158 |
|
159 |
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01 |
160 |
- Roll stable stream version. [SME: 1016] |
161 |
|
162 |
* Thu Feb 23 2006 Charlie Brady <charlie_brady@mitel.com> 1.1.3-06 |
163 |
- Fix php register_globals directive. [SME: 820] |
164 |
|
165 |
* Thu Jan 19 2006 Charlie Brady <charlieb@e-smith.com> 1.1.3-05 |
166 |
- Remove bogus IbayPlugin symlink. [SME: 519] |
167 |
|
168 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.3-04 |
169 |
- Bump release number only |
170 |
|
171 |
* Sun Oct 16 2005 Gordon Rowell <gordonr@e-smith.com> |
172 |
- [1.1.3-03] |
173 |
- Allow per-ibay override for PHP register_globals setting. To enable: |
174 |
/sbin/e-smith/db accounts setprop <ibay> PHPRegisterGlobals enabled |
175 |
Thanks John Bennett [SF: 1328236] |
176 |
|
177 |
* Fri Oct 14 2005 Charlie Brady <charlieb@e-smith.com> |
178 |
- [1.1.3-02] |
179 |
- Fix missing 'use esmith::util' in ibay-modify action. |
180 |
[SF: 1327138] |
181 |
|
182 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
183 |
- [1.1.3-01] |
184 |
- Remove L10Ns from base packages [SF: 1309520] |
185 |
|
186 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
187 |
- [1.1.2-01] |
188 |
- New dev stream before relocating L10Ns |
189 |
|
190 |
* Thu Oct 6 2005 Charlie Brady <charlieb@e-smith.com> |
191 |
- [1.1.1-18] |
192 |
- Strip out plugin stuff, for now at least. [SF: 1304496] |
193 |
|
194 |
* Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com> |
195 |
- [1.1.1-17] |
196 |
- Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] |
197 |
|
198 |
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
199 |
- [1.1.1-16] |
200 |
- Added German L10N - Thanks Dietmar Berteld [SF: 1293325] |
201 |
|
202 |
* Wed Sep 14 2005 Tony Clayton <apc@e-smith.com> |
203 |
- [1.1.1-15] |
204 |
- Don't version 'none' plugin [SF: 1292084] |
205 |
|
206 |
* Mon Sep 5 2005 Tony Clayton <apc@e-smith.com> |
207 |
- [1.1.1-14] |
208 |
- Add dependency on e-smith-formmagick >= 1.3.0-10 |
209 |
- Fix default plugin display [SF: 1271745,1263740] |
210 |
- Clean up, add POD to IbayPlugin modules [SF: 1263740] |
211 |
- Support versioning of plugins, do version checks in ibay panel |
212 |
|
213 |
* Wed Aug 24 2005 Charlie Brady <charlieb@e-smith.com> |
214 |
- [1.1.1-13] |
215 |
- Default plugin to none in esFM::ibay::create_ibay(). [SF: 1267897] |
216 |
|
217 |
* Mon Aug 22 2005 Charlie Brady <charlieb@e-smith.com> |
218 |
- [1.1.1-12] |
219 |
- Fix missing "use esmith::util" in ibay plugin lib. [SF: 1265684] |
220 |
- Don't display ibay Plugin choice if "none" is the only choice. [SF: 1263740] |
221 |
|
222 |
* Fri Aug 19 2005 Gordon Rowell <gordonr@gormand.com.au> |
223 |
- [1.1.1-11] |
224 |
- Need to check $ibay->prop('type') not $ibay->type [SF: 1260237] |
225 |
|
226 |
* Tue Aug 9 2005 Shad Lords <slords@mail.com> |
227 |
- [1.1.1-10] |
228 |
- Remove 90e-smithAccess10common (belongs in e-smith-apache) |
229 |
- Move some ibay options to database |
230 |
|
231 |
* Thu Aug 4 2005 Gordon Rowell <gordonr@gormand.com.au> |
232 |
- [1.1.1-09] |
233 |
- Syntactic fix to perl code from 1.1.1-08 change |
234 |
|
235 |
* Thu Jul 28 2005 Charlie Brady <charlieb@e-smith.com> |
236 |
- [1.1.1-08] |
237 |
- Update all uses of deprecated esmith::config and db_ APIs. |
238 |
- Rewrite ibay-delete action in shell. |
239 |
|
240 |
* Wed Jan 19 2005 Charlie Brady <charlieb@e-smith.com> |
241 |
- [1.1.1-07] |
242 |
- Fix untaint RE. [charlieb MN00050161] |
243 |
- Fix "will not stay shared" warnings in IbayPlugin/none.pm |
244 |
|
245 |
* Thu Nov 11 2004 Charlie Brady <charlieb@e-smith.com> |
246 |
- [1.1.1-06] |
247 |
- Untaint name before using in system(). [charlieb MN00050161] |
248 |
|
249 |
* Fri Sep 3 2004 Charlie Brady <charlieb@e-smith.com> |
250 |
- [1.1.1-05] |
251 |
- Updated requires with new perl dependencies. [msoulier MN00040240] |
252 |
- Clean BuildRequires. [charlieb MN00043055] |
253 |
|
254 |
* Fri Feb 6 2004 Michael Soulier <msoulier@e-smith.com> |
255 |
- [1.1.1-04] |
256 |
- Fixed two issues with previous change. [msoulier 7475] |
257 |
|
258 |
* Fri Feb 6 2004 Michael Soulier <msoulier@e-smith.com> |
259 |
- [1.1.1-03] |
260 |
- Updating default repair method to set CGIs as executable if enabled. |
261 |
[msoulier 7475] |
262 |
|
263 |
* Wed Nov 19 2003 Tony Clayton <apc@e-smith.com> |
264 |
- [1.1.1-02] |
265 |
- Fix processTemplate call in IbayPlugin::none [tonyc 9924] |
266 |
- Merge ibay-conf-plugin into ibay-modify action [tonyc 9924] |
267 |
|
268 |
* Wed Nov 19 2003 Michael Soulier <msoulier@e-smith.com> |
269 |
- [1.1.1-01] |
270 |
- Collecting patches. |
271 |
|
272 |
* Wed Nov 19 2003 Michael Soulier <msoulier@e-smith.com> |
273 |
- [1.1.0-02] |
274 |
- Adding 6.0 styling to ibay panel. [msoulier 10415] |
275 |
- Converted createlinks to new api. |
276 |
- Add IbayPlugin stuff [tonyc 9924] |
277 |
- Add dependency on perl-CGI-FormMagick >= 0.91-04 [tonyc 9924] |
278 |
|
279 |
* Fri Sep 5 2003 Tony Clayton <apc@e-smith.com> |
280 |
- [1.1.0-01] |
281 |
- Changing version to development stream number - 1.1.0 |
282 |
- Rolling to development stream [tonyc 9924] |
283 |
|
284 |
* Wed Aug 13 2003 Michael Soulier <msoulier@e-smith.com> |
285 |
- [1.0.3-05] |
286 |
- Fixed the content ibay showing up in the ibay list of the primary domain's |
287 |
virtual host block. [msoulier 9649] |
288 |
|
289 |
* Wed Aug 13 2003 Michael Soulier <msoulier@e-smith.com> |
290 |
- [1.0.3-04] |
291 |
- Correcting the previous revision, and limiting ibay access as sub-urls to |
292 |
the primary domain only. [msoulier 9649] |
293 |
|
294 |
* Wed Aug 6 2003 Michael Soulier <msoulier@e-smith.com> |
295 |
- [1.0.3-03] |
296 |
- Unify ibay handling, since 15PrimaryContent is now obsolete, and changing |
297 |
the primary domain's content was breaking access to ibays. [msoulier 9649] |
298 |
|
299 |
* Wed Jul 2 2003 Charlie Brady <charlieb@e-smith.com> |
300 |
- [1.0.3-02] |
301 |
- Fix path of created starter website index file (don't rely on symlink |
302 |
which "should" point to correct place). [charlieb 9241] |
303 |
|
304 |
* Thu Jun 12 2003 Gordon Rowell <gordonr@e-smith.com> |
305 |
- [1.0.3-01] |
306 |
- Added order to migrate fragments [gordonr 9015] |
307 |
|
308 |
* Wed Jun 11 2003 Gordon Rowell <gordonr@e-smith.com> |
309 |
- [1.0.2-04] |
310 |
- Fixed Conflicts header - should be <, not <= [gordonr 8903] |
311 |
|
312 |
* Wed Jun 11 2003 Gordon Rowell <gordonr@e-smith.com> |
313 |
- [1.0.2-03] |
314 |
- Missing 'use esmith::util' [gordonr 8973] |
315 |
|
316 |
* Tue Jun 10 2003 Charlie Brady <charlieb@e-smith.com> |
317 |
- [1.0.2-02] |
318 |
- Fix broken symlinks in post-{install,upgrade}. [charlieb 8973] |
319 |
|
320 |
* Fri Jun 6 2003 Gordon Rowell <gordonr@e-smith.com> |
321 |
- [1.0.2-01] |
322 |
- Shuffled some httpd.conf fragments from e-smith-apache [gordonr 8903] |
323 |
|
324 |
* Tue May 27 2003 Charlie Brady <charlieb@e-smith.com> |
325 |
- [1.0.1-01] |
326 |
- Fix typo in createlinks script. Rolling version of package |
327 |
to correct build problem. [charlieb 8841] |
328 |
|
329 |
* Tue May 27 2003 Charlie Brady <charlieb@e-smith.com> |
330 |
- [1.0.0-02] |
331 |
- Add some code from init-accounts action which depends on |
332 |
/home/e-smith/files/ibays directory, which isn't included |
333 |
in base. New action is init-ibays. [charlieb 8841] |
334 |
|
335 |
* Thu May 8 2003 Mark Knox <markk@e-smith.com> |
336 |
- [1.0.0-01] |
337 |
- Initial release. Split out from e-smith-base. [markk 8610] |
338 |
|
339 |
%prep |
340 |
%setup |
341 |
|
342 |
%patch1 -p1 |
343 |
%patch2 -p1 |
344 |
%patch3 -p1 |
345 |
%patch4 -p1 |
346 |
%patch5 -p1 |
347 |
%patch6 -p1 |
348 |
%patch7 -p1 |
349 |
%patch8 -p1 |
350 |
%patch9 -p1 |
351 |
%patch10 -p1 |
352 |
%pre |
353 |
%post |
354 |
|
355 |
%build |
356 |
LEXICONS=$(find root/etc/e-smith/web/functions \ |
357 |
-type f | grep -v CVS | grep -v pleasewait) |
358 |
for lexicon in $LEXICONS |
359 |
do |
360 |
/sbin/e-smith/validate-lexicon $lexicon |
361 |
done |
362 |
|
363 |
/sbin/e-smith/generate-lexicons |
364 |
|
365 |
perl createlinks |
366 |
|
367 |
%install |
368 |
rm -rf $RPM_BUILD_ROOT |
369 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
370 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
371 |
> %{name}-%{version}-%{release}-filelist |
372 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
373 |
|
374 |
%clean |
375 |
rm -rf $RPM_BUILD_ROOT |
376 |
|
377 |
%files -f %{name}-%{version}-%{release}-filelist |
378 |
%defattr(-,root,root) |