--- rpms/smeserver-php/sme10/smeserver-php.spec 2020/01/28 19:39:21 1.1 +++ rpms/smeserver-php/sme10/smeserver-php.spec 2020/03/25 03:06:31 1.9 @@ -1,5 +1,5 @@ %define version 3.0.0 -%define release 1 +%define release 8 %define name smeserver-php @@ -10,6 +10,15 @@ Release: %{release}%{?dist} License: MIT Group: Applications/System Source: %{name}-%{version}.tar.gz +Patch0: smeserver-php-fpm-0.1.1-bz10871-ibay-php-fpm.patch +Patch1: smeserver-php-fpm-0.1.1-bz10871-bz10335-fix1.patch +Patch2: smeserver-php-fpm-0.1.1-bz10879-php-fpm_syslog.patch +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 +Patch7: smeserver-php-3.0.0-bz10891-php.ini-allversions.patch +Patch8: smeserver-php-3.0.0-bz10904-pass-auth-token-to-fpm.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArch: x86_64 @@ -193,6 +202,15 @@ Manage PHP FPM pools, and switch between %prep %setup -q -n %{name}-%{version} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 %build perl createlinks @@ -277,6 +295,33 @@ rm -rf $RPM_BUILD_ROOT %preun %changelog +* 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] + +* Tue Mar 10 2020 Jean-Philipe Pialasse 3.0.0-5.sme +- set sys_temp_dir for php-fpm and ibays [SME: 10888] +- set restart for php-fpm services in the smeserver-php-update event [SME: 10335] + +* Mon Mar 09 2020 Jean-Philipe Pialasse 3.0.0-3.sme +- fix typos and logic in scripts [SME: 10335] +- only set php admin values if php module is enabled [SME: 10871] +- redirect php*-php-fpm services logs to /var/log/php/php*/php-fpm.log [SME: 10879] +- pool logs in /var/log/php/*/error.log [SME: 10877] + +* Sat Feb 01 2020 Jean-Philipe Pialasse 3.0.0-2.sme +- modification for ibays php-fpm support in httpd.conf [SME: 10871] + * Tue Jan 28 2020 Jean-Philipe Pialasse 3.0.0-1.sme - initial release of smeserver-php from smeserver-php-fpm [SME: 10335] added support for ibays, remove references to shares (should move to smeserver-share-folders) @@ -310,7 +355,7 @@ rm -rf $RPM_BUILD_ROOT * Fri Nov 14 2014 Charlie Brady 2.4.0-4.sme - Remove obsolete gpc_order setting from php.ini. [SME: 8652] -* Sat May 4 2014 stephane de Labrusse 2.4.0-3.sme +* Sun May 4 2014 stephane de Labrusse 2.4.0-3.sme - Add an upload_tmp_folder setting by db command [SME: 7011] - Thanks to Michael McCarn and Jean-philippe Pialasse