1 |
# $Id: e-smith-ibays.spec,v 1.11 2014/04/24 16:32:20 stephdl Exp $ |
# $Id: e-smith-ibays.spec,v 1.16 2015/01/16 13:18:47 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 11 |
%define release 13 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
19 |
Patch7: e-smith-ibays-2.4.0-RequireSSL.patch |
Patch7: e-smith-ibays-2.4.0-RequireSSL.patch |
20 |
Patch8: e-smith-ibays-2.4.0_add_php_values_and_SSLRequireSSL.patch |
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 |
Patch9: e-smith-ibays-2.4.0_force_ssl_to_domains.patch |
22 |
Patch10: e-smith-ibays-2.4.0_addtmpfolder_to_ibays.patch |
#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 |
|
* Tue Jun 23 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-13.sme |
39 |
|
- Revert the upload_tmp_folder patch as it needs some more work [SME: 7011] |
40 |
|
|
41 |
|
* Sun Jan 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-12.sme |
42 |
|
- Add an upload_tmp_folder setting by db command [SME: 7011] |
43 |
|
- Thanks to Michael McCarn and Jean-philippe Pialasse |
44 |
|
- init-ibays create the folder tmp within all i-bays root directory |
45 |
|
- ibay-modify create/chown/chmod the folder tmp within the i-bays root directory |
46 |
|
|
47 |
* Sat May 4 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-11.sme |
* Sat May 4 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-11.sme |
48 |
- Add an upload_tmp_folder setting by db command [sme: 7011] |
- Add an upload_tmp_folder setting by db command [SME: 7011] |
49 |
- Thanks to Michael McCarn and Jean-philippe Pialasse |
- Thanks to Michael McCarn and Jean-philippe Pialasse |
50 |
|
|
51 |
* Thu Apr 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme |
* Thu Apr 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme |
345 |
%patch7 -p1 |
%patch7 -p1 |
346 |
%patch8 -p1 |
%patch8 -p1 |
347 |
%patch9 -p1 |
%patch9 -p1 |
348 |
%patch10 -p1 |
#%patch10 -p1 |
349 |
%pre |
%pre |
350 |
%post |
%post |
|
# added to create tmp folder for bug 7011 |
|
|
for folder_ibay in $(ls /home/e-smith/files/ibays/) |
|
|
do |
|
|
/bin/mkdir -p /home/e-smith/files/ibays/$folder_ibay/tmp |
|
|
/bin/chmod -R 700 /home/e-smith/files/ibays/$folder_ibay/tmp |
|
|
/bin/chown -R www:www /home/e-smith/files/ibays/$folder_ibay/tmp |
|
|
done |
|
351 |
|
|
352 |
%build |
%build |
353 |
LEXICONS=$(find root/etc/e-smith/web/functions \ |
LEXICONS=$(find root/etc/e-smith/web/functions \ |