---- php-5.3.4/php.ini~ 2010-12-12 23:03:42.000000000 +0200
-+++ php-5.3.4/php.ini 2010-12-12 23:05:56.583592856 +0200
+--- php-5.4.0alpha3/php.ini~ 2011-08-08 00:06:52.000000000 +0300
++++ php-5.4.0alpha3/php.ini 2011-08-08 00:09:15.835275555 +0300
@@ -223,7 +223,7 @@
; Development Value: Off
; Production Value: Off
;;;;;;;;;;;;;;;;
; File Uploads ;
-@@ -876,11 +876,7 @@
- ;
- ; extension=modulename.extension
- ;
--; For example, on Windows:
--;
--; extension=msql.dll
--;
--; ... or under UNIX:
-+; For example under UNIX:
- ;
- ; extension=msql.so
- ;
-@@ -887,39 +887,8 @@
+@@ -795,52 +795,8 @@
; If you only provide the name of the extension, PHP will look for it in its
; default extension directory.
;
-;extension=php_oci8_11g.dll ; Use with Oracle 11g Instant Client
-;extension=php_openssl.dll
-;extension=php_pdo_firebird.dll
--;extension=php_pdo_mssql.dll
-;extension=php_pdo_mysql.dll
-;extension=php_pdo_oci.dll
-;extension=php_pdo_odbc.dll
-;extension=php_pgsql.dll
-;extension=php_pspell.dll
-;extension=php_shmop.dll
+-
+-; The MIBS data available in the PHP distribution must be installed.
+-; See http://www.php.net/manual/en/snmp.installation.php
+-;extension=php_snmp.dll
+-
+-;extension=php_soap.dll
+-;extension=php_sockets.dll
+-;extension=php_sqlite.dll
+-;extension=php_sqlite3.dll
+-;extension=php_sybase_ct.dll
+-;extension=php_tidy.dll
+-;extension=php_xmlrpc.dll
+-;extension=php_xsl.dll
+-;extension=php_zip.dll
+; Ideally in PLD Linux you should install appropriate php-<extension> or
+; php-pecl-<extension> package.
- ; The MIBS data available in the PHP distribution must be installed.
- ; See http://www.php.net/manual/en/snmp.installation.php
+ ;;;;;;;;;;;;;;;;;;;
+ ; Module Settings ;
@@ -1235,6 +1140,9 @@
; http://php.net/mysql.connect-timeout
mysql.connect_timeout = 60
+# TODO
# NOTE: mysqlnd does not support ssl or compression (see FAQ at http://dev.mysql.com/downloads/connector/php-mysqlnd/)
# TODO 5.4:
# - do not remove PatchX: definitions until merged to HEAD, needed for tracking their state
License: PHP
Group: Libraries
#Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
-Source0: http://downloads.php.net/stas/%{name}-%{version}alpha2.tar.bz2
-# Source0-md5: 6af29928f5962a855b7763ff81388201
+Source0: http://downloads.php.net/stas/%{name}-%{version}alpha3.tar.bz2
+# Source0-md5: 68f277b9be92e51931ab1d705e7c6bde
Source2: %{name}-mod_%{name}.conf
Source3: %{name}-cgi-fcgi.ini
Source4: %{name}-apache.ini
URL: http://www.php.net/
%{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
%{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
-BuildRequires: autoconf >= 2.53
+BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1.4d
BuildRequires: bison
BuildRequires: bzip2-devel
Moduł PHP umożliwiający używanie kompresji zlib.
%prep
-%setup -q -n %{name}-%{version}alpha2
+%setup -q -n %{name}-%{version}alpha3
# prep for suhosin patch
%{__sed} -i -e 's,\r$,,' Zend/Zend.dsp Zend/ZendTS.dsp
%patch0 -p1
--enable-gd-native-ttf \
--enable-intl=shared \
--enable-libxml \
- --enable-magic-quotes \
--enable-mbstring=shared,all \
--enable-mbregex \
--enable-pcntl=shared \
%defattr(644,root,root,755)
%doc php.ini-*
%doc CREDITS Zend/ZEND_CHANGES
-%doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS
+%doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS UPGRADING
%doc README.PHP4-TO-PHP5-THIN-CHANGES
-%doc README.namespaces
+%doc README.namespaces README.Zeus README.MAILINGLIST_RULES
%dir %{_sysconfdir}
%dir %{_sysconfdir}/conf.d
%attr(755,root,root) %{_libdir}/libphp_common-*.so
%dir %{php_extensiondir}
-%doc ext/session/mod_files.sh
-
%files devel
%defattr(644,root,root,755)
%doc README.UNIX-BUILD-SYSTEM
%doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
%doc CODING_STANDARDS README.EXTENSIONS README.PARAMETER_PARSING_API README.STREAMS
%doc README.SUBMITTING_PATCH README.TESTING README.TESTING2
+%doc README.NEW-OUTPUT-API UPGRADING.INTERNALS
+%doc README.REDIST.BINS README.RELEASE_PROCESS README.SVN-RULES README.UNIX-BUILD-SYSTEM
%attr(755,root,root) %{_bindir}/phpize
%attr(755,root,root) %{_bindir}/php-config
%attr(755,root,root) %{_libdir}/libphp_common.so
%files fileinfo
%defattr(644,root,root,755)
-%doc README.input_filter
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
%attr(755,root,root) %{php_extensiondir}/fileinfo.so
REGISTER_SPL_SUB_CLASS_EX(RecursiveTreeIterator, RecursiveIteratorIterator, spl_RecursiveTreeIterator_new, spl_funcs_RecursiveTreeIterator);
REGISTER_SPL_CLASS_CONST_LONG(RecursiveTreeIterator, "BYPASS_CURRENT", RTIT_BYPASS_CURRENT);
REGISTER_SPL_CLASS_CONST_LONG(RecursiveTreeIterator, "BYPASS_KEY", RTIT_BYPASS_KEY);
---- php-5.3.1/ext/spl/spl_iterators.h~ 2008-12-31 11:15:49.000000000 +0000
-+++ php-5.3.1/ext/spl/spl_iterators.h 2009-11-27 16:36:35.215748808 +0000
+--- php-5.4.0alpha3/ext/spl/spl_iterators.h~ 2011-07-27 11:48:08.000000000 +0300
++++ php-5.4.0alpha3/ext/spl/spl_iterators.h 2011-08-08 00:12:10.892993117 +0300
@@ -51,7 +51,12 @@
extern PHPAPI zend_class_entry *spl_ce_AppendIterator;
extern PHPAPI zend_class_entry *spl_ce_RegexIterator;
+#else
extern PHPAPI zend_class_entry *spl_ce_Countable;
+#endif
-
- PHP_MINIT_FUNCTION(spl_iterators);
+ extern PHPAPI zend_class_entry *spl_ce_CallbackFilterIterator;
+ extern PHPAPI zend_class_entry *spl_ce_RecursiveCallbackFilterIterator;
--- php-5.3.1/ext/standard/array.c~ 2009-08-14 06:20:21.000000000 +0000
+++ php-5.3.1/ext/standard/array.c 2009-11-27 16:37:15.029078323 +0000