Hello community,

here is the log from the commit of package php7-xdebug for openSUSE:Factory 
checked in at 2018-01-22 16:20:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php7-xdebug (Old)
 and      /work/SRC/openSUSE:Factory/.php7-xdebug.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php7-xdebug"

Mon Jan 22 16:20:07 2018 rev:4 rq:567999 version:2.6.0~beta1

Changes:
--------
--- /work/SRC/openSUSE:Factory/php7-xdebug/php7-xdebug.changes  2017-08-12 
20:26:03.417660490 +0200
+++ /work/SRC/openSUSE:Factory/.php7-xdebug.new/php7-xdebug.changes     
2018-01-22 16:20:59.199007341 +0100
@@ -1,0 +2,54 @@
+Sun Jan 14 07:38:04 UTC 2018 - [email protected]
+
+- Updated to Xdebug 2.6.0beta1
+  * Added filter support for tracing, stack traces and code coverage
+  * Add X-Profile-File-Name header when a profile file has been generated.
+  * Check whether variables tracing also works with =&.
+  * Xdebug var dump tries casting properties.
+  * SEND_REF lines are not marked as covered.
+
+-------------------------------------------------------------------
+Thu Dec 28 23:33:49 UTC 2017 - [email protected]
+
+- Restore previously sanitized description.
+
+-------------------------------------------------------------------
+Tue Dec 26 05:50:20 UTC 2017 - [email protected]
+
+- Cleaned up spec file
+- Support for PHP 7.2
+- Updated to Xdebug 2.6.0alpha1
+  * ChangeLog 
https://pecl.php.net/package-changelog.php?package=xdebug&release=2.6.0alpha1
+  * Added features
+    - Added "memory" output to profiling files, to find out where memory is 
allocated.
+    - Dump super globals contents to error log upon errors, just like when 
this would happen for stack traces.
+    - Parse X-Forwarded-For for the first IP address when selecting the 
remote_connect_back host.
+    - Add DBGp: notifications for notices and warnings to be shown in IDEs.
+    - Implement extended_properties feature to remote debugging to support 
names and values with low ASCII values.
+    - Added xdebug.filename_format setting to configure the formatting of 
filenames when tracing.
+    - Added support for Unix domain sockets to xdebug.remote_host.
+    - Added xdebug_is_debugger_active() that returns true when debugger is 
connected.
+    - Added support for earlier stack frames through new argument for 
xdebug_call_* functions.
+    - Handle PHP 7.2's new methods for switch/case
+    - Added xdebug.remote_timeout to make connect timeout configurable.
+    - Make var_dump() also use the new xdebug.filename_format when formatting 
filenames.
+  * Improvements
+    - Added support for "%s" specifier for xdebug.trace_output_name.
+    - Improved error message in case the connection breaks.
+    - Change DBGp tests to use TEST_PHP_EXECUTABLE instead of hard coded 'php'
+    - Use FD_CLOEXEC with debugging sockets to prevent FDs from leaking to 
forked processes.
+    - Improve the foldexpr in xt.vim to fold lines correctly.
+  * Fixed bugs
+    - property_get doesn't return @attributes for SimpleXMLElement.
+    - Property names with quotes can not be fetch while debugging.
+    - Fix "use after free" with in add_name_attribute_or_element.
+    - Fixed memory leak with xdebug_path_info_dtor.
+    - Debugging breaks with array element keys containing low-ASCII variables.
+    - Tracing crashes with return_assignments and ternairy operator.
+    - Crashes due to variable resolving/reading mechanism not taking care of 
temporary hash tables correctly (Nikita Popov, Derick).
+    - Fixed s390x and ppc64 builds (Remi Collet).
+    - Crash on ZEND_SWITCH_LONG / ZEND_SWITCH_STRING with more than 32 cases.
+  * Changes
+    - Use Error (Throwable) instead of fatal error when maximum nesting level 
is reached.
+
+-------------------------------------------------------------------

Old:
----
  xdebug-2.5.5.tgz

New:
----
  xdebug-2.6.0beta1.tgz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ php7-xdebug.spec ++++++
--- /var/tmp/diff_new_pack.FlpPLs/_old  2018-01-22 16:20:59.746981711 +0100
+++ /var/tmp/diff_new_pack.FlpPLs/_new  2018-01-22 16:20:59.750981524 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package php7-xdebug
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,83 +16,72 @@
 #
 
 
-%define php_name    php7
 %define pkg_name    xdebug
-%define ini_version 2_5_5
+%define ini_version 2_6_0alpha1
 Name:           php7-%{pkg_name}
-Version:        2.5.5
+Version:        2.6.0~beta1
 Release:        0
 Summary:        Extended PHP debugger
 License:        PHP-3.0
 Group:          Productivity/Networking/Web/Servers
-Url:            https://xdebug.org/
-Source:         https://xdebug.org/files/%{pkg_name}-%{version}.tgz
+URL:            https://xdebug.org/
+Source:         https://xdebug.org/files/%{pkg_name}-2.6.0beta1.tgz
 Source1:        
https://raw.githubusercontent.com/%{pkg_name}/%{pkg_name}/XDEBUG_%{ini_version}/xdebug.ini
-BuildRequires:  %{php_name} >= 7
-BuildRequires:  %{php_name}-devel >= 7
-BuildRequires:  %{php_name}-soap
+BuildRequires:  php7 >= 7
+BuildRequires:  php7-devel >= 7
+BuildRequires:  php7-soap
 Provides:       php-%{pkg_name} = %{version}
 Obsoletes:      php-%{pkg_name} < %{version}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if %{?php_zend_api}0
 Requires:       php(api) = %{php_core_api}
 Requires:       php(zend-abi) = %{php_zend_api}
 %else
-%requires_eq    %{php_name}
+%requires_eq    php7
 %endif
 
 %description
-The Xdebug extension helps debugging scripts by providing a lot of
-debug information, which includes:
+The Xdebug extension helps debugging scripts by providing
+debug information such as:
 
-* stack and function traces in error messages with:
-o full parameter display for user defined functions
-o function name, file name and line indications
-o support for member functions
-* memory allocation
-* protection for infinite recursions
-* profiling information for PHP scripts
-* script execution analysis
-* capabilities to debug your scripts interactively with a debug client
+  * stack and function traces in error messages with:
+    o full parameter display for user defined functions
+    o function name, file name and line indications
+    o support for member functions
+  * memory allocation
+  * protection for infinite recursions
+
+Xdebug also provides:
+
+  * profiling information for PHP scripts
+  * code coverage analysis
+  * capabilities to debug your scripts interactively with a debug client
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%setup -q -n xdebug-2.6.0beta1
 mkdir %{name}
 install -m 644 %{SOURCE1} xdebug.ini
 
 %build
-%{_bindir}/phpize
-pushd %{name}
-export CFLAGS="%{optflags}"
-../configure --enable-xdebug
-sed -i -e 's|PHP_EXECUTABLE = %{_bindir}/php-cgi|PHP_EXECUTABLE = 
%{_bindir}/php|' Makefile
+sed -i -e "s|; This is a generated file, do not modify by hand|zend_extension 
= \"xdebug.so\"|g" xdebug.ini
+%{__phpize}
+%configure --enable-xdebug
 make %{?_smp_mflags}
-popd
-sed -i -e "s|; This is a generated file, do not modify by hand|zend_extension 
= \"%{_libdir}/%{php_name}/extensions/xdebug.so\"|g" xdebug.ini
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags} -C %{name} 
INSTALL_ROOT=%{buildroot}
-mkdir -p %{buildroot}%{_sysconfdir}/%{php_name}/conf.d
-install -m 644 xdebug.ini 
%{buildroot}%{_sysconfdir}/%{php_name}/conf.d/xdebug.ini
+make DESTDIR=%{buildroot} install INSTALL_ROOT=%{buildroot}
+mkdir -p %{buildroot}%{_sysconfdir}/php7/conf.d
+install -m 644 xdebug.ini %{buildroot}%{_sysconfdir}/php7/conf.d/xdebug.ini
 
 %check
-# only check if the extension can be loaded
-%{_bindir}/php \
-    --no-php-ini \
-    --define 
zend_extension=%{buildroot}%{_libdir}/%{php_name}/extensions/xdebug.so \
+# check if the extension can be loaded
+%{__php} --no-php-ini  --define 
zend_extension=%{buildroot}%{_libdir}/php7/extensions/xdebug.so \
     --modules | grep Xdebug
 
-if [ -x %{_bindir}/zts-php ] ; then
-%{_bindir}/zts-php \
-    --no-php-ini \
-    --define 
zend_extension=%{buildroot}%{_libdir}/%{php_name}/extensions/xdebug.so \
-    --modules | grep Xdebug
-fi
+make %{?_smp_mflags} PHP_EXECUTABLE=%{__php} NO_INTERACTION=1 test
 
 %files
-%defattr(-,root,root,-)
-%{_libdir}/%{php_name}/extensions/xdebug.so
-%config(noreplace) %{_sysconfdir}/%{php_name}/conf.d/xdebug.ini
+%{_libdir}/php7/extensions/xdebug.so
+%config(noreplace) %{_sysconfdir}/php7/conf.d/xdebug.ini
 %doc LICENSE CREDITS
 
 %changelog


Reply via email to