1 |
%define version 3.0.0 |
%define version 3.0.0 |
2 |
%define release 41 |
%define release 44 |
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 |
|
|
49 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
50 |
BuildArch: x86_64 |
BuildArch: x86_64 |
304 |
%patch30 -p1 |
%patch30 -p1 |
305 |
%patch31 -p1 |
%patch31 -p1 |
306 |
%patch32 -p1 |
%patch32 -p1 |
307 |
|
%patch33 -p1 |
308 |
|
%patch34 -p1 |
309 |
|
|
310 |
%build |
%build |
311 |
perl createlinks |
perl createlinks |
322 |
#drop in systemd file |
#drop in systemd file |
323 |
%{__mkdir_p} root/usr/lib/systemd/system/php-fpm.service.d |
%{__mkdir_p} root/usr/lib/systemd/system/php-fpm.service.d |
324 |
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 |
325 |
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 |
326 |
|
|
327 |
%{__mkdir_p} root/etc/e-smith/templates.metadata/etc/logrotate.d/ |
%{__mkdir_p} root/etc/e-smith/templates.metadata/etc/logrotate.d/ |
328 |
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 |
332 |
|
|
333 |
#db configuration |
#db configuration |
334 |
%{__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 |
335 |
|
%{__mkdir_p} root/etc/e-smith/db/configuration/defaults/php$phpver |
336 |
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 |
337 |
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 |
338 |
|
|
407 |
%preun |
%preun |
408 |
|
|
409 |
%changelog |
%changelog |
410 |
|
* Wed Dec 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.0.0-44.sme |
411 |
|
- fix tkt auth not propagated to php pool [SME: 12269] |
412 |
|
|
413 |
|
* Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.0.0-43.sme |
414 |
|
- update to httpd 2.4 Require usage [SME: 11943] |
415 |
|
|
416 |
|
* Mon Dec 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 3.0.0-42.sme |
417 |
|
- fix missing section in php-fpm dropin file [SME: 11814] |
418 |
|
|
419 |
* 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 |
420 |
- add php81 support [SME: 11717] |
- add php81 support [SME: 11717] |
421 |
|
|