--- rpms/e-smith-ibays/sme9/e-smith-ibays.spec 2014/04/24 16:32:20 1.11 +++ rpms/e-smith-ibays/sme9/e-smith-ibays.spec 2014/05/08 07:20:20 1.12 @@ -1,10 +1,10 @@ -# $Id: e-smith-ibays.spec,v 1.10 2014/04/08 20:07:18 stephdl Exp $ +# $Id: e-smith-ibays.spec,v 1.11 2014/04/24 16:32:20 stephdl Exp $ Summary: e-smith server and gateway - ibays module %define name e-smith-ibays Name: %{name} %define version 2.4.0 -%define release 10 +%define release 11 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -19,6 +19,7 @@ Patch6: e-smith-ibays-2.4.0-removeV3Migr Patch7: e-smith-ibays-2.4.0-RequireSSL.patch Patch8: e-smith-ibays-2.4.0_add_php_values_and_SSLRequireSSL.patch Patch9: e-smith-ibays-2.4.0_force_ssl_to_domains.patch +Patch10: e-smith-ibays-2.4.0_addtmpfolder_to_ibays.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-base >= 4.13.15-76 @@ -34,6 +35,10 @@ AutoReqProv: no e-smith server and gateway software - ibays module. %changelog +* Sat May 4 2014 stephane de Labrusse 2.4.0-11.sme +- Add an upload_tmp_folder setting by db command [sme: 7011] +- Thanks to Michael McCarn and Jean-philippe Pialasse + * Thu Apr 24 2014 stephane de Labrusse 2.4.0-10.sme - Force SSL following ibays settings to the relevant domain [SME: 8332] @@ -331,8 +336,16 @@ e-smith server and gateway software - ib %patch7 -p1 %patch8 -p1 %patch9 -p1 +%patch10 -p1 %pre %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 %build LEXICONS=$(find root/etc/e-smith/web/functions \