Projects
home:rottame:vhosts-ng:php70
php7
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 7
View file
php7.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Mon Aug 7 13:28:32 UTC 2023 - Angelo Grossini <rottame@intercom.it> + +- normalize ini filenames + +------------------------------------------------------------------- Tue Mar 7 10:34:01 UTC 2023 - Angelo Grossini <rottame@intercom.it> - enable dblib support
View file
php7.spec
Changed
@@ -98,10 +98,10 @@ BuildRequires: curl-devel BuildRequires: cyrus-sasl-devel BuildRequires: db-devel -%if 0%{sle_version} >= 150200 && 0%{?is_opensuse} +%if 0%{sle_version} >= 150200 && 0%{?is_opensuse} BuildRequires: enchant-1-devel %endif -%if 0%{sle_version} <= 150100 && 0%{?is_opensuse} +%if 0%{sle_version} <= 150100 && 0%{?is_opensuse} BuildRequires: enchant-devel %endif BuildRequires: freetype2-devel @@ -288,7 +288,7 @@ %description pear-Archive_Tar This class provides handling of tar files in PHP. It supports creating, listing, extracting and adding to tar files. -Gzip support is available if PHP has the zlib extension built-in orloaded. +Gzip support is available if PHP has the zlib extension built-in orloaded. Bz2 compression is also supported with the bz2 extension loaded. @@ -468,7 +468,6 @@ MSSQL PDO driver %endif - %package dom Summary: PHP7 Extension Module Group: Development/Libraries/PHP @@ -1114,7 +1113,7 @@ # export flags CFLAGS="$RPM_OPT_FLAGS -O3 -fPIE -fPIC -DPIC -D_GNU_SOURCE -fno-strict-aliasing" CXXFLAGS="$RPM_OPT_FLAGS -O3 -fPIE -fPIC -DPIC -D_GNU_SOURCE -fno-strict-aliasing" -%if 0%{sle_version} >= 150200 && 0%{?is_opensuse} +%if 0%{sle_version} >= 150200 && 0%{?is_opensuse} CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1' export CPPFLAGS %endif @@ -1398,17 +1397,27 @@ fi ext=${f##*/} extern_modules="$extern_modules $ext" - echo "; comment out next line to disable $ext extension in php" > %{buildroot}/%{php_sysconf}/conf.d/$ext.ini zend_='' - if $ext == "opcache" ; then - # https://secure.php.net/manual/en/opcache.installation.php - zend_='zend_' - fi - echo "${zend_}extension=$ext.so" >> %{buildroot}/%{php_sysconf}/conf.d/$ext.ini + case $ext in + # priority 0 (will be loaded first) + opcache) + ini_name=00-${ext} + zend_='zend_';; + mysqlnd) + ini_name=00-${ext};; + # priority 2 (will be loaded after < 2) + pdo_*|mysqli|xmlreader) + ini_name=20-${ext};; + # priority 1 (will be loaded after < 1) + *) + ini_name=10-${ext};; + esac + echo "; comment out next line to disable $ext extension in php" > %{buildroot}/%{php_sysconf}/conf.d/${ini_name}.ini + echo "${zend_}extension=$ext.so" >> %{buildroot}/%{php_sysconf}/conf.d/${ini_name}.ini done #suhosin configuration %if %{with suhosin} -install -m 644 ext/suhosin/suhosin.ini %{buildroot}/%{php_sysconf}/conf.d/suhosin.ini +install -m 644 ext/suhosin/suhosin.ini %{buildroot}/%{php_sysconf}/conf.d/00-suhosin.ini %endif # list of builtin modules builtin_modules=`./build-cli/sapi/cli/php -m | grep -E -v '^(\.*)?$' | sort | tr '\n' ' '` @@ -1433,7 +1442,7 @@ sed -i -e "s@%{_builddir}/php-%{rversion}/build-cli/sapi/cli/php@php@g" %{buildroot}%{_bindir}/phar.phar rm %{buildroot}%{_bindir}/phar ln -sf %{_bindir}/phar.phar %{buildroot}%{_bindir}/phar -# CVE-2014-5459, bnc#893849; couldn't find a way to use PHP_PEAR_CACHE_DIR +# CVE-2014-5459, bnc#893849; couldn't find a way to use PHP_PEAR_CACHE_DIR # (install-pear is checking if the directory is writable by current user?; # unfortunately ENOTIME to figure out) sed -i 's@15:"/tmp/pear/cache"@19:"/var/cache/php-pear"@' %{buildroot}%{php_sysconf}/cli/pear.conf @@ -1468,8 +1477,8 @@ ln -s %{_sysconfdir}/init.d/php-fpm %{buildroot}%{_sbindir}/rcphp-fpm %endif # pear installer installs .depdb{,lock} files into %{buildroot}%{peardir} -# along with .lock, .registry when metadata_dir is not set but does not -# install them if metadata_dir is set; our Horde packages expect them there +# along with .lock, .registry when metadata_dir is not set but does not +# install them if metadata_dir is set; our Horde packages expect them there # though, (they rm them without -f) so always install them along cd %{buildroot}/%{peardir} patch -p0 < %{PATCH9} @@ -1605,283 +1614,283 @@ %files bcmath %defattr(644,root,root,755) %{extension_dir}/bcmath.so -%config(noreplace) %{php_sysconf}/conf.d/bcmath.ini +%config(noreplace) %{php_sysconf}/conf.d/*bcmath.ini %files bz2 %defattr(644,root,root,755) %{extension_dir}/bz2.so -%config(noreplace) %{php_sysconf}/conf.d/bz2.ini +%config(noreplace) %{php_sysconf}/conf.d/*bz2.ini %files calendar %defattr(644,root,root,755) %{extension_dir}/calendar.so -%config(noreplace) %{php_sysconf}/conf.d/calendar.ini +%config(noreplace) %{php_sysconf}/conf.d/*calendar.ini %files ctype %defattr(644,root,root,755) %{extension_dir}/ctype.so -%config(noreplace) %{php_sysconf}/conf.d/ctype.ini +%config(noreplace) %{php_sysconf}/conf.d/*ctype.ini %files curl %defattr(644,root,root,755) %{extension_dir}/curl.so -%config(noreplace) %{php_sysconf}/conf.d/curl.ini +%config(noreplace) %{php_sysconf}/conf.d/*curl.ini %files dba %defattr(644,root,root,755) %{extension_dir}/dba.so -%config(noreplace) %{php_sysconf}/conf.d/dba.ini +%config(noreplace) %{php_sysconf}/conf.d/*dba.ini %if 0%{suse_version} > 1110 %files dblib %defattr(644,root,root,755) %{extension_dir}/pdo_dblib.so -%config(noreplace) %{php_sysconf}/conf.d/pdo_dblib.ini +%config(noreplace) %{php_sysconf}/conf.d/*pdo_dblib.ini %endif %files dom %defattr(644,root,root,755) %{extension_dir}/dom.so -%config(noreplace) %{php_sysconf}/conf.d/dom.ini +%config(noreplace) %{php_sysconf}/conf.d/*dom.ini %files enchant %defattr(644,root,root,755) %{extension_dir}/enchant.so -%config(noreplace) %{php_sysconf}/conf.d/enchant.ini +%config(noreplace) %{php_sysconf}/conf.d/*enchant.ini %files exif %defattr(644,root,root,755) %{extension_dir}/exif.so -%config(noreplace) %{php_sysconf}/conf.d/exif.ini +%config(noreplace) %{php_sysconf}/conf.d/*exif.ini %files fileinfo %defattr(644,root,root,755) %{extension_dir}/fileinfo.so -%config(noreplace) %{php_sysconf}/conf.d/fileinfo.ini +%config(noreplace) %{php_sysconf}/conf.d/*fileinfo.ini %files ftp %defattr(644,root,root,755) %{extension_dir}/ftp.so -%config(noreplace) %{php_sysconf}/conf.d/ftp.ini +%config(noreplace) %{php_sysconf}/conf.d/*ftp.ini %files gd %defattr(644,root,root,755) %{extension_dir}/gd.so -%config(noreplace) %{php_sysconf}/conf.d/gd.ini +%config(noreplace) %{php_sysconf}/conf.d/*gd.ini %files gettext %defattr(644,root,root,755) %{extension_dir}/gettext.so -%config(noreplace) %{php_sysconf}/conf.d/gettext.ini +%config(noreplace) %{php_sysconf}/conf.d/*gettext.ini %files gmp %defattr(644,root,root,755) %{extension_dir}/gmp.so -%config(noreplace) %{php_sysconf}/conf.d/gmp.ini +%config(noreplace) %{php_sysconf}/conf.d/*gmp.ini %files iconv %defattr(644,root,root,755) %{extension_dir}/iconv.so -%config(noreplace) %{php_sysconf}/conf.d/iconv.ini +%config(noreplace) %{php_sysconf}/conf.d/*iconv.ini %files imap %defattr(644,root,root,755) %{extension_dir}/imap.so -%config(noreplace) %{php_sysconf}/conf.d/imap.ini +%config(noreplace) %{php_sysconf}/conf.d/*imap.ini %files intl
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
.