1 |
# $Id: e-smith-ibays.spec,v 1.3 2013/10/01 03:07:45 mrjhb3 Exp $ |
# $Id: e-smith-ibays.spec,v 1.11 2014/04/24 16:32:20 stephdl Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - ibays module |
Summary: e-smith server and gateway - ibays module |
4 |
%define name e-smith-ibays |
%define name e-smith-ibays |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.4.0 |
%define version 2.4.0 |
7 |
%define release 4 |
%define release 11 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
13 |
Patch1: e-smith-ibays-2.4.0-ibay_auth.patch |
Patch1: e-smith-ibays-2.4.0-ibay_auth.patch |
14 |
Patch2: e-smith-ibays-2.4.0-primary_ibay_symlink.patch |
Patch2: e-smith-ibays-2.4.0-primary_ibay_symlink.patch |
15 |
Patch3: e-smith-ibays-2.4.0-force-https.patch |
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_addtmpfolder_to_ibays.patch |
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
25 |
Requires: e-smith-base >= 4.13.15-76 |
Requires: e-smith-base >= 4.13.15-76 |
35 |
e-smith server and gateway software - ibays module. |
e-smith server and gateway software - ibays module. |
36 |
|
|
37 |
%changelog |
%changelog |
38 |
|
* Sat May 4 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-11.sme |
39 |
|
- Add an upload_tmp_folder setting by db command [sme: 7011] |
40 |
|
- Thanks to Michael McCarn and Jean-philippe Pialasse |
41 |
|
|
42 |
|
* Thu Apr 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme |
43 |
|
- Force SSL following ibays settings to the relevant domain [SME: 8332] |
44 |
|
|
45 |
|
* Tue Apr 8 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme |
46 |
|
- Perl::critic syntax modifications [SME: 8239] |
47 |
|
- Add more PHP options to ibays only by db commands [SME: 8239] |
48 |
|
- Add SSLRequireSSL to ibays when SSL is set to enabled [SME: 8239] |
49 |
|
|
50 |
|
* Sat Mar 15 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-8.sme |
51 |
|
- Add more PHP options to ibays only by db commands [SME: 8239] |
52 |
|
- Add SSLRequireSSL to ibays when SSL is set to enabled [SME: 8239] |
53 |
|
|
54 |
|
* Sun Mar 9 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-7.sme |
55 |
|
- Force https per ibay should not be the default for existing ibays [SME: 3675] |
56 |
|
|
57 |
|
* Thu Jan 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
58 |
|
- Provide the ability to restrict ibay access to https, by JPP [SME: 882] |
59 |
|
- Remove old migrate fragment [SME: 8080] |
60 |
|
- Whitespace cleanup, mainly tab removal, of 90e-smithAccess40ibays |
61 |
|
|
62 |
|
* Sat Dec 8 2013 Chris Burnat <devlist@burnat.com> 2.4.0-5.sme |
63 |
|
- Update en-us translation file by Stephane de Labrusse [SME: 3675] |
64 |
|
|
65 |
* Sat Nov 30 2013 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme |
* Sat Nov 30 2013 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme |
66 |
- Provide the ability to force https per ibay by Stephane de Labrusse [SME: 3675] |
- Provide the ability to force https per ibay by Stephane de Labrusse [SME: 3675] |
67 |
|
|
330 |
%patch1 -p1 |
%patch1 -p1 |
331 |
%patch2 -p1 |
%patch2 -p1 |
332 |
%patch3 -p1 |
%patch3 -p1 |
333 |
|
%patch4 -p1 |
334 |
|
%patch5 -p1 |
335 |
|
%patch6 -p1 |
336 |
|
%patch7 -p1 |
337 |
|
%patch8 -p1 |
338 |
|
%patch9 -p1 |
339 |
|
%patch10 -p1 |
340 |
%pre |
%pre |
341 |
%post |
%post |
342 |
|
# added to create tmp folder for bug 7011 |
343 |
|
for folder_ibay in $(ls /home/e-smith/files/ibays/) |
344 |
|
do |
345 |
|
/bin/mkdir -p /home/e-smith/files/ibays/$folder_ibay/tmp |
346 |
|
/bin/chmod -R 700 /home/e-smith/files/ibays/$folder_ibay/tmp |
347 |
|
/bin/chown -R www:www /home/e-smith/files/ibays/$folder_ibay/tmp |
348 |
|
done |
349 |
|
|
350 |
%build |
%build |
351 |
LEXICONS=$(find root/etc/e-smith/web/functions \ |
LEXICONS=$(find root/etc/e-smith/web/functions \ |