Hello community,

here is the log from the commit of package php5 for openSUSE:Factory
checked in at Fri May 20 14:46:14 CEST 2011.



--------
--- php5/php5.changes   2011-04-18 15:05:25.000000000 +0200
+++ /mounts/work_src_done/STABLE/php5/php5.changes      2011-05-20 
04:56:32.000000000 +0200
@@ -1,0 +2,36 @@
+Fri May 20 02:52:34 UTC 2011 - [email protected]
+
+- Update 5.3 branch 
+- Fix a few memory leaks
+- Check if tempfile can be created in phar extension
+- Fix problems with __halt_compiler and imported namespaces
+- Properly handle out of memory conditions in mysqlnd
+
+-------------------------------------------------------------------
+Sat May 14 17:59:07 UTC 2011 - [email protected]
+
+- Update 5.3 branch.
+- Fix user after free in xmlreader extension.
+
+-------------------------------------------------------------------
+Mon May  9 01:16:17 UTC 2011 - [email protected]
+
+- Update to current 5.3 svn version. 
+- For practical reasons now the hash extension is built-in,hence
+  deprecates package php5-hash, it is nowdays required by the session
+  and phar extensions but must be statically built to work.
+- Drop php5-session patch, needed only to workaround compile 
+  failure when hash extension is built as loadable extension.
+- php.ini now clearly says that by "3" in session.hash_function
+  we mean SHA256.
+
+-------------------------------------------------------------------
+Fri Apr 29 03:33:41 UTC 2011 - [email protected]
+
+- Update to a recent 5.3.x SVN version, mostly bug fixes 
+ * track_errors causes segfault
+ * classes from dl()'ed extensions are not destroyed
+ * Crash when assigning value to a dimension in a non-array
+ * use-after-free in substr_replace()
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  _service
  _service:download_url:php-5.3.6.tar.bz2
  php-5.3-session.patch
  php-5.3.0-fix-rpmlint-errors.patch
  php-5.3.0-ldap-checks.patch
  php5-dtor-err-crash.patch

New:
----
  php-5.3.6.201105200233.tar.bz2

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

Other differences:
------------------
++++++ php5.spec ++++++
--- /var/tmp/diff_new_pack.wll3Si/_old  2011-05-20 14:44:34.000000000 +0200
+++ /var/tmp/diff_new_pack.wll3Si/_new  2011-05-20 14:44:34.000000000 +0200
@@ -40,7 +40,7 @@
 # I would like this to become a hard dependency, as PHP is
 # documented to have this modules by default (no addtional libs are needed)
 Recommends:     php-ctype php-dom php-iconv php-sqlite php-tokenizer
-Recommends:     php-xmlreader php-xmlwriter php-json php-hash
+Recommends:     php-xmlreader php-xmlwriter php-json
 # other highly reccommended extensions
 Suggests:       php-mbstring php-gd php-pear php-gettext php-mysql php-suhosin
 %else
@@ -76,17 +76,22 @@
 #define builtin_tz_ver         2007.9
 ###
 ###
-Version:        5.3.6
-Release:        4
+Version:        5.3.6.201105200233
+Release:        1
 License:        The PHP License, version 3.01
 Group:          Development/Languages/Other
-Provides:       php zend php-xml php-spl php-simplexml php-session php-pcre 
php-date php-reflection php-filter
+Provides:       php zend php-xml php-spl php-simplexml php-session php-pcre 
php-date php-reflection php-filter php-hash
 Provides:       php-api = %{apiver}, php-zend-abi = %{zendver}
 Provides:       php(api) = %{apiver}, php(zend-abi) = %{zendver}
 AutoReqProv:    on
 PreReq:         update-alternatives
 #extensions that are no longer here
 Obsoletes:      php5-dbx php5-dio php5-fam php5-filepro php5-yp php5-dbase 
php5-ncurses
+#builtin,nowdays required for everything that uses sha2
+Obsoletes:      php5-hash < %{version}
+Provides:       php5-hash = %{version}
+#Old extension, nowdays provided as a "wrapper" in in the hash extension for 
backward compat.
+Obsoletes:      php5-mhash
 Source0:        php-%{version}.tar.bz2
 Source1:        php-suse-addons.tar.bz2
 Source2:        suhosin-%{suhosin_version}.tar.gz
@@ -106,21 +111,17 @@
 Patch7:         php-5.3.1-systzdata-v7.patch
 #bugs
 Patch13:        php-5.2.9-BNC-457056.patch
-Patch14:        php-5.3.0-ldap-checks.patch
-#Patch15:        php-5.3.0-fix-rpmlint-errors.patch
 Patch19:        php-5.3.0-bnc513080.patch
 Patch20:        php-5.3.2-ini.patch
 # PATCH-FIX-UPSTREAM php5-autoconf-2.65.patch 
http://bugs.php.ney/bug.php?id=50291 [email protected] -- Build fails with 
autoconf > 2.63
 Patch22:        php-5.3.2-aconf26x.patch
-Patch23:        php-5.3-session.patch
 Patch24:        php-5.3.2-no-build-date.patch
 Patch25:        php-cloexec.patch
 Patch26:        php-5.3.4-pts.patch
 Patch27:        php-5.3.4-format-string-issues.patch
 Patch28:        php-5.3.6-intl.patch
 Patch29:        php5-openssl.patch
-Patch30:        php5-dtor-err-crash.patch
-Patch31:        php-5.3.6-ini-date.timezone.patch
+Patch30:        php-5.3.6-ini-date.timezone.patch
 Url:            http://www.php.net
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        PHP5 Core Files
@@ -524,24 +525,6 @@
     The PHP Group
     See http://www.php.net/credits.php for more details
 
-%package hash
-License:        The PHP License, version 3.01
-Provides:       php-hash php-mhash %{name}-mhash = %{version}
-Summary:        PHP5 Extension Module
-Group:          Development/Libraries/PHP
-Requires:       %{name} = %{version}
-Obsoletes:      %{name}-mhash < %{version}
-
-%description hash
-Message Digest (hash) engine. Allows direct or incremental processing
-of arbitrary length messages using a variety of hashing algorithms.
-
-
-
-Authors:
---------
-    The PHP Group
-    See http://www.php.net/credits.php for more details
 
 %package iconv
 License:        The PHP License, version 3.01
@@ -675,7 +658,7 @@
 Summary:        PHP5 Extension Module
 Group:          Development/Libraries/PHP
 Requires:       %{name} = %{version} %{name}-pdo = %{version}
-Obsoletes:      php5-mysqli =< %{version} php5-pdo_mysql =< %{version}
+Obsoletes:      php5-mysqli < %{version} php5-pdo_mysql < %{version}
 
 %description mysql
 PHP functions for access to MySQL database servers.
@@ -747,7 +730,7 @@
 Provides:       php-phar
 Summary:        PHP5 Extension Module
 Group:          Development/Libraries/PHP
-Requires:       %{name} = %{version} %{name}-hash = %{version}
+Requires:       %{name} = %{version}
 
 %description phar
 The phar extension provides a way to put entire PHP applications into a
@@ -789,7 +772,7 @@
 Summary:        PHP5 Extension Module
 Group:          Development/Libraries/PHP
 Requires:       %{name} = %{version} %{name}-pdo = %{version}
-Obsoletes:      php5-pdo_pgsql <= %{version}
+Obsoletes:      php5-pdo_pgsql < %{version}
 
 %description pgsql
 PHP functions for access to PostgreSQL database servers. It includes
@@ -939,7 +922,7 @@
 Summary:        PHP5 Extension Module
 Group:          Development/Libraries/PHP
 Requires:       %{name} = %{version} %{name}-pdo = %{version}
-Obsoletes:      php5-pdo_sqlite <= %{version}
+Obsoletes:      php5-pdo_sqlite < %{version}
 
 %description sqlite
 This is an extension for the SQLite Embeddable SQL Database Engine.
@@ -1207,7 +1190,6 @@
 %{__cp} %{S:4} pear/README.SUSE
 %{__cp} %{S:5} .
 %{__cp} %{S:7} pear/
-#patch0 -p1
 %patch2
 %patch3
 %patch4
@@ -1221,12 +1203,9 @@
 %else
 echo "***SKIPPING LIBMXL2.7 FIX ***"
 %endif
-%patch14
-#%patch15
 %patch19
 %patch20
 %patch22
-%patch23
 %patch24
 %patch25
 %patch26
@@ -1234,7 +1213,6 @@
 %patch28
 %patch29
 %patch30
-%patch31
 # we build three SAPI
 %{__mkdir_p} build-apache2 build-fpm
 %{__mkdir_p} build-fastcgi/sapi/cgi/libfcgi
@@ -1336,6 +1314,8 @@
                --with-gnu-ld \
                --enable-re2c-cgoto \
                --with-system-tzdata=/usr/share/zoneinfo \
+        --enable-hash \
+        --with-mhash \
         "$@" || cat config.log
 # Some modules are builtin, reasons:
 #  - libxml can not be shared (and is needed by PEAR)
@@ -1415,8 +1395,6 @@
 %endif
     --with-gettext=shared \
     --with-gmp=shared \
-    --enable-hash=shared \
-               --with-mhash \
     --with-iconv=shared \
     --with-imap=shared \
         --with-kerberos \
@@ -1792,11 +1770,6 @@
 %{extension_dir}/gmp.so
 %config(noreplace) %{php_sysconf}/conf.d/gmp.ini
 
-%files hash
-%defattr(644,root,root,755)
-%{extension_dir}/hash.so
-%config(noreplace) %{php_sysconf}/conf.d/hash.ini
-
 %files iconv
 %defattr(644,root,root,755)
 %{extension_dir}/iconv.so


++++++ php-5.3.2-aconf26x.patch ++++++
--- /var/tmp/diff_new_pack.wll3Si/_old  2011-05-20 14:44:34.000000000 +0200
+++ /var/tmp/diff_new_pack.wll3Si/_new  2011-05-20 14:44:34.000000000 +0200
@@ -40,7 +40,7 @@
 --- configure.in.orig
 +++ configure.in
 @@ -1,7 +1,7 @@
- ## $Id: configure.in 309329 2011-03-17 07:48:29Z johannes $ -*- autoconf -*-
+ ## $Id: configure.in 310307 2011-04-18 09:50:32Z bjori $ -*- autoconf -*-
  dnl ## Process this file with autoconf to produce a configure script.
  
 -divert(1)
@@ -99,3 +99,14 @@
  
  dnl ## In diversion 5 we check which extensions should be compiled.
  dnl ## All of these are normally in the extension directories.
+--- build/buildcheck.sh.orig
++++ build/buildcheck.sh
+@@ -51,7 +51,7 @@ if test "$1" = "2" -a "$2" -gt "59"; the
+   echo "           On Debian/Ubuntu both autoconf2.13 and autoconf2.59 
packages exist."
+   echo "           Install autoconf2.13 and set the PHP_AUTOCONF env var to "
+   echo "           autoconf2.13 and try again."
+-  exit 1
++#  exit 1
+ else
+   echo "buildconf: autoconf version $ac_version (ok)"
+ fi

++++++ php-5.3.2-ini.patch ++++++
--- /var/tmp/diff_new_pack.wll3Si/_old  2011-05-20 14:44:34.000000000 +0200
+++ /var/tmp/diff_new_pack.wll3Si/_new  2011-05-20 14:44:34.000000000 +0200
@@ -60,7 +60,7 @@
  ; function.
  ; http://php.net/session.hash-function
 -session.hash_function = 0
-+session.hash_function = 3
++session.hash_function = sha256
  
  ; Define how many bits are stored in each character when converting
  ; the binary hash data to something readable.

++++++ php5-openssl.patch ++++++
--- /var/tmp/diff_new_pack.wll3Si/_old  2011-05-20 14:44:34.000000000 +0200
+++ /var/tmp/diff_new_pack.wll3Si/_new  2011-05-20 14:44:34.000000000 +0200
@@ -23,37 +23,3 @@
        ERR_load_ERR_strings();
        ERR_load_crypto_strings();
        ERR_load_EVP_strings();
-Index: ext/openssl/xp_ssl.c
-===================================================================
---- ext/openssl/xp_ssl.c       (revisión: 310212)
-+++ ext/openssl/xp_ssl.c       (copia de trabajo)
-@@ -329,9 +329,14 @@
-                       method = SSLv23_client_method();
-                       break;
-               case STREAM_CRYPTO_METHOD_SSLv2_CLIENT:
-+#ifdef OPENSSL_NO_SSL2
-+            php_error_docref(NULL TSRMLS_CC, E_WARNING, "SSLv2 support is not 
compiled in openSSL");
-+            return -1;
-+#else
-                       sslsock->is_client = 1;
-                       method = SSLv2_client_method();
-                       break;
-+#endif
-               case STREAM_CRYPTO_METHOD_SSLv3_CLIENT:
-                       sslsock->is_client = 1;
-                       method = SSLv3_client_method();
-@@ -349,9 +354,14 @@
-                       method = SSLv3_server_method();
-                       break;
-               case STREAM_CRYPTO_METHOD_SSLv2_SERVER:
-+#ifdef OPENSSL_NO_SSL2
-+            php_error_docref(NULL TSRMLS_CC, E_WARNING, "SSLv2 support is not 
compiled in openSSL");
-+            return -1;
-+#else
-                       sslsock->is_client = 0;
-                       method = SSLv2_server_method();
-                       break;
-+#endif
-               case STREAM_CRYPTO_METHOD_TLS_SERVER:
-                       sslsock->is_client = 0;
-                       method = TLSv1_server_method();


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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to