Projects
home:rottame:vhosts-ng:php83
php8
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
php8.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Fri May 31 13:48:56 UTC 2024 - Angelo Grossini <angelo@intercom.it> + +- set session.save_path to /tmp + +------------------------------------------------------------------- Thu May 9 15:57:56 UTC 2024 - pgajdos@suse.com - version update to 8.3.7
View file
php8.spec
Changed
@@ -40,6 +40,7 @@ %define psuffix %{nil} %endif +%global php_vhng_branch 8.1 %global apiver 20230831 %global zendver 20230831 %define extension_dir %{_libdir}/%{php_name}/extensions @@ -96,6 +97,7 @@ Patch22: php-date-regenerate-lexers.patch # PATCH-FEATURE-UPSTREAM https://github.com/php/php-src/pull/6564 Patch19: php-build-reproducible-phar.patch +Patch1000: session-save-path.patch BuildRequires: apache-rpm-macros BuildRequires: autoconf BuildRequires: bison @@ -105,6 +107,7 @@ BuildRequires: gcc-c++ BuildRequires: gmp-devel BuildRequires: gpg2 +BuildRequires: imap-devel BuildRequires: libacl-devel BuildRequires: libbz2-devel BuildRequires: libtidy-devel @@ -192,17 +195,28 @@ Provides: php-zend-abi = %{zendver} Provides: php(api) = %{apiver} Provides: php(zend-abi) = %{zendver} +Provides: php(vhng) = %{php_vhng_branch} # builtin extensions Provides: php-date = %{version} +Provides: php-date(vhng) = %{php_vhng_branch} Provides: php-filter = %{version} +Provides: php-filter(vhng) = %{php_vhng_branch} Provides: php-hash = %{version} +Provides: php-hash(vhng) = %{php_vhng_branch} Provides: php-json = %{version} +Provides: php-json(vhng) = %{php_vhng_branch} Provides: php-pcre = %{version} +Provides: php-pcre(vhng) = %{php_vhng_branch} Provides: php-reflection = %{version} +Provides: php-reflection(vhng) = %{php_vhng_branch} Provides: php-session = %{version} +Provides: php-session(vhng) = %{php_vhng_branch} Provides: php-simplexml = %{version} +Provides: php-simplexml(vhng) = %{php_vhng_branch} Provides: php-spl = %{version} +Provides: php-spl(vhng) = %{php_vhng_branch} Provides: php-xml = %{version} +Provides: php-xml(vhng) = %{php_vhng_branch} Provides: zend = %{zendver} # conflicts other php major versions with and should replace it Conflicts: php < %{version} @@ -228,7 +242,9 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-cli = %{version} +Provides: php-cli(vhng) = %{php_vhng_branch} Provides: php-sapi = %{version} +Provides: php-sapi(vhng) = %{php_vhng_branch} Conflicts: php-cli < %{version} %description cli @@ -253,6 +269,8 @@ Requires: pkgconfig(libpcre2-8) >= 10.30 Requires: pkgconfig(libxml-2.0) >= 2.9.0 Provides: php-devel = %{version} +Provides: php-devel(vhng) = %{php_vhng_branch} +Provides: php-devel(vhng) = %{php_vhng_branch} Conflicts: php-devel < %{version} %description devel @@ -280,9 +298,10 @@ Requires: apache2-prefork Requires: php = %{version} Requires(post): %{_sbindir}/a2enmod -Requires(preun): %{_sbindir}/a2enmod +Requires(preun):%{_sbindir}/a2enmod Provides: mod_php_any = %{version} Provides: php-sapi = %{version} +Provides: php-sapi(vhng) = %{php_vhng_branch} Obsoletes: mod_php_any < %{version} %description @@ -302,8 +321,11 @@ BuildRequires: php = %{version} Requires: php = %{version} Provides: php-cgi = %{version} +Provides: php-cgi(vhng) = %{php_vhng_branch} Provides: php-fastcgi = %{version} +Provides: php-fastcgi(vhng) = %{php_vhng_branch} Provides: php-sapi = %{version} +Provides: php-sapi(vhng) = %{php_vhng_branch} Conflicts: php-fastcgi < %{version} %description @@ -323,7 +345,9 @@ Requires: group(www) Requires: user(wwwrun) Provides: php-fpm = %{version} +Provides: php-fpm(vhng) = %{php_vhng_branch} Provides: php-sapi = %{version} +Provides: php-sapi(vhng) = %{php_vhng_branch} Conflicts: php-fpm < %{version} %{?systemd_ordering} @@ -357,6 +381,9 @@ BuildRequires: php = %{version} Requires: php = %{version} Provides: php-sapi = %{version} +Provides: php-sapi(vhng) = %{php_vhng_branch} +Provides: php-embed = %{version} +Provides: php-embed(vhng) = %{php_vhng_branch} %description PHP is a server-side, cross-platform HTML embedded scripting language. @@ -372,6 +399,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-bcmath = %{version} +Provides: php-bcmath(vhng) = %{php_vhng_branch} Obsoletes: php-bcmath < %{version} %description bcmath @@ -383,6 +411,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-bz2 = %{version} +Provides: php-bz2(vhng) = %{php_vhng_branch} Obsoletes: php-bz2 < %{version} %description bz2 @@ -393,6 +422,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-calendar = %{version} +Provides: php-calendar(vhng) = %{php_vhng_branch} Obsoletes: php-calendar < %{version} %description calendar @@ -403,6 +433,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-ctype = %{version} +Provides: php-ctype(vhng) = %{php_vhng_branch} Obsoletes: php-ctype < %{version} %description ctype @@ -414,6 +445,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-curl = %{version} +Provides: php-curl(vhng) = %{php_vhng_branch} Obsoletes: php-curl < %{version} %description curl @@ -426,6 +458,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-dba = %{version} +Provides: php-dba(vhng) = %{php_vhng_branch} Obsoletes: php-dba < %{version} %description dba @@ -435,11 +468,25 @@ is not to be confused with IBM's DB2 software, which is supported through the ODBC functions.) +%package dblib +Summary: PHP7 Extension Module +Group: Development/Libraries/PHP +Requires: %{name} = %{version} +Provides: php-dblib = %{version} +Provides: php-dblib(vhng) = %{php_vhng_branch} +Provides: php-mssql = %{version} +Provides: php-mssql(vhng) = %{php_vhng_branch} +Obsoletes: php5-mssql + +%description dblib +MSSQL PDO driver + %package dom Summary: Document Object Model extension for PHP Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-dom = %{version} +Provides: php-dom(vhng) = %{php_vhng_branch} Obsoletes: php-dom < %{version} %description dom @@ -450,6 +497,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-enchant = %{version} +Provides: php-enchant(vhng) = %{php_vhng_branch} Obsoletes: php-enchant < %{version} # Obsolete pspell plugin as enchant is favored solution (goodbye aspell) Obsoletes: php7-pspell @@ -467,6 +515,7 @@ Requires: php = %{version} Requires: php-mbstring = %{version} Provides: php-exif = %{version} +Provides: php-exif(vhng) = %{php_vhng_branch} Obsoletes: php-exif < %{version} %description exif @@ -479,6 +528,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-ffi = %{version} +Provides: php-ffi(vhng) = %{php_vhng_branch} %description ffi This extension allows the loading of shared libraries (.DLL or .so), @@ -491,6 +541,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-fileinfo = %{version} +Provides: php-fileinfo(vhng) = %{php_vhng_branch} Obsoletes: php-fileinfo < %{version} %description fileinfo @@ -504,6 +555,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-ftp = %{version} +Provides: php-ftp(vhng) = %{php_vhng_branch} Obsoletes: php-ftp < %{version} %description ftp @@ -515,6 +567,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-gd = %{version} +Provides: php-gd(vhng) = %{php_vhng_branch} Obsoletes: php-gd < %{version} %description gd @@ -527,6 +580,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-gettext = %{version} +Provides: php-gettext(vhng) = %{php_vhng_branch} Obsoletes: php-gettext < %{version} %description gettext @@ -538,6 +592,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-gmp = %{version} +Provides: php-gmp(vhng) = %{php_vhng_branch} Obsoletes: php-gmp < %{version} %description gmp @@ -549,6 +604,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-iconv = %{version} +Provides: php-iconv(vhng) = %{php_vhng_branch} Obsoletes: php-iconv < %{version} %description iconv @@ -563,6 +619,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-intl = %{version} +Provides: php-intl(vhng) = %{php_vhng_branch} Obsoletes: php-intl < %{version} %description intl @@ -576,6 +633,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-ldap = %{version} +Provides: php-ldap(vhng) = %{php_vhng_branch} Obsoletes: php-ldap < %{version} %description ldap @@ -586,6 +644,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-mbstring = %{version} +Provides: php-mbstring(vhng) = %{php_vhng_branch} Obsoletes: php-mbstring < %{version} %description mbstring @@ -601,8 +660,11 @@ Requires: php = %{version} Requires: php-pdo = %{version} Provides: php-mysql = %{version} +Provides: php-mysql(vhng) = %{php_vhng_branch} Provides: php-mysqli = %{version} +Provides: php-mysqli(vhng) = %{php_vhng_branch} Provides: php-pdo_mysql = %{version} +Provides: php-pdo_mysql(vhng) = %{php_vhng_branch} Provides: php_any_db = %{version} Obsoletes: php-mysql < %{version} @@ -616,6 +678,7 @@ Requires: php = %{version} Requires: php-pdo = %{version} Provides: php-firebird = %{version} +Provides: php-firebird(vhng) = %{php_vhng_branch} Provides: php_any_db = %{version} Obsoletes: php-firebird < %{version} @@ -629,7 +692,9 @@ Requires: php = %{version} Requires: php-pdo = %{version} Provides: php-odbc = %{version} +Provides: php-odbc(vhng) = %{php_vhng_branch} Provides: php-pdo_odbc = %{version} +Provides: php-pdo_odbc(vhng) = %{php_vhng_branch} Obsoletes: php-odbc < %{version} %description odbc @@ -640,6 +705,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-opcache = %{version} +Provides: php-opcache(vhng) = %{php_vhng_branch} Obsoletes: php-opcache < %{version} %description opcache @@ -652,6 +718,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-openssl = %{version} +Provides: php-openssl(vhng) = %{php_vhng_branch} Obsoletes: php-openssl < %{version} %description openssl @@ -665,6 +732,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-pcntl = %{version} +Provides: php-pcntl(vhng) = %{php_vhng_branch} Obsoletes: php-pcntl < %{version} %description pcntl @@ -678,6 +746,7 @@ Requires: php = %{version} Requires: php-zlib = %{version} Provides: php-phar = %{version} +Provides: php-phar(vhng) = %{php_vhng_branch} Conflicts: php-phar < %{version} %description phar @@ -696,6 +765,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-pdo = %{version} +Provides: php-pdo(vhng) = %{php_vhng_branch} Obsoletes: php-pdo < %{version} %description pdo @@ -716,7 +786,9 @@ Requires: php = %{version} Requires: php-pdo = %{version} Provides: php-pdo_pgsql = %{version} +Provides: php-pdo_pgsql(vhng) = %{php_vhng_branch} Provides: php-pgsql = %{version} +Provides: php-pgsql(vhng) = %{php_vhng_branch} Provides: php_any_db = %{version} Obsoletes: php-pgsql < %{version} @@ -729,6 +801,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-posix = %{version} +Provides: php-posix(vhng) = %{php_vhng_branch} Obsoletes: php-posix < %{version} %description posix @@ -741,6 +814,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-readline = %{version} +Provides: php-readline(vhng) = %{php_vhng_branch} Obsoletes: php-readline < %{version} %description readline @@ -752,6 +826,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-shmop = %{version} +Provides: php-shmop(vhng) = %{php_vhng_branch} Obsoletes: php-shmop < %{version} %description shmop @@ -762,6 +837,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-snmp = %{version} +Provides: php-snmp(vhng) = %{php_vhng_branch} Obsoletes: php-snmp < %{version} %description snmp @@ -778,6 +854,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-soap = %{version} +Provides: php-soap(vhng) = %{php_vhng_branch} Obsoletes: php-soap < %{version} %description soap @@ -791,6 +868,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-sockets = %{version} +Provides: php-sockets(vhng) = %{php_vhng_branch} Obsoletes: php-sockets < %{version} %description sockets @@ -804,6 +882,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-sodium = %{version} +Provides: php-sodium(vhng) = %{php_vhng_branch} Obsoletes: php-sodium < %{version} %description sodium @@ -817,7 +896,9 @@ Requires: php = %{version} Requires: php-pdo = %{version} Provides: php-pdo_sqlite = %{version} +Provides: php-pdo_sqlite(vhng) = %{php_vhng_branch} Provides: php-sqlite = %{version} +Provides: php-sqlite(vhng) = %{php_vhng_branch} Obsoletes: php-sqlite < %{version} %description sqlite @@ -840,6 +921,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-sysvmsg = %{version} +Provides: php-sysvmsg(vhng) = %{php_vhng_branch} Obsoletes: php-sysvmsg < %{version} %description sysvmsg @@ -850,6 +932,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-sysvsem = %{version} +Provides: php-sysvsem(vhng) = %{php_vhng_branch} Obsoletes: php-sysvsem < %{version} %description sysvsem @@ -860,6 +943,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-sysvshm = %{version} +Provides: php-sysvshm(vhng) = %{php_vhng_branch} Obsoletes: php-sysvshm < %{version} %description sysvshm @@ -870,6 +954,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-tidy = %{version} +Provides: php-tidy(vhng) = %{php_vhng_branch} Obsoletes: php-tidy < %{version} %description tidy @@ -883,6 +968,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-tokenizer = %{version} +Provides: php-tokenizer(vhng) = %{php_vhng_branch} Obsoletes: php-tokenizer < %{version} %description tokenizer @@ -897,6 +983,7 @@ Requires: php = %{version} Requires: php-dom = %{version} Provides: php-xsl = %{version} +Provides: php-xsl(vhng) = %{php_vhng_branch} Obsoletes: php-xsl < %{version} %description xsl @@ -910,6 +997,7 @@ Requires: php = %{version} Requires: php-dom = %{version} Provides: php-xmlreader = %{version} +Provides: php-xmlreader(vhng) = %{php_vhng_branch} Obsoletes: php-xmlreader < %{version} %description xmlreader @@ -922,6 +1010,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-xmlwriter = %{version} +Provides: php-xmlwriter(vhng) = %{php_vhng_branch} Obsoletes: php-xmlwriter < %{version} %description xmlwriter @@ -934,6 +1023,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-zip = %{version} +Provides: php-zip(vhng) = %{php_vhng_branch} Obsoletes: php-zip < %{version} %description zip @@ -945,6 +1035,7 @@ Group: Development/Libraries/PHP Requires: php = %{version} Provides: php-zlib = %{version} +Provides: php-zlib(vhng) = %{php_vhng_branch} Obsoletes: php-zlib < %{version} %description zlib @@ -952,8 +1043,22 @@ compressed files, through versions of most of the filesystem functions which work with gzip-compressed files (and uncompressed files, too, but not with sockets). + +%package imap +Summary: IMAP protocol support for PHP +Group: Development/Libraries/PHP +Requires: %{name} = %{version} +Provides: php-imap = %{version} +Provides: php-imap(vhng) = %{php_vhng_branch} +Obsoletes: php5-imap + +%description imap +These functions enable you to operate with the IMAP protocol, as well +as the NNTP, POP3 and local mailbox access methods. + %endif + %prep %setup -q -n php-%{version} cp %{SOURCE5} . @@ -1147,6 +1252,8 @@ --with-gettext=shared \ --with-gmp=shared \ --with-iconv=shared \ + --with-imap=shared \ + --with-imap-ssl \ --with-kerberos \ --with-ldap=shared \ --with-ldap-sasl \ @@ -1184,6 +1291,7 @@ --enable-opcache=shared \ --with-zip=shared \ --enable-intl=shared \ + --with-pdo-dblib=shared,%{_usr} \ --disable-cgi %endif @@ -1312,7 +1420,7 @@ ln -s %{_bindir}/php %{buildroot}%{_bindir}/%{php_name} # install the macros file: install -d %{buildroot}%{_rpmconfigdir}/macros.d -sed -e "s/@PHP_APIVER@/%{apiver}/;s/@PHP_ZENDVER@/%{zendver}/" %{SOURCE6} > macros.php +sed -e "s/@PHP_APIVER@/%{apiver}/;s/@PHP_ZENDVER@/%{zendver}/;s/@PHP_VHNG@/%{php_vhng_branch}/" %{SOURCE6} > macros.php install -m 644 -c macros.php %{buildroot}%{_rpmconfigdir}/macros.d/macros.php # install missing SAPI headers for embed install -d %{buildroot}%{_includedir}/%{php_name}/sapi/embed @@ -1497,6 +1605,11 @@ %{extension_dir}/dba.so %config(noreplace) %{php_sysconf}/conf.d/*dba.ini +%files dblib +%defattr(644,root,root,755) +%{extension_dir}/pdo_dblib.so +%config(noreplace) %{php_sysconf}/conf.d/*pdo_dblib.ini + %files dom %defattr(-, root, root) %{extension_dir}/dom.so @@ -1714,6 +1827,11 @@ %defattr(-, root, root) %{extension_dir}/zlib.so %config(noreplace) %{php_sysconf}/conf.d/*zlib.ini + +%files imap +%defattr(644,root,root,755) +%{extension_dir}/imap.so +%config(noreplace) %{php_sysconf}/conf.d/*imap.ini %endif %if "%{flavor}" == "test"
View file
session-save-path.patch
Added
@@ -0,0 +1,11 @@ +--- a/php.ini-production 2024-05-31 15:26:23.156505213 +0200 ++++ b/php.ini-production 2024-05-31 15:26:44.308403100 +0200 +@@ -1381,7 +1381,7 @@ + ; where MODE is the octal representation of the mode. Note that this + ; does not overwrite the process's umask. + ; https://php.net/session.save-path +-;session.save_path = "/tmp" ++session.save_path = "/tmp" + + ; Whether to use strict session mode. + ; Strict session mode does not accept an uninitialized session ID, and
View file
macros.php
Changed
@@ -7,6 +7,8 @@ %php_core_api @PHP_APIVER@ %php_zend_api @PHP_ZENDVER@ +%php_vhng_branch @PHP_VHNG@ + # Useful php macros (from Christian Wittmer <chris@computersalat.de>) # %__php /usr/bin/php
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.