--- rpms/smeserver-php/sme10/smeserver-php.spec 2020/03/11 04:58:57 1.7 +++ rpms/smeserver-php/sme10/smeserver-php.spec 2020/06/23 18:48:37 1.15 @@ -1,5 +1,5 @@ %define version 3.0.0 -%define release 6 +%define release 13 %define name smeserver-php @@ -16,7 +16,10 @@ Patch2: smeserver-php-fpm-0.1.1-bz10879- Patch3: smeserver-php-fpm-0.1.1-bz10877-pool-logs.patch Patch4: smeserver-php-3.0.0-bz10888-sys_temp_dir.patch Patch5: smeserver-php-fpm-0.1.1-bz0335-fix2.patch -Patch6: smeserver-php-fpm-0.1.1-bz10335-fix3-systemd-units.patch +Patch6: smeserver-php-fpm-0.1.1-bz10335-fix3-systemd-units.patch +Patch7: smeserver-php-3.0.0-bz10891-php.ini-allversions.patch +Patch8: smeserver-php-3.0.0-bz10904-pass-auth-token-to-fpm.patch +Patch9: smeserver-php-3.0.0-bz8787-phpmail.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArch: x86_64 @@ -207,6 +210,9 @@ Manage PHP FPM pools, and switch between %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 %build perl createlinks @@ -243,7 +249,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 @@ -251,7 +258,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 @@ -291,6 +299,31 @@ rm -rf $RPM_BUILD_ROOT %preun %changelog +* Tue Jun 23 2020 Jean-Philipe Pialasse 3.0.0-13.sme +- move and fix link to start services units [SME: 10960] + +* Fri Mar 27 2020 Jean-Philipe Pialasse 3.0.0-12.sme +- fix typo in smeserver-php-3.0.0-bz10904-pass-auth-token-to-fpm.patch [SME: 10904] + +* Thu Mar 26 2020 Jean-Philipe Pialasse 3.0.0-11.sme +- help monitoring email sent by php [SME: 8787] + +* 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 + +* Tue Mar 24 2020 Jean-Philipe Pialasse 3.0.0-7.sme +- templating all php.ini for all available version [SME: 10891] + expanded using webapps-update, smeserver-php-update, console-save and bootstrap-console-save + Values are those from php configuration key, unless defined for the php$VERSION key. + only one template for all, using templates.metadata and conditions vhen needed. + reworked the content of the php.ini to have it uptodate + * Wed Mar 11 2020 Jean-Philipe Pialasse 3.0.0-6.sme - enable units for php-fpm services [SME: 10335]