--- rpms/smeserver-php/sme10/smeserver-php.spec 2023/08/26 10:17:59 1.57 +++ rpms/smeserver-php/sme10/smeserver-php.spec 2023/09/04 11:05:09 1.58 @@ -1,5 +1,5 @@ %define version 3.0.0 -%define release 46 +%define release 47 %define name smeserver-php @@ -47,6 +47,7 @@ Patch33: smeserver-php-3.0.0-bz11943-req Patch34: smeserver-php-3.0.0-bz12269.patch Patch35: smeserver-php-3.0.0-bz12303-session.save_handler.patch Patch36: smeserver-php-3.0.0-bz12403-addphp82.patch +Patch37: smeserver-php-3.0.0-bz12405-addphp83.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArch: x86_64 @@ -56,14 +57,15 @@ Requires: e-smith-base >= 5.6.0 Provides: e-smith-php = %{version}-%{release} Obsoletes: e-smith-php < %{version} Provides: smeserver-webapps-common -Provides: php(language) = 8.2 -Provides: php(language) = 8.1 -Provides: php(language) = 8.0 -Provides: php(language) = 7.4 -Provides: php(language) = 7.3 -Provides: php(language) = 7.2 -Provides: php(language) = 7.1 Provides: php(language) = 7.0 +Provides: php(language) = 7.1 +Provides: php(language) = 7.2 +Provides: php(language) = 7.3 +Provides: php(language) = 7.4 +Provides: php(language) = 8.0 +Provides: php(language) = 8.1 +Provides: php(language) = 8.2 +Provides: php(language) = 8.3 Requires: tmpwatch Requires: logrotate @@ -289,6 +291,24 @@ Requires: php82-php-process Requires: php82-php-snmp Requires: php82-php, php82-php-enchant , php82-php-pdo php82-php-tidy , php82-php-mysqlnd php82-php-pecl-zip +# PHP 8.3 +Requires: php83-php-cli +Requires: php83-php-ldap +Requires: php83-php-imap +Requires: php83-php-gd +Requires: php83-php-xml +Requires: php83-php-xmlrpc +Requires: php83-php-soap +Requires: php83-php-opcache +Requires: php83-php-fpm +Requires: php83-php-mbstring +Requires: php83-php-json +Requires: php83-php-bcmath +Requires: php83-php-intl +Requires: php83-php-pear +Requires: php83-php-process +Requires: php83-php-snmp +Requires: php83-php, php83-php-enchant , php83-php-pdo php83-php-tidy , php83-php-mysqlnd php83-php-pecl-zip %description Manage PHP FPM pools, and switch between PHP versions easily @@ -332,6 +352,7 @@ Manage PHP FPM pools, and switch between %patch34 -p1 %patch35 -p1 %patch36 -p1 +%patch37 -p1 %build perl createlinks @@ -351,7 +372,7 @@ echo "[Install]" > root/usr/lib/systemd/ echo "WantedBy=sme-server.target" >> root/usr/lib/systemd/system/php-fpm.service.d/51koozali.conf %{__mkdir_p} root/etc/e-smith/templates.metadata/etc/logrotate.d/ -for phpver in "55" "56" "70" "71" "72" "73" "74" "80" "81" "82"; do +for phpver in "55" "56" "70" "71" "72" "73" "74" "80" "81" "82" "83"; do #needed folder %{__mkdir_p} root/var/log/php/php$phpver/ %{__mkdir_p} root/var/lib/php/php$phpver/{session,tmp,opcache,wsdlcache} @@ -387,7 +408,7 @@ find root/etc/e-smith/templates.metadata done # php7* -for phpver in "72" "73" "74" "80" "81" "82"; do +for phpver in "72" "73" "74" "80" "81" "82" "83"; do #cp ph70 metada 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/ @@ -414,7 +435,7 @@ done --dir /var/lib/php/php/tmp 'attr(0770,root,www)' \ --dir /var/lib/php/php/opcache 'attr(0770,root,www)' \ --dir /var/lib/php/php/wsdlcache 'attr(0770,root,www)' \ -`for phpver in "54" "55" "56" "70" "71" "72" "73" "74" "80" "81" "82"; do echo -n "--dir /var/log/php/php$phpver attr(0770,root,www) --dir /var/lib/php/php$phpver/session attr(0770,root,www) --dir /var/lib/php/php$phpver/tmp attr(0770,root,www) --dir /var/lib/php/php$phpver/opcache attr(0770,root,www) --dir /var/lib/php/php$phpver/wsdlcache attr(0770,root,www) ";done ` \ +`for phpver in "54" "55" "56" "70" "71" "72" "73" "74" "80" "81" "82" "83"; do echo -n "--dir /var/log/php/php$phpver attr(0770,root,www) --dir /var/lib/php/php$phpver/session attr(0770,root,www) --dir /var/lib/php/php$phpver/tmp attr(0770,root,www) --dir /var/lib/php/php$phpver/opcache attr(0770,root,www) --dir /var/lib/php/php$phpver/wsdlcache attr(0770,root,www) ";done ` \ > %{name}-%{version}-filelist @@ -433,6 +454,9 @@ rm -rf $RPM_BUILD_ROOT %preun %changelog +* Mon Sep 04 2023 John Crisp 3.0.0-47.sme +- Add php83 support [SME:12405] + * Sat Aug 26 2023 John Crisp 3.0.0-46.sme - fix missing php 81 settings - Add php82 support [SME:12403] @@ -521,7 +545,7 @@ rm -rf $RPM_BUILD_ROOT * Thu Dec 17 2020 John Crisp 3.0.0.20.sme - Fix individual PHP version for ibay [SME: 11267] -* Sun Dec 13 2020 Jean-Philipe Pialasse 3.0.0-19.sme +* Sun Dec 13 2020 Jean-Philipe Pialasse