--- rpms/smeserver-php/sme10/smeserver-php.spec 2020/03/25 03:06:31 1.9 +++ rpms/smeserver-php/sme10/smeserver-php.spec 2020/03/26 04:19:25 1.11 @@ -1,5 +1,5 @@ %define version 3.0.0 -%define release 8 +%define release 9 %define name smeserver-php @@ -247,7 +247,8 @@ done #php5* for phpver in "55" ; do #cp php56 metadata -cp -a root/etc/e-smith/templates.metadata/opt/remi/php56 root/etc/e-smith/templates.metadata/opt/remi/php$phpver +mkdir -p root/etc/e-smith/templates.metadata/opt/remi/php$phpver +cp -a root/etc/e-smith/templates.metadata/opt/remi/php56/* root/etc/e-smith/templates.metadata/opt/remi/php$phpver #sed inplace find root/etc/e-smith/templates.metadata/opt/remi/php$phpver -type f -print0 | xargs -0 sed -i 's/56/'$phpver'/g' done @@ -255,7 +256,8 @@ done # php7* for phpver in "72" "73" "74"; do #cp ph70 metada -cp -a root/etc/e-smith/templates.metadata/etc/opt/remi/php70 root/etc/e-smith/templates.metadata/etc/opt/remi/php$phpver +mkdir -p root/etc/e-smith/templates.metadata/etc/opt/remi/php$phpver/ +cp -a root/etc/e-smith/templates.metadata/etc/opt/remi/php70/* root/etc/e-smith/templates.metadata/etc/opt/remi/php$phpver/ #sed inplace find root/etc/e-smith/templates.metadata/etc/opt/remi/php$phpver -type f -print0 | xargs -0 sed -i 's/70/'$phpver'/g' done @@ -295,6 +297,11 @@ rm -rf $RPM_BUILD_ROOT %preun %changelog +* Thu Mar 26 2020 Jean-Philipe Pialasse 3.0.0-9.sme +- move auto_prepend_file from php.ini to php-fpm.d [SME: 10904] + add /usr/share/php in open_basedir if dfined to allow execution of auto_prepend_file +- fix templates-metadata path fot php 55 72 73 74 + * Tue Mar 24 2020 Jean-Philipe Pialasse 3.0.0-8.sme - transfer SERVER auth variables from httpd server to php-fpm pool [SME: 10904] this allow easy auth for php app using httpd auth as if using php module