[packages/php/dev-7.4: 4/4] upstream unbundled ext-wddx

glen glen at pld-linux.org
Sat May 11 10:40:07 CEST 2019


commit 57c295b48dd70472b658d67292c989f703a920c6
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sat May 11 11:00:35 2019 +0300

    upstream unbundled ext-wddx
    
    - https://wiki.php.net/rfc/deprecate-and-remove-ext-wddx
    - https://github.com/php/php-src/commit/6bbb18a0b6bef11222caaa55c00abdbcbb55d54b

 php.spec      | 35 -----------------------------------
 skip-tests.sh |  4 ----
 2 files changed, 39 deletions(-)
---
diff --git a/php.spec b/php.spec
index c16b08f..8b35f5a 100644
--- a/php.spec
+++ b/php.spec
@@ -18,7 +18,6 @@
 #   - 2.3M fileinfo.so php-fileinfo-5.3.16-1.x86_64
 #   -  13K fileinfo.so php-pecl-fileinfo-1.0.4-8.amd64
 # - ttyname_r() misdetected http://bugs.php.net/bug.php?id=48820
-# - wddx: restore session support (not compiled in due DL extension check)
 # - modularize standard (output from pure php -m)?
 # - some mods should be shared:
 #$ php -m
@@ -97,7 +96,6 @@
 %bcond_without	sqlite2		# without SQLite extension module
 %bcond_without	sqlite3		# without SQLite3 extension module
 %bcond_without	tidy		# without Tidy extension module
-%bcond_without	wddx		# without WDDX extension module
 %bcond_without	xmlrpc		# without XML-RPC extension module
 %bcond_without	xsl			# without xsl extension module
 %bcond_without	zip			# without zip extension module
@@ -1826,27 +1824,6 @@ support.
 %description tokenizer -l pl.UTF-8
 Moduł PHP dodający obsługę tokenizera do PHP.
 
-%package wddx
-Summary:	wddx extension module for PHP
-Summary(pl.UTF-8):	Moduł wddx dla PHP
-Group:		Libraries
-URL:		http://php.net/manual/en/book.wddx.php
-Requires:	%{name}-common = %{epoch}:%{version}-%{release}
-# - wddx doesn't require session as it's disabled at compile time:
-#   if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
-#   see also php.spec#rev1.120.2.22
-#Requires:	%{name}-session = %{epoch}:%{version}-%{release}
-Requires:	%{name}-xml = %{epoch}:%{version}-%{release}
-Provides:	php(wddx)
-Obsoletes:	php-wddx < 4:5.3.28-7
-
-%description wddx
-This is a dynamic shared object (DSO) for PHP that will add wddx
-support.
-
-%description wddx -l pl.UTF-8
-Moduł PHP umożliwiający korzystanie z wddx.
-
 %package xml
 Summary:	XML extension module for PHP
 Summary(pl.UTF-8):	Moduł XML dla PHP
@@ -2378,7 +2355,6 @@ for sapi in $sapis; do
 	--enable-sockets=shared \
 	%{__with_without sodium sodium shared} \
 	--enable-tokenizer=shared \
-	%{?with_wddx:--enable-wddx=shared} \
 	--enable-xml=shared \
 	--enable-xmlreader=shared \
 	%{__with_without bz2 bz2 shared} \
@@ -2495,8 +2471,6 @@ generate_inifiles() {
 		# opcache.so is zend extension
 		nm $so | grep -q zend_extension_entry && ext=zend_extension
 		conf="$mod.ini"
-		# xml needs to be loaded before wddx
-		[ "$mod" = "wddx" ] && conf="xml_$mod.ini"
 		# pre needs to be loaded before SPL
 		[ "$mod" = "pcre" ] && conf="PCRE.ini"
 		# spl needs to be loaded before mysqli
@@ -2907,7 +2881,6 @@ fi \
 %extension_scripts sysvshm
 %extension_scripts tidy
 %extension_scripts tokenizer
-%extension_scripts wddx
 %extension_scripts xml
 %extension_scripts xmlreader
 %extension_scripts xmlrpc
@@ -3510,14 +3483,6 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
 
-%if %{with wddx}
-%files wddx
-%defattr(644,root,root,755)
-%doc ext/wddx/CREDITS
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
-%attr(755,root,root) %{php_extensiondir}/wddx.so
-%endif
-
 %files xml
 %defattr(644,root,root,755)
 %doc ext/xml/CREDITS
diff --git a/skip-tests.sh b/skip-tests.sh
index a090b7d..0180e32 100644
--- a/skip-tests.sh
+++ b/skip-tests.sh
@@ -83,10 +83,6 @@ mv ext/standard/tests/general_functions/proc_nice_basic.phpt{,.skip}
 mv ext/standard/tests/general_functions/proc_open02.phpt{,.skip}
 # Test setlocale() function : usage variations - Setting all available locales in the platform
 mv ext/standard/tests/strings/setlocale_variation2.phpt{,.skip}
-# wddx session serializer handler (serialize)
-mv ext/wddx/tests/004.phpt{,.skip}
-# wddx session serializer handler (deserialize)
-mv ext/wddx/tests/005.phpt{,.skip}
 # xmlrpc_encode_request() and various arguments
 mv ext/xmlrpc/tests/002.phpt{,.skip}
 # Bug #40576 (double values are truncated to 6 decimal digits when encoding)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/57c295b48dd70472b658d67292c989f703a920c6



More information about the pld-cvs-commit mailing list