1 |
%define version 3.0.0 |
%define version 3.0.0 |
2 |
%define release 41 |
%define release 45 |
3 |
%define name smeserver-php |
%define name smeserver-php |
4 |
|
|
5 |
|
|
43 |
Patch30: smeserver-php-3.0.0-bz8077-bz11666.patch |
Patch30: smeserver-php-3.0.0-bz8077-bz11666.patch |
44 |
Patch31: smeserver-php-3.0.0-bz11666-error_reporting.patch |
Patch31: smeserver-php-3.0.0-bz11666-error_reporting.patch |
45 |
Patch32: smeserver-php-3.0.0-bz11717-addphp81.patch |
Patch32: smeserver-php-3.0.0-bz11717-addphp81.patch |
46 |
|
Patch33: smeserver-php-3.0.0-bz11943-require.patch |
47 |
|
Patch34: smeserver-php-3.0.0-bz12269.patch |
48 |
|
Patch35: smeserver-php-3.0.0-bz12303-session.save_handler.patch |
49 |
|
|
50 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
51 |
BuildArch: x86_64 |
BuildArch: x86_64 |
305 |
%patch30 -p1 |
%patch30 -p1 |
306 |
%patch31 -p1 |
%patch31 -p1 |
307 |
%patch32 -p1 |
%patch32 -p1 |
308 |
|
%patch33 -p1 |
309 |
|
%patch34 -p1 |
310 |
|
%patch35 -p1 |
311 |
|
|
312 |
%build |
%build |
313 |
perl createlinks |
perl createlinks |
324 |
#drop in systemd file |
#drop in systemd file |
325 |
%{__mkdir_p} root/usr/lib/systemd/system/php-fpm.service.d |
%{__mkdir_p} root/usr/lib/systemd/system/php-fpm.service.d |
326 |
echo "[Install]" > root/usr/lib/systemd/system/php-fpm.service.d/51koozali.conf |
echo "[Install]" > root/usr/lib/systemd/system/php-fpm.service.d/51koozali.conf |
327 |
echo "WantedBy=sme-server.target" > root/usr/lib/systemd/system/php-fpm.service.d/51koozali.conf |
echo "WantedBy=sme-server.target" >> root/usr/lib/systemd/system/php-fpm.service.d/51koozali.conf |
328 |
|
|
329 |
%{__mkdir_p} root/etc/e-smith/templates.metadata/etc/logrotate.d/ |
%{__mkdir_p} root/etc/e-smith/templates.metadata/etc/logrotate.d/ |
330 |
for phpver in "55" "56" "70" "71" "72" "73" "74" "80" "81"; do |
for phpver in "55" "56" "70" "71" "72" "73" "74" "80" "81"; do |
334 |
|
|
335 |
#db configuration |
#db configuration |
336 |
%{__mkdir_p} root/etc/e-smith/db/configuration/defaults/php$phpver-php-fpm |
%{__mkdir_p} root/etc/e-smith/db/configuration/defaults/php$phpver-php-fpm |
337 |
|
%{__mkdir_p} root/etc/e-smith/db/configuration/defaults/php$phpver |
338 |
echo 'enabled' > root/etc/e-smith/db/configuration/defaults/php$phpver-php-fpm/status |
echo 'enabled' > root/etc/e-smith/db/configuration/defaults/php$phpver-php-fpm/status |
339 |
echo 'service'> root/etc/e-smith/db/configuration/defaults/php$phpver-php-fpm/type |
echo 'service'> root/etc/e-smith/db/configuration/defaults/php$phpver-php-fpm/type |
340 |
|
|
409 |
%preun |
%preun |
410 |
|
|
411 |
%changelog |
%changelog |
412 |
|
* Sat Feb 04 2023 Jean-Philippe Pialasse <tests@pialasse.com> 3.0.0-45.sme |
413 |
|
- fix session.save_handler forced without any way to change it [SME: 12303] |
414 |
|
|
415 |
|
* Wed Dec 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.0.0-44.sme |
416 |
|
- fix tkt auth not propagated to php pool [SME: 12269] |
417 |
|
|
418 |
|
* Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.0.0-43.sme |
419 |
|
- update to httpd 2.4 Require usage [SME: 11943] |
420 |
|
|
421 |
|
* Mon Dec 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 3.0.0-42.sme |
422 |
|
- fix missing section in php-fpm dropin file [SME: 11814] |
423 |
|
|
424 |
* Sun Oct 24 2021 Jean-Philippe Pialasse <tests@pialasse.com> 3.0.0-41.sme |
* Sun Oct 24 2021 Jean-Philippe Pialasse <tests@pialasse.com> 3.0.0-41.sme |
425 |
- add php81 support [SME: 11717] |
- add php81 support [SME: 11717] |
426 |
|
|