diff options
| author | Remi Collet <fedora@famillecollet.com> | 2013-01-18 09:01:56 +0100 | 
|---|---|---|
| committer | Remi Collet <fedora@famillecollet.com> | 2013-01-18 09:01:56 +0100 | 
| commit | 504108f2f8a91e09cfe230f9732576001f24d8ef (patch) | |
| tree | b60256c00b360014507c1029bc5c35b325914182 | |
| parent | e37704c6fd5911d361a19c9723702726bc752f77 (diff) | |
php-bartlett-PHP-CompatInfo: 2.12.0 + PHP 5.5 referecnes
| -rw-r--r-- | 0001-cuirl-reference-for-php-5.5.patch | 391 | ||||
| -rw-r--r-- | 0002-hash-reference-for-php-5.5.patch | 29 | ||||
| -rw-r--r-- | 0003-tokoniser-reference-for-php-5.5.patch | 32 | ||||
| -rw-r--r-- | 0004-standard-reference-for-php-5.5.patch | 68 | ||||
| -rw-r--r-- | 0005-snmp-reference-for-php-5.5.patch | 24 | ||||
| -rw-r--r-- | 0006-openssl-reference-for-php-5.5.patch | 24 | ||||
| -rw-r--r-- | 0007-mysqli-reference-for-php-5.5.patch | 24 | ||||
| -rw-r--r-- | 0008-Fix-json-reference-for-PHP-5.5.patch | 58 | ||||
| -rw-r--r-- | 0009-Fix-intl-reference-for-PHP-5.5.patch | 131 | ||||
| -rw-r--r-- | 0010-fix-Core-reference-for-PHP-5.5.patch | 29 | ||||
| -rw-r--r-- | 0011-fix-order-in-intl.patch | 27 | ||||
| -rw-r--r-- | 0012-curl-reference-for-php-5.5-more.patch | 73 | ||||
| -rw-r--r-- | 0013-use-LATEST_PHP_5_4-macro.patch | 36 | ||||
| -rw-r--r-- | 0014-curl-reference-for-php-5.5-more.patch | 59 | ||||
| -rw-r--r-- | 0015-mysqli-new-constant.patch | 25 | ||||
| -rw-r--r-- | 0016-MYSQLI_OPT_CAN_HANDLE_EXPIRED_PASSWORDS-is-5.4.12.patch | 25 | ||||
| -rw-r--r-- | 0017-data-reference-for-php-5.5-date-immutable.patch | 34 | ||||
| -rw-r--r-- | php-bartlett-PHP-CompatInfo.spec | 48 | 
18 files changed, 1135 insertions, 2 deletions
diff --git a/0001-cuirl-reference-for-php-5.5.patch b/0001-cuirl-reference-for-php-5.5.patch new file mode 100644 index 0000000..fc4f65b --- /dev/null +++ b/0001-cuirl-reference-for-php-5.5.patch @@ -0,0 +1,391 @@ +From abbcc1b67842a7c55f2679e2fdc5b05592f5ed91 Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Sat, 1 Dec 2012 18:21:33 +0100 +Subject: [PATCH 01/17] cuirl reference for php 5.5 + +--- + PHP/CompatInfo/Reference/curl.php | 131 ++++++++++++++++++++++++++++++++++++++ + 1 file changed, 131 insertions(+) + +diff --git a/PHP/CompatInfo/Reference/curl.php b/PHP/CompatInfo/Reference/curl.php +index cf2760a..c12dc0f 100644 +--- a/PHP/CompatInfo/Reference/curl.php ++++ b/PHP/CompatInfo/Reference/curl.php +@@ -81,6 +81,7 @@ class PHP_CompatInfo_Reference_Curl +             'curl_copy_handle'               => array('5.0.0', ''), +             'curl_errno'                     => array('4.0.3', ''), +             'curl_error'                     => array('4.0.3', ''), ++            'curl_escape'                    => array('5.5.0-dev', ''), +             'curl_exec'                      => array('4.0.2', ''), +             'curl_getinfo'                   => array('4.0.4', ''), +             'curl_init'                      => array('4.0.2', ''), +@@ -92,8 +93,13 @@ class PHP_CompatInfo_Reference_Curl +             'curl_multi_init'                => array('5.0.0', ''), +             'curl_multi_remove_handle'       => array('5.0.0', ''), +             'curl_multi_select'              => array('5.0.0', ''), ++            'curl_reset'                     => array('5.5.0-dev', ''), +             'curl_setopt'                    => array('4.0.2', ''), +             'curl_setopt_array'              => array('5.1.3', ''), ++            'curl_share_close'               => array('5.5.0-dev', ''), ++            'curl_share_init'                => array('5.5.0-dev', ''), ++            'curl_share_setopt'              => array('5.5.0-dev', ''), ++            'curl_unescape'                  => array('5.5.0-dev', ''), +             'curl_version'                   => array('4.0.2', ''), +         ); +         $this->applyFilter($release, $items, $functions); +@@ -121,18 +127,41 @@ class PHP_CompatInfo_Reference_Curl +  +         $release = false; +         $items = array( ++            'CURL_FNMATCHFUNC_FAIL'          => array('5.5.0-dev', ''), ++            'CURL_FNMATCHFUNC_MATCH'         => array('5.5.0-dev', ''), ++            'CURL_FNMATCHFUNC_NOMATCH'       => array('5.5.0-dev', ''), +             'CURL_HTTP_VERSION_1_0'          => array('4.0.2', ''), +             'CURL_HTTP_VERSION_1_1'          => array('4.0.2', ''), +             'CURL_HTTP_VERSION_NONE'         => array('4.0.2', ''), +             'CURL_IPRESOLVE_V4'              => array('5.3.0', ''), +             'CURL_IPRESOLVE_V6'              => array('5.3.0', ''), +             'CURL_IPRESOLVE_WHATEVER'        => array('5.3.0', ''), ++            'CURL_LOCK_DATA_COOKIE'          => array('5.5.0-dev', ''), ++            'CURL_LOCK_DATA_DNS'             => array('5.5.0-dev', ''), ++            'CURL_LOCK_DATA_SSL_SESSION'     => array('5.5.0-dev', ''), +             'CURL_NETRC_IGNORED'             => array('4.0.2', ''), +             'CURL_NETRC_OPTIONAL'            => array('4.0.2', ''), +             'CURL_NETRC_REQUIRED'            => array('4.0.2', ''), ++            'CURL_RTSPREQ_ANNOUNCE'          => array('5.5.0-dev', ''), ++            'CURL_RTSPREQ_DESCRIBE'          => array('5.5.0-dev', ''), ++            'CURL_RTSPREQ_GET_PARAMETER'     => array('5.5.0-dev', ''), ++            'CURL_RTSPREQ_OPTIONS'           => array('5.5.0-dev', ''), ++            'CURL_RTSPREQ_PAUSE'             => array('5.5.0-dev', ''), ++            'CURL_RTSPREQ_PLAY'              => array('5.5.0-dev', ''), ++            'CURL_RTSPREQ_RECEIVE'           => array('5.5.0-dev', ''), ++            'CURL_RTSPREQ_RECORD'            => array('5.5.0-dev', ''), ++            'CURL_RTSPREQ_SETUP'             => array('5.5.0-dev', ''), ++            'CURL_RTSPREQ_SET_PARAMETER'     => array('5.5.0-dev', ''), ++            'CURL_RTSPREQ_TEARDOWN'          => array('5.5.0-dev', ''), ++            'CURL_SSLVERSION_DEFAULT'        => array('5.5.0-dev', ''), ++            'CURL_SSLVERSION_SSLv2'          => array('5.5.0-dev', ''), ++            'CURL_SSLVERSION_SSLv3'          => array('5.5.0-dev', ''), ++            'CURL_SSLVERSION_TLSv1'          => array('5.5.0-dev', ''), +             'CURL_TIMECOND_IFMODSINCE'       => array('4.0.2', ''), +             'CURL_TIMECOND_IFUNMODSINCE'     => array('4.0.2', ''), +             'CURL_TIMECOND_LASTMOD'          => array('4.0.2', ''), ++            'CURL_TIMECOND_NONE'             => array('5.5.0-dev', ''), ++            'CURL_TLSAUTH_SRP'               => array('5.5.0-dev', ''), +             'CURL_VERSION_IPV6'              => array('4.0.2', ''), +             'CURL_VERSION_KERBEROS4'         => array('4.0.2', ''), +             'CURL_VERSION_LIBZ'              => array('4.0.2', ''), +@@ -142,8 +171,11 @@ class PHP_CompatInfo_Reference_Curl +             'CURLAUTH_ANYSAFE'               => array('4.0.2', ''), +             'CURLAUTH_BASIC'                 => array('4.0.2', ''), +             'CURLAUTH_DIGEST'                => array('4.0.2', ''), ++            'CURLAUTH_DIGEST_IE'             => array('5.5.0-dev', ''), +             'CURLAUTH_GSSNEGOTIATE'          => array('4.0.2', ''), ++            'CURLAUTH_NONE'                  => array('5.5.0-dev', ''), +             'CURLAUTH_NTLM'                  => array('4.0.2', ''), ++            'CURLAUTH_ONLY'                  => array('5.5.0-dev', ''), +  +             'CURLCLOSEPOLICY_CALLBACK'       => array('4.0.2', ''), +             'CURLCLOSEPOLICY_LEAST_RECENTLY_USED' +@@ -157,6 +189,7 @@ class PHP_CompatInfo_Reference_Curl +             'CURLE_BAD_CONTENT_ENCODING'     => array('4.0.2', ''), +             'CURLE_BAD_FUNCTION_ARGUMENT'    => array('4.0.2', ''), +             'CURLE_BAD_PASSWORD_ENTERED'     => array('4.0.2', ''), ++            'CURLE_BAD_DOWNLOAD_RESUME'      => array('5.5.0-dev', ''), +             'CURLE_COULDNT_CONNECT'          => array('4.0.2', ''), +             'CURLE_COULDNT_RESOLVE_HOST'     => array('4.0.2', ''), +             'CURLE_COULDNT_RESOLVE_PROXY'    => array('4.0.2', ''), +@@ -190,6 +223,7 @@ class PHP_CompatInfo_Reference_Curl +             'CURLE_HTTP_PORT_FAILED'         => array('4.0.2', ''), +             'CURLE_HTTP_POST_ERROR'          => array('4.0.2', ''), +             'CURLE_HTTP_RANGE_ERROR'         => array('4.0.2', ''), ++            'CURLE_HTTP_RETURNED_ERROR'      => array('5.5.0-dev', ''), +             'CURLE_LDAP_CANNOT_BIND'         => array('4.0.2', ''), +             'CURLE_LDAP_INVALID_URL'         => array('4.0.2', ''), +             'CURLE_LDAP_SEARCH_FAILED'       => array('4.0.2', ''), +@@ -198,6 +232,7 @@ class PHP_CompatInfo_Reference_Curl +             'CURLE_OBSOLETE'                 => array('4.0.2', ''), +             'CURLE_OK'                       => array('4.0.2', ''), +             'CURLE_OPERATION_TIMEOUTED'      => array('4.0.2', ''), ++            'CURLE_OPERATION_TIMEDOUT'       => array('5.5.0-dev', ''), +             'CURLE_OUT_OF_MEMORY'            => array('4.0.2', ''), +             'CURLE_PARTIAL_FILE'             => array('4.0.2', ''), +             'CURLE_READ_ERROR'               => array('4.0.2', ''), +@@ -229,36 +264,55 @@ class PHP_CompatInfo_Reference_Curl +             'CURLFTPMETHOD_SINGLECWD'        => array('5.3.0', ''), +  +             'CURLFTPSSL_ALL'                 => array('5.2.0', ''), ++            'CURLFTPSSL_CCC_ACTIVE'          => array('5.5.0-dev', ''), ++            'CURLFTPSSL_CCC_NONE'            => array('5.5.0-dev', ''), ++            'CURLFTPSSL_CCC_PASSIVE'         => array('5.5.0-dev', ''), +             'CURLFTPSSL_CONTROL'             => array('5.2.0', ''), +             'CURLFTPSSL_NONE'                => array('5.2.0', ''), +             'CURLFTPSSL_TRY'                 => array('4.0.2', ''), +  ++            'CURLINFO_APPCONNECT_TIME'       => array('5.5.0-dev', ''), +             'CURLINFO_CERTINFO'              => array('5.3.2', ''), ++            'CURLINFO_CONDITION_UNMET'       => array('5.5.0-dev', ''), +             'CURLINFO_CONNECT_TIME'          => array('4.0.2', ''), +             'CURLINFO_CONTENT_LENGTH_DOWNLOAD' +                                              => array('4.0.2', ''), +             'CURLINFO_CONTENT_LENGTH_UPLOAD' => array('4.0.2', ''), +             'CURLINFO_CONTENT_TYPE'          => array('4.0.2', ''), ++            'CURLINFO_COOKIELIST'            => array('5.5.0-dev', ''), +             'CURLINFO_EFFECTIVE_URL'         => array('4.0.2', ''), +             'CURLINFO_FILETIME'              => array('4.0.2', ''), ++            'CURLINFO_FTP_ENTRY_PATH'        => array('5.5.0-dev', ''), +             'CURLINFO_HEADER_OUT'            => array('5.1.3', ''), +             'CURLINFO_HEADER_SIZE'           => array('4.0.2', ''), ++            'CURLINFO_HTTPAUTH_AVAIL'        => array('5.5.0-dev', ''), +             'CURLINFO_HTTP_CODE'             => array('4.0.2', ''), ++            'CURLINFO_HTTP_CONNECTCODE'      => array('5.5.0-dev', ''), ++            'CURLINFO_LASTONE'               => array('5.5.0-dev', ''), +             'CURLINFO_LOCAL_IP'              => array('5.4.7', ''), +             'CURLINFO_LOCAL_PORT'            => array('5.4.7', ''), +             'CURLINFO_NAMELOOKUP_TIME'       => array('4.0.2', ''), ++            'CURLINFO_NUM_CONNECTS'          => array('5.5.0-dev', ''), ++            'CURLINFO_OS_ERRNO'              => array('5.5.0-dev', ''), +             'CURLINFO_PRETRANSFER_TIME'      => array('4.0.2', ''), +             'CURLINFO_PRIMARY_IP'            => array('5.4.7', ''), +             'CURLINFO_PRIMARY_PORT'          => array('5.4.7', ''), +             'CURLINFO_PRIVATE'               => array('5.2.4', ''), ++            'CURLINFO_PROXYAUTH_AVAIL'       => array('5.5.0-dev', ''), +             'CURLINFO_REDIRECT_COUNT'        => array('4.0.2', ''), +             'CURLINFO_REDIRECT_TIME'         => array('4.0.2', ''), +             'CURLINFO_REDIRECT_URL'          => array('5.3.7', ''), +             'CURLINFO_REQUEST_SIZE'          => array('4.0.2', ''), ++            'CURLINFO_RESPONSE_CODE'         => array('5.5.0-dev', ''), ++            'CURLINFO_RTSP_CLIENT_CSEQ'      => array('5.5.0-dev', ''), ++            'CURLINFO_RTSP_CSEQ_RECV'        => array('5.5.0-dev', ''), ++            'CURLINFO_RTSP_SERVER_CSEQ'      => array('5.5.0-dev', ''), ++            'CURLINFO_RTSP_SESSION_ID'       => array('5.5.0-dev', ''), +             'CURLINFO_SIZE_DOWNLOAD'         => array('4.0.2', ''), +             'CURLINFO_SIZE_UPLOAD'           => array('4.0.2', ''), +             'CURLINFO_SPEED_DOWNLOAD'        => array('4.0.2', ''), +             'CURLINFO_SPEED_UPLOAD'          => array('4.0.2', ''), ++            'CURLINFO_SSL_ENGINES'           => array('5.5.0-dev', ''), +             'CURLINFO_SSL_VERIFYRESULT'      => array('4.0.2', ''), +             'CURLINFO_STARTTRANSFER_TIME'    => array('4.0.2', ''), +             'CURLINFO_TOTAL_TIME'            => array('4.0.2', ''), +@@ -272,6 +326,9 @@ class PHP_CompatInfo_Reference_Curl +  +             'CURLMSG_DONE'                   => array('4.0.2', ''), +  ++            'CURLOPT_ACCEPT_ENCODING'        => array('5.5.0-dev', ''), ++            'CURLOPT_ADDRESS_SCOPE'          => array('5.5.0-dev', ''), ++            'CURLOPT_APPEND'                 => array('5.5.0-dev', ''), +             'CURLOPT_AUTOREFERER'            => array('5.1.0', ''), +             'CURLOPT_BINARYTRANSFER'         => array('4.0.2', ''), +             'CURLOPT_BUFFERSIZE'             => array('4.0.2', ''), +@@ -279,21 +336,27 @@ class PHP_CompatInfo_Reference_Curl +             'CURLOPT_CAPATH'                 => array('4.0.2', ''), +             'CURLOPT_CERTINFO'               => array('5.3.2', ''), +             'CURLOPT_CLOSEPOLICY'            => array('4.0.2', ''), ++            'CURLOPT_CONNECT_ONLY'           => array('5.5.0-dev', ''), +             'CURLOPT_CONNECTTIMEOUT'         => array('4.0.2', ''), +             'CURLOPT_CONNECTTIMEOUT_MS'      => array('4.0.2', ''), +             'CURLOPT_COOKIE'                 => array('4.0.2', ''), +             'CURLOPT_COOKIEFILE'             => array('4.0.2', ''), ++            'CURLOPT_COOKIELIST'             => array('5.5.0-dev', ''), +             'CURLOPT_COOKIEJAR'              => array('4.0.2', ''), +             'CURLOPT_COOKIESESSION'          => array('5.1.0', ''), +             'CURLOPT_CRLF'                   => array('4.0.2', ''), ++            'CURLOPT_CRLFILE'                => array('5.5.0-dev', ''), +             'CURLOPT_CUSTOMREQUEST'          => array('4.0.2', ''), ++            'CURLOPT_DIRLISTONLY'            => array('5.5.0-dev', ''), +             'CURLOPT_DNS_CACHE_TIMEOUT'      => array('4.0.2', ''), ++            'CURLOPT_DNS_SERVERS'            => array('5.5.0-dev', ''), +             'CURLOPT_DNS_USE_GLOBAL_CACHE'   => array('4.0.2', ''), +             'CURLOPT_EGDSOCKET'              => array('4.0.2', ''), +             'CURLOPT_ENCODING'               => array('4.0.2', ''), +             'CURLOPT_FAILONERROR'            => array('4.0.2', ''), +             'CURLOPT_FILE'                   => array('4.0.2', ''), +             'CURLOPT_FILETIME'               => array('4.0.2', ''), ++            'CURLOPT_FNMATCH_FUNCTION'       => array('5.5.0-dev', ''), +             'CURLOPT_FOLLOWLOCATION'         => array('4.0.2', ''), +             'CURLOPT_FORBID_REUSE'           => array('4.0.2', ''), +             'CURLOPT_FRESH_CONNECT'          => array('4.0.2', ''), +@@ -301,13 +364,18 @@ class PHP_CompatInfo_Reference_Curl +             'CURLOPT_FTPLISTONLY'            => array('4.0.2', ''), +             'CURLOPT_FTPPORT'                => array('4.0.2', ''), +             'CURLOPT_FTPSSLAUTH'             => array('5.1.0', ''), ++            'CURLOPT_FTP_ACCOUNT'            => array('5.5.0-dev', ''), ++            'CURLOPT_FTP_ALTERNATIVE_TO_USER'=> array('5.5.0-dev', ''), +             'CURLOPT_FTP_CREATE_MISSING_DIRS' +                                              => array('4.0.2', ''), +             'CURLOPT_FTP_FILEMETHOD'         => array('5.3.0', ''), ++            'CURLOPT_FTP_RESPONSE_TIMEOUT'   => array('5.5.0-dev', ''), +             'CURLOPT_FTP_SKIP_PASV_IP'       => array('5.3.2', ''), +             'CURLOPT_FTP_SSL'                => array('5.2.0', ''), ++            'CURLOPT_FTP_SSL_CCC'            => array('5.5.0-dev', ''), +             'CURLOPT_FTP_USE_EPRT'           => array('4.0.2', ''), +             'CURLOPT_FTP_USE_EPSV'           => array('4.0.2', ''), ++            'CURLOPT_FTP_USE_PRET'           => array('5.5.0-dev', ''), +             'CURLOPT_HEADER'                 => array('4.0.2', ''), +             'CURLOPT_HEADERFUNCTION'         => array('4.0.2', ''), +             'CURLOPT_HTTP200ALIASES'         => array('4.0.2', ''), +@@ -315,38 +383,57 @@ class PHP_CompatInfo_Reference_Curl +             'CURLOPT_HTTPGET'                => array('4.0.2', ''), +             'CURLOPT_HTTPHEADER'             => array('4.0.2', ''), +             'CURLOPT_HTTPPROXYTUNNEL'        => array('4.0.2', ''), ++            'CURLOPT_HTTP_CONTENT_DECODING'  => array('5.5.0-dev', ''), ++            'CURLOPT_HTTP_TRANSFER_DECODING' => array('5.5.0-dev', ''), +             'CURLOPT_HTTP_VERSION'           => array('4.0.2', ''), ++            'CURLOPT_IGNORE_CONTENT_LENGTH'  => array('5.5.0-dev', ''), +             'CURLOPT_INFILE'                 => array('4.0.2', ''), +             'CURLOPT_INFILESIZE'             => array('4.0.2', ''), +             'CURLOPT_INTERFACE'              => array('4.0.2', ''), +             'CURLOPT_IPRESOLVE'              => array('5.3.0', ''), ++            'CURLOPT_ISSUERCERT'             => array('5.5.0-dev', ''), +             'CURLOPT_KEYPASSWD'              => array('5.3.0', ''), ++            'CURLOPT_KRBLEVEL'               => array('5.5.0-dev', ''), +             'CURLOPT_KRB4LEVEL'              => array('4.0.2', ''), ++            'CURLOPT_LOCALPORT'              => array('5.5.0-dev', ''), ++            'CURLOPT_LOCALPORTRANGE'         => array('5.5.0-dev', ''), +             'CURLOPT_LOW_SPEED_LIMIT'        => array('4.0.2', ''), +             'CURLOPT_LOW_SPEED_TIME'         => array('4.0.2', ''), ++            'CURLOPT_MAIL_FROM'              => array('5.5.0-dev', ''), ++            'CURLOPT_MAIL_RCPT'              => array('5.5.0-dev', ''), +             'CURLOPT_MAXCONNECTS'            => array('4.0.2', ''), ++            'CURLOPT_MAXFILESIZE'            => array('5.5.0-dev', ''), +             'CURLOPT_MAXREDIRS'              => array('4.0.2', ''), +             'CURLOPT_MAX_RECV_SPEED_LARGE'   => array('5.3.7', ''), +             'CURLOPT_MAX_SEND_SPEED_LARGE'   => array('5.3.7', ''), +             'CURLOPT_MUTE'                   => array('4.0.2', ''), +             'CURLOPT_NETRC'                  => array('4.0.2', ''), ++            'CURLOPT_NETRC_FILE'             => array('5.5.0-dev', ''), ++            'CURLOPT_NEW_DIRECTORY_PERMS'    => array('5.5.0-dev', ''), ++            'CURLOPT_NEW_FILE_PERMS'         => array('5.5.0-dev', ''), +             'CURLOPT_NOBODY'                 => array('4.0.2', ''), +             'CURLOPT_NOPROGRESS'             => array('4.0.2', ''), ++            'CURLOPT_NOPROXY'                => array('5.5.0-dev', ''), +             'CURLOPT_NOSIGNAL'               => array('4.0.2', ''), ++            'CURLOPT_PASSWORD'               => array('5.5.0-dev', ''), +             'CURLOPT_PASSWDFUNCTION'         => array('4.0.2', ''), +             'CURLOPT_PORT'                   => array('4.0.2', ''), +             'CURLOPT_POST'                   => array('4.0.2', ''), +             'CURLOPT_POSTFIELDS'             => array('4.0.2', ''), +             'CURLOPT_POSTQUOTE'              => array('4.0.2', ''), +             'CURLOPT_POSTREDIR'              => array('5.3.2', ''), ++            'CURLOPT_PREQUOTE'               => array('5.5.0-dev', ''), +             'CURLOPT_PRIVATE'                => array('5.2.4', ''), +             'CURLOPT_PROGRESSFUNCTION'       => array('5.3.0', ''), +             'CURLOPT_PROTOCOLS'              => array('4.0.2', ''), +             'CURLOPT_PROXY'                  => array('4.0.2', ''), +             'CURLOPT_PROXYAUTH'              => array('4.0.2', ''), ++            'CURLOPT_PROXYPASSWORD'          => array('5.5.0-dev', ''), ++            'CURLOPT_PROXYUSERNAME'          => array('5.5.0-dev', ''), +             'CURLOPT_PROXYPORT'              => array('4.0.2', ''), +             'CURLOPT_PROXYTYPE'              => array('4.0.2', ''), +             'CURLOPT_PROXYUSERPWD'           => array('4.0.2', ''), ++            'CURLOPT_PROXY_TRANSFER_MODE'    => array('5.5.0-dev', ''), +             'CURLOPT_PUT'                    => array('4.0.2', ''), +             'CURLOPT_QUOTE'                  => array('4.0.2', ''), +             'CURLOPT_RANDOM_FILE'            => array('4.0.2', ''), +@@ -356,10 +443,21 @@ class PHP_CompatInfo_Reference_Curl +             'CURLOPT_REDIR_PROTOCOLS'        => array('4.0.2', ''), +             'CURLOPT_REFERER'                => array('4.0.2', ''), +             'CURLOPT_RESUME_FROM'            => array('4.0.2', ''), ++            'CURLOPT_RESOLVE'                => array('5.5.0-dev', ''), +             'CURLOPT_RETURNTRANSFER'         => array('4.0.2', ''), ++            'CURLOPT_RTSP_CLIENT_CSEQ'       => array('5.5.0-dev', ''), ++            'CURLOPT_RTSP_REQUEST'           => array('5.5.0-dev', ''), ++            'CURLOPT_RTSP_SERVER_CSEQ'       => array('5.5.0-dev', ''), ++            'CURLOPT_RTSP_SESSION_ID'        => array('5.5.0-dev', ''), ++            'CURLOPT_RTSP_STREAM_URI'        => array('5.5.0-dev', ''), ++            'CURLOPT_RTSP_TRANSPORT'         => array('5.5.0-dev', ''), ++            'CURLOPT_SHARE'                  => array('5.5.0-dev', ''), ++            'CURLOPT_SOCKS5_GSSAPI_NEC'      => array('5.5.0-dev', ''), ++            'CURLOPT_SOCKS5_GSSAPI_SERVICE'  => array('5.5.0-dev', ''), +             'CURLOPT_SSH_AUTH_TYPES'         => array('5.3.0', ''), +             'CURLOPT_SSH_HOST_PUBLIC_KEY_MD5' +                                              => array('5.3.0', ''), ++            'CURLOPT_SSH_KNOWNHOSTS'         => array('5.5.0-dev', ''), +             'CURLOPT_SSH_PRIVATE_KEYFILE'    => array('5.3.0', ''), +             'CURLOPT_SSH_PUBLIC_KEYFILE'     => array('5.3.0', ''), +             'CURLOPT_SSLCERT'                => array('4.0.2', ''), +@@ -372,21 +470,30 @@ class PHP_CompatInfo_Reference_Curl +             'CURLOPT_SSLKEYTYPE'             => array('4.0.2', ''), +             'CURLOPT_SSLVERSION'             => array('4.0.2', ''), +             'CURLOPT_SSL_CIPHER_LIST'        => array('4.0.2', ''), ++            'CURLOPT_SSL_SESSIONID_CACHE'    => array('5.5.0-dev', ''), +             'CURLOPT_SSL_VERIFYHOST'         => array('4.0.2', ''), +             'CURLOPT_SSL_VERIFYPEER'         => array('4.0.2', ''), +             'CURLOPT_STDERR'                 => array('4.0.2', ''), +             'CURLOPT_TCP_NODELAY'            => array('5.2.1', ''), ++            'CURLOPT_TFTP_BLKSIZE'           => array('5.5.0-dev', ''), +             'CURLOPT_TIMECONDITION'          => array('4.0.2', ''), +             'CURLOPT_TIMEOUT'                => array('4.0.2', ''), +             'CURLOPT_TIMEOUT_MS'             => array('4.0.2', ''), +             'CURLOPT_TIMEVALUE'              => array('4.0.2', ''), ++            'CURLOPT_TLSAUTH_PASSWORD'       => array('5.5.0-dev', ''), ++            'CURLOPT_TLSAUTH_TYPE'           => array('5.5.0-dev', ''), ++            'CURLOPT_TLSAUTH_USERNAME'       => array('5.5.0-dev', ''), +             'CURLOPT_TRANSFERTEXT'           => array('4.0.2', ''), ++            'CURLOPT_TRANSFER_ENCODING'      => array('5.5.0-dev', ''), +             'CURLOPT_UNRESTRICTED_AUTH'      => array('4.0.2', ''), +             'CURLOPT_UPLOAD'                 => array('4.0.2', ''), +             'CURLOPT_URL'                    => array('4.0.2', ''), +             'CURLOPT_USERAGENT'              => array('4.0.2', ''), ++            'CURLOPT_USERNAME'               => array('5.5.0-dev', ''), +             'CURLOPT_USERPWD'                => array('4.0.2', ''), ++            'CURLOPT_USE_SSL'                => array('5.5.0-dev', ''), +             'CURLOPT_VERBOSE'                => array('4.0.2', ''), ++            'CURLOPT_WILDCARDMATCH'          => array('5.5.0-dev', ''), +             'CURLOPT_WRITEFUNCTION'          => array('4.0.2', ''), +             'CURLOPT_WRITEHEADER'            => array('4.0.2', ''), +  +@@ -395,12 +502,26 @@ class PHP_CompatInfo_Reference_Curl +             'CURLPROTO_FILE'                 => array('4.0.2', ''), +             'CURLPROTO_FTP'                  => array('4.0.2', ''), +             'CURLPROTO_FTPS'                 => array('4.0.2', ''), ++            'CURLPROTO_GOPHER'               => array('5.5.0-dev', ''), +             'CURLPROTO_HTTP'                 => array('4.0.2', ''), +             'CURLPROTO_HTTPS'                => array('4.0.2', ''), ++            'CURLPROTO_IMAP'                 => array('5.5.0-dev', ''), ++            'CURLPROTO_IMAPS'                => array('5.5.0-dev', ''), +             'CURLPROTO_LDAP'                 => array('4.0.2', ''), +             'CURLPROTO_LDAPS'                => array('4.0.2', ''), ++            'CURLPROTO_POP3'                 => array('5.5.0-dev', ''), ++            'CURLPROTO_POP3S'                => array('5.5.0-dev', ''), ++            'CURLPROTO_RTMP'                 => array('5.5.0-dev', ''), ++            'CURLPROTO_RTMPE'                => array('5.5.0-dev', ''), ++            'CURLPROTO_RTMPS'                => array('5.5.0-dev', ''), ++            'CURLPROTO_RTMPT'                => array('5.5.0-dev', ''), ++            'CURLPROTO_RTMPTE'               => array('5.5.0-dev', ''), ++            'CURLPROTO_RTMPTS'               => array('5.5.0-dev', ''), ++            'CURLPROTO_RTSP'                 => array('5.5.0-dev', ''), +             'CURLPROTO_SCP'                  => array('4.0.2', ''), +             'CURLPROTO_SFTP'                 => array('4.0.2', ''), ++            'CURLPROTO_SMTP'                 => array('5.5.0-dev', ''), ++            'CURLPROTO_SMTPS'                => array('5.5.0-dev', ''), +             'CURLPROTO_TELNET'               => array('4.0.2', ''), +             'CURLPROTO_TFTP'                 => array('4.0.2', ''), +  +@@ -408,6 +529,11 @@ class PHP_CompatInfo_Reference_Curl +             'CURLPROXY_SOCKS4'               => array('5.2.10', ''), +             'CURLPROXY_SOCKS5'               => array('4.0.2', ''), +  ++            'CURLSHOPT_NONE'                 => array('5.5.0-dev', ''), ++            'CURLSHOPT_SHARE'                => array('5.5.0-dev', ''), ++            'CURLSHOPT_UNSHARE'              => array('5.5.0-dev', ''), ++ ++            'CURLSSH_AUTH_ANY'               => array('5.5.0-dev', ''), +             'CURLSSH_AUTH_DEFAULT'           => array('5.3.0', ''), +             'CURLSSH_AUTH_HOST'              => array('5.3.0', ''), +             'CURLSSH_AUTH_KEYBOARD'          => array('5.3.0', ''), +@@ -415,6 +541,11 @@ class PHP_CompatInfo_Reference_Curl +             'CURLSSH_AUTH_PASSWORD'          => array('5.3.0', ''), +             'CURLSSH_AUTH_PUBLICKEY'         => array('5.3.0', ''), +  ++            'CURLUSESSL_ALL'                 => array('5.5.0-dev', ''), ++            'CURLUSESSL_CONTROL'             => array('5.5.0-dev', ''), ++            'CURLUSESSL_NONE'                => array('5.5.0-dev', ''), ++            'CURLUSESSL_TRY'                 => array('5.5.0-dev', ''), ++ +             'CURLVERSION_NOW'                => array('4.0.2', ''), +         ); +         $this->applyFilter($release, $items, $constants); +--  +1.7.11.7 + diff --git a/0002-hash-reference-for-php-5.5.patch b/0002-hash-reference-for-php-5.5.patch new file mode 100644 index 0000000..779dc5f --- /dev/null +++ b/0002-hash-reference-for-php-5.5.patch @@ -0,0 +1,29 @@ +From 723084d34270773b434740c9ca4fabd1a99ffa26 Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Sat, 1 Dec 2012 18:26:57 +0100 +Subject: [PATCH 02/17] hash reference for php 5.5 + +--- + PHP/CompatInfo/Reference/hash.php | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/PHP/CompatInfo/Reference/hash.php b/PHP/CompatInfo/Reference/hash.php +index 616af0b..1f44f63 100644 +--- a/PHP/CompatInfo/Reference/hash.php ++++ b/PHP/CompatInfo/Reference/hash.php +@@ -120,6 +120,12 @@ class PHP_CompatInfo_Reference_Hash +         ); +         $this->applyFilter($release, $items, $functions); +  ++        $release = '5.5.0';       // soon ++        $items = array( ++            'hash_pbkdf2'                    => array('5.5.0-dev', ''), ++        ); ++        $this->applyFilter($release, $items, $functions); ++ +         return $functions; +     } +  +--  +1.7.11.7 + diff --git a/0003-tokoniser-reference-for-php-5.5.patch b/0003-tokoniser-reference-for-php-5.5.patch new file mode 100644 index 0000000..5afd41f --- /dev/null +++ b/0003-tokoniser-reference-for-php-5.5.patch @@ -0,0 +1,32 @@ +From de9aed8e22cdd55a20e038b832cdca033eee6fd6 Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Sat, 1 Dec 2012 19:38:19 +0100 +Subject: [PATCH 03/17] tokoniser reference for php 5.5 + +--- + PHP/CompatInfo/Reference/tokenizer.php | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/PHP/CompatInfo/Reference/tokenizer.php b/PHP/CompatInfo/Reference/tokenizer.php +index 36d4b6c..3af0bea 100644 +--- a/PHP/CompatInfo/Reference/tokenizer.php ++++ b/PHP/CompatInfo/Reference/tokenizer.php +@@ -215,6 +215,7 @@ class PHP_CompatInfo_Reference_Tokenizer +             'T_CLONE'                        => array('5.0.0', ''), +             'T_DIR'                          => array('5.3.0', ''), +             'T_FINAL'                        => array('5.0.0', ''), ++            'T_FINALLY'                      => array('5.5.0-dev', ''), +             'T_GOTO'                         => array('5.3.0', ''), +             'T_HALT_COMPILER'                => array('5.1.0', ''), +             'T_IMPLEMENTS'                   => array('5.0.0', ''), +@@ -234,6 +235,7 @@ class PHP_CompatInfo_Reference_Tokenizer +             'T_THROW'                        => array('5.0.0', ''), +             'T_UNSET_CAST'                   => array('5.0.0', ''), +             'T_USE'                          => array('5.3.0', ''), ++            'T_YIELD'                        => array('5.5.0-dev', ''), +         ); +         $this->applyFilter($release, $items, $constants); +  +--  +1.7.11.7 + diff --git a/0004-standard-reference-for-php-5.5.patch b/0004-standard-reference-for-php-5.5.patch new file mode 100644 index 0000000..2517751 --- /dev/null +++ b/0004-standard-reference-for-php-5.5.patch @@ -0,0 +1,68 @@ +From 92c973781339b78ad0bdae57c162cca4d454ce19 Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Sat, 1 Dec 2012 19:42:53 +0100 +Subject: [PATCH 04/17] standard reference for php 5.5 + +--- + PHP/CompatInfo/Reference/standard.php | 24 +++++++++++++++++++++--- + 1 file changed, 21 insertions(+), 3 deletions(-) + +diff --git a/PHP/CompatInfo/Reference/standard.php b/PHP/CompatInfo/Reference/standard.php +index ede6788..5defb23 100644 +--- a/PHP/CompatInfo/Reference/standard.php ++++ b/PHP/CompatInfo/Reference/standard.php +@@ -333,8 +333,8 @@ class PHP_CompatInfo_Reference_Standard +             'passthru'                       => array('4.0.0', ''), +             'pclose'                         => array('4.0.0', ''), +             'pfsockopen'                     => array('4.0.0', ''), +-            'php_logo_guid'                  => array('4.0.0', ''), +-            'php_real_logo_guid'             => array('4.0.0', ''), ++            'php_logo_guid'                  => array('4.0.0', '5.4.9'), ++            'php_real_logo_guid'             => array('4.0.0', '5.4.9'), +             'phpcredits'                     => array('4.0.0', ''), +             'phpinfo'                        => array('4.0.0', ''), +             'phpversion'                     => array('4.0.0', ''), +@@ -437,7 +437,7 @@ class PHP_CompatInfo_Reference_Standard +             'usleep'                         => array('4.0.0', ''), +             'usort'                          => array('4.0.0', ''), +             'var_dump'                       => array('4.0.0', ''), +-            'zend_logo_guid'                 => array('4.0.0', ''), ++            'zend_logo_guid'                 => array('4.0.0', '5.4.9'), +         ); +         $this->applyFilter($release, $items, $functions); +  +@@ -749,6 +749,16 @@ class PHP_CompatInfo_Reference_Standard +         ); +         $this->applyFilter($release, $items, $functions); +  ++        $release = '5.5.0';       // soon ++        $items = array( ++            'boolval'                        => array('5.5.0-dev', ''), ++            'password_get_info'              => array('5.5.0-dev', ''), ++            'password_hash'                  => array('5.5.0-dev', ''), ++            'password_needs_rehash'          => array('5.5.0-dev', ''), ++            'password_verify'                => array('5.5.0-dev', ''), ++        ); ++        $this->applyFilter($release, $items, $functions); ++ +         return $functions; +     } +  +@@ -1174,6 +1184,14 @@ class PHP_CompatInfo_Reference_Standard +         ); +         $this->applyFilter($release, $items, $constants); +  ++        $release = '5.5.0';       // soon ++        $items = array( ++            'PASSWORD_DEFAULT'                  => array('5.5.0-dev', ''), ++            'PASSWORD_BCRYPT'                   => array('5.5.0-dev', ''), ++            'PASSWORD_BCRYPT_DEFAULT_COST'      => array('5.5.0-dev', ''), ++        ); ++        $this->applyFilter($release, $items, $constants); ++ +         return $constants; +     } +  +--  +1.7.11.7 + diff --git a/0005-snmp-reference-for-php-5.5.patch b/0005-snmp-reference-for-php-5.5.patch new file mode 100644 index 0000000..cad841f --- /dev/null +++ b/0005-snmp-reference-for-php-5.5.patch @@ -0,0 +1,24 @@ +From f064bbca8b556fcf38b036f0f7673af6fd35f73b Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Sat, 1 Dec 2012 19:51:01 +0100 +Subject: [PATCH 05/17] snmp reference for php 5.5 + +--- + PHP/CompatInfo/Reference/snmp.php | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/PHP/CompatInfo/Reference/snmp.php b/PHP/CompatInfo/Reference/snmp.php +index 608f10a..45f1961 100644 +--- a/PHP/CompatInfo/Reference/snmp.php ++++ b/PHP/CompatInfo/Reference/snmp.php +@@ -78,6 +78,7 @@ class PHP_CompatInfo_Reference_Snmp +         $release = false; +         $items = array( +             'SNMP'                           => array('5.4.0', ''), ++            'SNMPException'                  => array('5.4.0', ''), +         ); +         $this->applyFilter($release, $items, $classes); +  +--  +1.7.11.7 + diff --git a/0006-openssl-reference-for-php-5.5.patch b/0006-openssl-reference-for-php-5.5.patch new file mode 100644 index 0000000..c147a1e --- /dev/null +++ b/0006-openssl-reference-for-php-5.5.patch @@ -0,0 +1,24 @@ +From 5a14d016dca96d296838156aa87bee03a8f8da32 Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Sat, 1 Dec 2012 20:24:52 +0100 +Subject: [PATCH 06/17] openssl reference for php 5.5 + +--- + PHP/CompatInfo/Reference/openssl.php | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/PHP/CompatInfo/Reference/openssl.php b/PHP/CompatInfo/Reference/openssl.php +index f5cf3b5..804213a 100644 +--- a/PHP/CompatInfo/Reference/openssl.php ++++ b/PHP/CompatInfo/Reference/openssl.php +@@ -94,6 +94,7 @@ class PHP_CompatInfo_Reference_Openssl +             'openssl_get_privatekey'         => array('4.0.4', ''), +             'openssl_get_publickey'          => array('4.0.4', ''), +             'openssl_open'                   => array('4.0.4', ''), ++            'openssl_pbkdf2'                 => array('5.5.0-dev', ''), +             'openssl_pkcs12_export'          => array('5.2.2', ''), +             'openssl_pkcs12_export_to_file'  => array('5.2.2', ''), +             'openssl_pkcs12_read'            => array('5.2.2', ''), +--  +1.7.11.7 + diff --git a/0007-mysqli-reference-for-php-5.5.patch b/0007-mysqli-reference-for-php-5.5.patch new file mode 100644 index 0000000..daba98d --- /dev/null +++ b/0007-mysqli-reference-for-php-5.5.patch @@ -0,0 +1,24 @@ +From 461b03375329f2f2ace7b96b0274473e5544f0c2 Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Sat, 1 Dec 2012 20:25:58 +0100 +Subject: [PATCH 07/17] mysqli reference for php 5.5 + +--- + PHP/CompatInfo/Reference/mysqli.php | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/PHP/CompatInfo/Reference/mysqli.php b/PHP/CompatInfo/Reference/mysqli.php +index a6f1b0c..82e7e8f 100644 +--- a/PHP/CompatInfo/Reference/mysqli.php ++++ b/PHP/CompatInfo/Reference/mysqli.php +@@ -319,6 +319,7 @@ class PHP_CompatInfo_Reference_Mysqli +             'MYSQLI_RPL_MASTER'              => array('5.0.0', self::LATEST_PHP_5_2), +             'MYSQLI_RPL_SLAVE'               => array('5.0.0', self::LATEST_PHP_5_2), +             'MYSQLI_SERVER_PS_OUT_PARAMS'    => array('5.3.4', ''), ++            'MYSQLI_SERVER_PUBLIC_KEY'       => array('5.5.0-dev', ''), +             'MYSQLI_SERVER_QUERY_NO_GOOD_INDEX_USED' +                                              => array('5.3.0', ''), +             'MYSQLI_SERVER_QUERY_NO_INDEX_USED' +--  +1.7.11.7 + diff --git a/0008-Fix-json-reference-for-PHP-5.5.patch b/0008-Fix-json-reference-for-PHP-5.5.patch new file mode 100644 index 0000000..762e865 --- /dev/null +++ b/0008-Fix-json-reference-for-PHP-5.5.patch @@ -0,0 +1,58 @@ +From 15b732e5d955c58c9d9390151bf09a926e45f9b5 Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Sun, 2 Dec 2012 07:22:18 +0100 +Subject: [PATCH 08/17] Fix json reference for PHP 5.5 + +--- + PHP/CompatInfo/Reference/json.php | 21 +++++++++++++++------ + 1 file changed, 15 insertions(+), 6 deletions(-) + +diff --git a/PHP/CompatInfo/Reference/json.php b/PHP/CompatInfo/Reference/json.php +index 1a7b291..06d00e7 100644 +--- a/PHP/CompatInfo/Reference/json.php ++++ b/PHP/CompatInfo/Reference/json.php +@@ -113,6 +113,12 @@ class PHP_CompatInfo_Reference_Json +         ); +         $this->applyFilter($release, $items, $functions); +  ++        $release = '5.5.0';       // soon ++        $items = array( ++            'json_last_error_msg'            => array('5.5.0-dev', ''), ++        ); ++        $this->applyFilter($release, $items, $functions); ++ +         return $functions; +     } +  +@@ -156,12 +162,6 @@ class PHP_CompatInfo_Reference_Json +         ); +         $this->applyFilter($release, $items, $constants); +  +-        $release = '5.3.14';      // 2012-06-06 +-        $items = array( +-            'JSON_PARTIAL_OUTPUT_ON_ERROR'   => array('5.3.14', '5.3.14'), +-        ); +-        $this->applyFilter($release, $items, $constants); +- +         $release = '5.4.0';       // 2012-03-01 +         $items = array( +             'JSON_BIGINT_AS_STRING'          => array('5.4.0', ''), +@@ -172,6 +172,15 @@ class PHP_CompatInfo_Reference_Json +         ); +         $this->applyFilter($release, $items, $constants); +  ++        $release = '5.5.0';      // soon ++        $items = array( ++            'JSON_PARTIAL_OUTPUT_ON_ERROR'   => array('5.5.0-dev', ''), ++            'JSON_ERROR_RECURSION'           => array('5.5.0-dev', ''), ++            'JSON_ERROR_INF_OR_NAN'          => array('5.5.0-dev', ''), ++            'JSON_ERROR_UNSUPPORTED_TYPE'    => array('5.5.0-dev', ''), ++        ); ++        $this->applyFilter($release, $items, $constants); ++ +         return $constants; +     } +  +--  +1.7.11.7 + diff --git a/0009-Fix-intl-reference-for-PHP-5.5.patch b/0009-Fix-intl-reference-for-PHP-5.5.patch new file mode 100644 index 0000000..5701312 --- /dev/null +++ b/0009-Fix-intl-reference-for-PHP-5.5.patch @@ -0,0 +1,131 @@ +From 774226ac3c8cbc6938fa834b4c5fbf4f9681cabe Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Sun, 2 Dec 2012 07:51:58 +0100 +Subject: [PATCH 09/17] Fix intl reference for PHP 5.5 + +--- + PHP/CompatInfo/Reference/intl.php | 94 +++++++++++++++++++++++++++++++++++++++ + 1 file changed, 94 insertions(+) + +diff --git a/PHP/CompatInfo/Reference/intl.php b/PHP/CompatInfo/Reference/intl.php +index dcc7aad..68eadcb 100644 +--- a/PHP/CompatInfo/Reference/intl.php ++++ b/PHP/CompatInfo/Reference/intl.php +@@ -99,6 +99,7 @@ class PHP_CompatInfo_Reference_Intl +             'MessageFormatter'              => array('5.2.0', ''), +             'Normalizer'                    => array('5.2.0', ''), +             'NumberFormatter'               => array('5.2.0', ''), ++            'IntlException'                 => array('5.2.0', ''), +         ); +         $this->applyFilter($release, $items, $classes); +  +@@ -121,6 +122,19 @@ class PHP_CompatInfo_Reference_Intl +         ); +         $this->applyFilter($release, $items, $classes); +  ++        $release = '5.5.0';         // soon ++        $items = array( ++            'IntlBreakIterator'             => array('5.5.0-dev', ''), ++            'IntlCalendar'                  => array('5.5.0-dev', ''), ++            'IntlCodePointBreakIterator'    => array('5.5.0-dev', ''), ++            'IntlGregorianCalendar'         => array('5.5.0-dev', ''), ++            'IntlIterator'                  => array('5.5.0-dev', ''), ++            'IntlPartsIterator'             => array('5.5.0-dev', ''), ++            'IntlRuleBasedBreakIterator'    => array('5.5.0-dev', ''), ++            'IntlTimeZone'                  => array('5.5.0-dev', ''), ++        ); ++        $this->applyFilter($release, $items, $classes); ++ +         return $classes; +     } +  +@@ -289,6 +303,86 @@ class PHP_CompatInfo_Reference_Intl +         ); +         $this->applyFilter($release, $items, $functions); +  ++        $release = '5.5.0';     // soon ++        $items = array( ++            'datefmt_format_object'             => array('5.5.0-dev', ''), ++            'datefmt_get_calendar_object'       => array('5.5.0-dev', ''), ++            'datefmt_get_timezone'              => array('5.5.0-dev', ''), ++            'datefmt_set_timezone'              => array('5.5.0-dev', ''), ++ ++            'intlgregcal_create_instance'       => array('5.5.0-dev', ''), ++            'intlgregcal_set_gregorian_change'  => array('5.5.0-dev', ''), ++            'intlgregcal_get_gregorian_change'  => array('5.5.0-dev', ''), ++            'intlgregcal_is_leap_year'          => array('5.5.0-dev', ''), ++ ++            'intlcal_add'                       => array('5.5.0-dev', ''), ++            'intlcal_after'                     => array('5.5.0-dev', ''), ++            'intlcal_before'                    => array('5.5.0-dev', ''), ++            'intlcal_clear'                     => array('5.5.0-dev', ''), ++            'intlcal_create_instance'           => array('5.5.0-dev', ''), ++            'intlcal_equals'                    => array('5.5.0-dev', ''), ++            'intlcal_field_difference'          => array('5.5.0-dev', ''), ++            'intlcal_from_date_time'            => array('5.5.0-dev', ''), ++            'intlcal_get'                       => array('5.5.0-dev', ''), ++            'intlcal_get_actual_maximum'        => array('5.5.0-dev', ''), ++            'intlcal_get_actual_minimum'        => array('5.5.0-dev', ''), ++            'intlcal_get_available_locales'     => array('5.5.0-dev', ''), ++            'intlcal_get_day_of_week_type'      => array('5.5.0-dev', ''), ++            'intlcal_get_error_code'            => array('5.5.0-dev', ''), ++            'intlcal_get_error_message'         => array('5.5.0-dev', ''), ++            'intlcal_get_first_day_of_week'     => array('5.5.0-dev', ''), ++            'intlcal_get_greatest_minimum'      => array('5.5.0-dev', ''), ++            'intlcal_get_keyword_values_for_locale' ++                                                => array('5.5.0-dev', ''), ++            'intlcal_get_least_maximum'         => array('5.5.0-dev', ''), ++            'intlcal_get_locale'                => array('5.5.0-dev', ''), ++            'intlcal_get_maximum'               => array('5.5.0-dev', ''), ++            'intlcal_get_minimal_days_in_first_week' ++                                                => array('5.5.0-dev', ''), ++            'intlcal_get_minimum'               => array('5.5.0-dev', ''), ++            'intlcal_get_now'                   => array('5.5.0-dev', ''), ++            'intlcal_get_time'                  => array('5.5.0-dev', ''), ++            'intlcal_get_time_zone'             => array('5.5.0-dev', ''), ++            'intlcal_get_type'                  => array('5.5.0-dev', ''), ++            'intlcal_get_weekend_transition'    => array('5.5.0-dev', ''), ++            'intlcal_in_daylight_time'          => array('5.5.0-dev', ''), ++            'intlcal_is_equivalent_to'          => array('5.5.0-dev', ''), ++            'intlcal_is_lenient'                => array('5.5.0-dev', ''), ++            'intlcal_is_set'                    => array('5.5.0-dev', ''), ++            'intlcal_is_weekend'                => array('5.5.0-dev', ''), ++            'intlcal_roll'                      => array('5.5.0-dev', ''), ++            'intlcal_set'                       => array('5.5.0-dev', ''), ++            'intlcal_set_first_day_of_week'     => array('5.5.0-dev', ''), ++            'intlcal_set_lenient'               => array('5.5.0-dev', ''), ++            'intlcal_set_time'                  => array('5.5.0-dev', ''), ++            'intlcal_set_time_zone'             => array('5.5.0-dev', ''), ++            'intlcal_to_date_time'              => array('5.5.0-dev', ''), ++ ++            'intltz_count_equivalent_ids'       => array('5.5.0-dev', ''), ++            'intltz_create_default'             => array('5.5.0-dev', ''), ++            'intltz_create_enumeration'         => array('5.5.0-dev', ''), ++            'intltz_create_time_zone'           => array('5.5.0-dev', ''), ++            'intltz_create_time_zone_id_enumeration' ++                                                => array('5.5.0-dev', ''), ++            'intltz_from_date_time_zone'        => array('5.5.0-dev', ''), ++            'intltz_get_canonical_id'           => array('5.5.0-dev', ''), ++            'intltz_get_equivalent_id'          => array('5.5.0-dev', ''), ++            'intltz_get_gmt'                    => array('5.5.0-dev', ''), ++            'intltz_get_display_name'           => array('5.5.0-dev', ''), ++            'intltz_get_dst_savings'            => array('5.5.0-dev', ''), ++            'intltz_get_error_code'             => array('5.5.0-dev', ''), ++            'intltz_get_error_message'          => array('5.5.0-dev', ''), ++            'intltz_get_id'                     => array('5.5.0-dev', ''), ++            'intltz_get_offset'                 => array('5.5.0-dev', ''), ++            'intltz_get_raw_offset'             => array('5.5.0-dev', ''), ++            'intltz_get_region'                 => array('5.5.0-dev', ''), ++            'intltz_get_tz_data_version'        => array('5.5.0-dev', ''), ++            'intltz_has_same_rules'             => array('5.5.0-dev', ''), ++            'intltz_to_date_time_zone'          => array('5.5.0-dev', ''), ++            'intltz_use_daylight_time'          => array('5.5.0-dev', ''), ++        ); ++        $this->applyFilter($release, $items, $functions); ++ +         return $functions; +     } +  +--  +1.7.11.7 + diff --git a/0010-fix-Core-reference-for-PHP-5.5.patch b/0010-fix-Core-reference-for-PHP-5.5.patch new file mode 100644 index 0000000..4c7bc1a --- /dev/null +++ b/0010-fix-Core-reference-for-PHP-5.5.patch @@ -0,0 +1,29 @@ +From 388eb5f2155218c497c695c7e1a3c7d49c820f15 Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Sun, 2 Dec 2012 08:35:53 +0100 +Subject: [PATCH 10/17] fix Core reference for PHP 5.5 + +--- + PHP/CompatInfo/Reference/core.php | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/PHP/CompatInfo/Reference/core.php b/PHP/CompatInfo/Reference/core.php +index 1cdf216..50e159f 100644 +--- a/PHP/CompatInfo/Reference/core.php ++++ b/PHP/CompatInfo/Reference/core.php +@@ -95,6 +95,12 @@ class PHP_CompatInfo_Reference_Core +         ); +         $this->applyFilter($release, $items, $classes); +  ++        $release = '5.5.0';       // soon ++        $items = array( ++            'Generator'                      => array('5.5.0-dev', ''), ++        ); ++        $this->applyFilter($release, $items, $classes); ++ +         return $classes; +     } +  +--  +1.7.11.7 + diff --git a/0011-fix-order-in-intl.patch b/0011-fix-order-in-intl.patch new file mode 100644 index 0000000..f0cd8a2 --- /dev/null +++ b/0011-fix-order-in-intl.patch @@ -0,0 +1,27 @@ +From 95d27dc13f2fadb20659f6bb99a2d81631585407 Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Sun, 2 Dec 2012 08:36:14 +0100 +Subject: [PATCH 11/17] fix order in intl + +--- + PHP/CompatInfo/Reference/intl.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/PHP/CompatInfo/Reference/intl.php b/PHP/CompatInfo/Reference/intl.php +index 68eadcb..86c6d3d 100644 +--- a/PHP/CompatInfo/Reference/intl.php ++++ b/PHP/CompatInfo/Reference/intl.php +@@ -311,9 +311,9 @@ class PHP_CompatInfo_Reference_Intl +             'datefmt_set_timezone'              => array('5.5.0-dev', ''), +  +             'intlgregcal_create_instance'       => array('5.5.0-dev', ''), +-            'intlgregcal_set_gregorian_change'  => array('5.5.0-dev', ''), +             'intlgregcal_get_gregorian_change'  => array('5.5.0-dev', ''), +             'intlgregcal_is_leap_year'          => array('5.5.0-dev', ''), ++            'intlgregcal_set_gregorian_change'  => array('5.5.0-dev', ''), +  +             'intlcal_add'                       => array('5.5.0-dev', ''), +             'intlcal_after'                     => array('5.5.0-dev', ''), +--  +1.7.11.7 + diff --git a/0012-curl-reference-for-php-5.5-more.patch b/0012-curl-reference-for-php-5.5-more.patch new file mode 100644 index 0000000..ef4b807 --- /dev/null +++ b/0012-curl-reference-for-php-5.5-more.patch @@ -0,0 +1,73 @@ +From b5370ab1d00045f7423e712921bb93b7938a32c1 Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Sun, 30 Dec 2012 10:03:05 +0100 +Subject: [PATCH 12/17] curl reference for php 5.5 (more) + +--- + PHP/CompatInfo/Reference/curl.php | 16 ++++++++++++++++ + 1 file changed, 16 insertions(+) + +diff --git a/PHP/CompatInfo/Reference/curl.php b/PHP/CompatInfo/Reference/curl.php +index c12dc0f..e59bda4 100644 +--- a/PHP/CompatInfo/Reference/curl.php ++++ b/PHP/CompatInfo/Reference/curl.php +@@ -93,12 +93,16 @@ class PHP_CompatInfo_Reference_Curl +             'curl_multi_init'                => array('5.0.0', ''), +             'curl_multi_remove_handle'       => array('5.0.0', ''), +             'curl_multi_select'              => array('5.0.0', ''), ++            'curl_multi_setopt'              => array('5.5.0-dev', ''), ++            'curl_multi_strerror'            => array('5.5.0-dev', ''), ++            'curl_pause'                     => array('5.5.0-dev', ''), +             'curl_reset'                     => array('5.5.0-dev', ''), +             'curl_setopt'                    => array('4.0.2', ''), +             'curl_setopt_array'              => array('5.1.3', ''), +             'curl_share_close'               => array('5.5.0-dev', ''), +             'curl_share_init'                => array('5.5.0-dev', ''), +             'curl_share_setopt'              => array('5.5.0-dev', ''), ++            'curl_strerror'                  => array('5.5.0-dev', ''), +             'curl_unescape'                  => array('5.5.0-dev', ''), +             'curl_version'                   => array('4.0.2', ''), +         ); +@@ -142,6 +146,7 @@ class PHP_CompatInfo_Reference_Curl +             'CURL_NETRC_IGNORED'             => array('4.0.2', ''), +             'CURL_NETRC_OPTIONAL'            => array('4.0.2', ''), +             'CURL_NETRC_REQUIRED'            => array('4.0.2', ''), ++            'CURL_READFUNC_PAUSE'            => array('5.5.0-dev', ''), +             'CURL_RTSPREQ_ANNOUNCE'          => array('5.5.0-dev', ''), +             'CURL_RTSPREQ_DESCRIBE'          => array('5.5.0-dev', ''), +             'CURL_RTSPREQ_GET_PARAMETER'     => array('5.5.0-dev', ''), +@@ -166,6 +171,7 @@ class PHP_CompatInfo_Reference_Curl +             'CURL_VERSION_KERBEROS4'         => array('4.0.2', ''), +             'CURL_VERSION_LIBZ'              => array('4.0.2', ''), +             'CURL_VERSION_SSL'               => array('4.0.2', ''), ++            'CURL_WRITEFUNC_PAUSE'           => array('5.5.0-dev', ''), +  +             'CURLAUTH_ANY'                   => array('4.0.2', ''), +             'CURLAUTH_ANYSAFE'               => array('4.0.2', ''), +@@ -324,6 +330,9 @@ class PHP_CompatInfo_Reference_Curl +             'CURLM_OK'                       => array('4.0.2', ''), +             'CURLM_OUT_OF_MEMORY'            => array('4.0.2', ''), +  ++            'CURLMOPT_MAXCONNECTS'           => array('5.5.0-dev', ''), ++            'CURLMOPT_PIPELINING'            => array('5.5.0-dev', ''), ++ +             'CURLMSG_DONE'                   => array('4.0.2', ''), +  +             'CURLOPT_ACCEPT_ENCODING'        => array('5.5.0-dev', ''), +@@ -497,6 +506,13 @@ class PHP_CompatInfo_Reference_Curl +             'CURLOPT_WRITEFUNCTION'          => array('4.0.2', ''), +             'CURLOPT_WRITEHEADER'            => array('4.0.2', ''), +  ++            'CURLPAUSE_ALL'                  => array('5.5.0-dev', ''), ++            'CURLPAUSE_CONT'                 => array('5.5.0-dev', ''), ++            'CURLPAUSE_RECV'                 => array('5.5.0-dev', ''), ++            'CURLPAUSE_RECV_CONT'            => array('5.5.0-dev', ''), ++            'CURLPAUSE_SEND'                 => array('5.5.0-dev', ''), ++            'CURLPAUSE_SEND_CONT'            => array('5.5.0-dev', ''), ++ +             'CURLPROTO_ALL'                  => array('4.0.2', ''), +             'CURLPROTO_DICT'                 => array('4.0.2', ''), +             'CURLPROTO_FILE'                 => array('4.0.2', ''), +--  +1.7.11.7 + diff --git a/0013-use-LATEST_PHP_5_4-macro.patch b/0013-use-LATEST_PHP_5_4-macro.patch new file mode 100644 index 0000000..c493857 --- /dev/null +++ b/0013-use-LATEST_PHP_5_4-macro.patch @@ -0,0 +1,36 @@ +From 344bd579ee8f74f16fd2088d47362dc4d70c7f7c Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Sun, 30 Dec 2012 10:05:23 +0100 +Subject: [PATCH 13/17] use LATEST_PHP_5_4 macro + +--- + PHP/CompatInfo/Reference/standard.php | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/PHP/CompatInfo/Reference/standard.php b/PHP/CompatInfo/Reference/standard.php +index 5defb23..80ad678 100644 +--- a/PHP/CompatInfo/Reference/standard.php ++++ b/PHP/CompatInfo/Reference/standard.php +@@ -333,8 +333,8 @@ class PHP_CompatInfo_Reference_Standard +             'passthru'                       => array('4.0.0', ''), +             'pclose'                         => array('4.0.0', ''), +             'pfsockopen'                     => array('4.0.0', ''), +-            'php_logo_guid'                  => array('4.0.0', '5.4.9'), +-            'php_real_logo_guid'             => array('4.0.0', '5.4.9'), ++            'php_logo_guid'                  => array('4.0.0', self::LATEST_PHP_5_4), ++            'php_real_logo_guid'             => array('4.0.0', self::LATEST_PHP_5_4), +             'phpcredits'                     => array('4.0.0', ''), +             'phpinfo'                        => array('4.0.0', ''), +             'phpversion'                     => array('4.0.0', ''), +@@ -437,7 +437,7 @@ class PHP_CompatInfo_Reference_Standard +             'usleep'                         => array('4.0.0', ''), +             'usort'                          => array('4.0.0', ''), +             'var_dump'                       => array('4.0.0', ''), +-            'zend_logo_guid'                 => array('4.0.0', '5.4.9'), ++            'zend_logo_guid'                 => array('4.0.0', self::LATEST_PHP_5_4), +         ); +         $this->applyFilter($release, $items, $functions); +  +--  +1.7.11.7 + diff --git a/0014-curl-reference-for-php-5.5-more.patch b/0014-curl-reference-for-php-5.5-more.patch new file mode 100644 index 0000000..d1cf09d --- /dev/null +++ b/0014-curl-reference-for-php-5.5-more.patch @@ -0,0 +1,59 @@ +From af2162b342b4e8a788a685a32b0b87a2b16c8d70 Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Mon, 14 Jan 2013 18:03:33 +0100 +Subject: [PATCH 14/17] curl reference for php 5.5 (more) + +--- + PHP/CompatInfo/Reference/curl.php | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/PHP/CompatInfo/Reference/curl.php b/PHP/CompatInfo/Reference/curl.php +index e59bda4..19bf6f8 100644 +--- a/PHP/CompatInfo/Reference/curl.php ++++ b/PHP/CompatInfo/Reference/curl.php +@@ -212,6 +212,7 @@ class PHP_CompatInfo_Reference_Curl +             'CURLE_FTP_COULDNT_SET_BINARY'   => array('4.0.2', ''), +             'CURLE_FTP_COULDNT_STOR_FILE'    => array('4.0.2', ''), +             'CURLE_FTP_COULDNT_USE_REST'     => array('4.0.2', ''), ++            'CURLE_FTP_PARTIAL_FILE'         => array('5.5.0-dev', ''), +             'CURLE_FTP_PORT_FAILED'          => array('4.0.2', ''), +             'CURLE_FTP_QUOTE_ERROR'          => array('4.0.2', ''), +             'CURLE_FTP_SSL_FAILED'           => array('4.0.2', ''), +@@ -277,6 +278,10 @@ class PHP_CompatInfo_Reference_Curl +             'CURLFTPSSL_NONE'                => array('5.2.0', ''), +             'CURLFTPSSL_TRY'                 => array('4.0.2', ''), +  ++            'CURLGSSAPI_DELEGATION_FLAG'     => array('5.5.0-dev', ''), ++            'CURLGSSAPI_DELEGATION_POLICY_FLAG' ++                                             => array('5.5.0-dev', ''), ++ +             'CURLINFO_APPCONNECT_TIME'       => array('5.5.0-dev', ''), +             'CURLINFO_CERTINFO'              => array('5.3.2', ''), +             'CURLINFO_CONDITION_UNMET'       => array('5.5.0-dev', ''), +@@ -336,6 +341,7 @@ class PHP_CompatInfo_Reference_Curl +             'CURLMSG_DONE'                   => array('4.0.2', ''), +  +             'CURLOPT_ACCEPT_ENCODING'        => array('5.5.0-dev', ''), ++            'CURLOPT_ACCEPTTIMEOUT_MS'       => array('5.5.0-dev', ''), +             'CURLOPT_ADDRESS_SCOPE'          => array('5.5.0-dev', ''), +             'CURLOPT_APPEND'                 => array('5.5.0-dev', ''), +             'CURLOPT_AUTOREFERER'            => array('5.1.0', ''), +@@ -385,6 +391,7 @@ class PHP_CompatInfo_Reference_Curl +             'CURLOPT_FTP_USE_EPRT'           => array('4.0.2', ''), +             'CURLOPT_FTP_USE_EPSV'           => array('4.0.2', ''), +             'CURLOPT_FTP_USE_PRET'           => array('5.5.0-dev', ''), ++            'CURLOPT_GSSAPI_DELEGATION'      => array('5.5.0-dev', ''), +             'CURLOPT_HEADER'                 => array('4.0.2', ''), +             'CURLOPT_HEADERFUNCTION'         => array('4.0.2', ''), +             'CURLOPT_HTTP200ALIASES'         => array('4.0.2', ''), +@@ -484,6 +491,7 @@ class PHP_CompatInfo_Reference_Curl +             'CURLOPT_SSL_VERIFYPEER'         => array('4.0.2', ''), +             'CURLOPT_STDERR'                 => array('4.0.2', ''), +             'CURLOPT_TCP_NODELAY'            => array('5.2.1', ''), ++            'CURLOPT_TELNETOPTIONS'          => array('5.5.0-dev', ''), +             'CURLOPT_TFTP_BLKSIZE'           => array('5.5.0-dev', ''), +             'CURLOPT_TIMECONDITION'          => array('4.0.2', ''), +             'CURLOPT_TIMEOUT'                => array('4.0.2', ''), +--  +1.7.11.7 + diff --git a/0015-mysqli-new-constant.patch b/0015-mysqli-new-constant.patch new file mode 100644 index 0000000..6fb734d --- /dev/null +++ b/0015-mysqli-new-constant.patch @@ -0,0 +1,25 @@ +From 9c1c9ccb848a048b0cff7b9448e2099bae676268 Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Mon, 14 Jan 2013 18:08:52 +0100 +Subject: [PATCH 15/17] mysqli new constant + +--- + PHP/CompatInfo/Reference/mysqli.php | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/PHP/CompatInfo/Reference/mysqli.php b/PHP/CompatInfo/Reference/mysqli.php +index 82e7e8f..e635150 100644 +--- a/PHP/CompatInfo/Reference/mysqli.php ++++ b/PHP/CompatInfo/Reference/mysqli.php +@@ -288,6 +288,8 @@ class PHP_CompatInfo_Reference_Mysqli +             'MYSQLI_NUM'                     => array('5.0.0', ''), +             'MYSQLI_NUM_FLAG'                => array('5.0.0', ''), +             'MYSQLI_ON_UPDATE_NOW_FLAG'      => array('5.3.0', ''), ++            'MYSQLI_OPT_CAN_HANDLE_EXPIRED_PASSWORDS' ++                                             => array('5.5.0-dev', ''), +             'MYSQLI_OPT_CONNECT_TIMEOUT'     => array('5.0.0', ''), +             'MYSQLI_OPT_INT_AND_FLOAT_NATIVE' +                                              => array('5.3.0', ''), +--  +1.7.11.7 + diff --git a/0016-MYSQLI_OPT_CAN_HANDLE_EXPIRED_PASSWORDS-is-5.4.12.patch b/0016-MYSQLI_OPT_CAN_HANDLE_EXPIRED_PASSWORDS-is-5.4.12.patch new file mode 100644 index 0000000..7a7743b --- /dev/null +++ b/0016-MYSQLI_OPT_CAN_HANDLE_EXPIRED_PASSWORDS-is-5.4.12.patch @@ -0,0 +1,25 @@ +From a15aa3280638abf52ab2468353acf1d11951969f Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Wed, 16 Jan 2013 10:26:08 +0100 +Subject: [PATCH 16/17] MYSQLI_OPT_CAN_HANDLE_EXPIRED_PASSWORDS is 5.4.12 + +--- + PHP/CompatInfo/Reference/mysqli.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/PHP/CompatInfo/Reference/mysqli.php b/PHP/CompatInfo/Reference/mysqli.php +index e635150..ff9ee91 100644 +--- a/PHP/CompatInfo/Reference/mysqli.php ++++ b/PHP/CompatInfo/Reference/mysqli.php +@@ -289,7 +289,7 @@ class PHP_CompatInfo_Reference_Mysqli +             'MYSQLI_NUM_FLAG'                => array('5.0.0', ''), +             'MYSQLI_ON_UPDATE_NOW_FLAG'      => array('5.3.0', ''), +             'MYSQLI_OPT_CAN_HANDLE_EXPIRED_PASSWORDS' +-                                             => array('5.5.0-dev', ''), ++                                             => array('5.4.12', ''), +             'MYSQLI_OPT_CONNECT_TIMEOUT'     => array('5.0.0', ''), +             'MYSQLI_OPT_INT_AND_FLOAT_NATIVE' +                                              => array('5.3.0', ''), +--  +1.7.11.7 + diff --git a/0017-data-reference-for-php-5.5-date-immutable.patch b/0017-data-reference-for-php-5.5-date-immutable.patch new file mode 100644 index 0000000..62654fb --- /dev/null +++ b/0017-data-reference-for-php-5.5-date-immutable.patch @@ -0,0 +1,34 @@ +From bbcf29cd267f86f60ce04048f7afd137a7f7a8dd Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Thu, 17 Jan 2013 20:51:52 +0100 +Subject: [PATCH 17/17] data reference for php 5.5 (date immutable) + +--- + PHP/CompatInfo/Reference/date.php | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/PHP/CompatInfo/Reference/date.php b/PHP/CompatInfo/Reference/date.php +index 600789c..1e84586 100644 +--- a/PHP/CompatInfo/Reference/date.php ++++ b/PHP/CompatInfo/Reference/date.php +@@ -79,6 +79,7 @@ class PHP_CompatInfo_Reference_Date +             'DatePeriod'                     => array('5.3.0', ''), +             'DateTime'                       => array('5.2.0', ''), +             'DateTimeZone'                   => array('5.2.0', ''), ++            'DateTimeImmutable'              => array('5.5.0-dev', ''), +         ); +         $this->applyFilter($release, $items, $classes); +  +@@ -110,6 +111,9 @@ class PHP_CompatInfo_Reference_Date +             'date_add'                       => array('5.3.0', ''), +             'date_create'                    => array('5.2.0', ''), +             'date_create_from_format'        => array('5.3.0', ''), ++            'date_create_immutable'          => array('5.5.0-dev', ''), ++            'date_create_immutable_from_format' ++                                             => array('5.5.0-dev', ''), +             'date_date_set'                  => array('5.2.0', ''), +             'date_default_timezone_get'      => array('5.1.0', ''), +             'date_default_timezone_set'      => array('5.1.0', ''), +--  +1.7.11.7 + diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 3741e3f..30a5cad 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -18,6 +18,26 @@ License:        BSD and MIT  URL:            http://php5.laurent-laville.org/compatinfo/  Source0:        http://bartlett.laurent-laville.org/get/%{pear_name}-%{version}%{?prever}.tgz +# Update reference for PHP 5.5 +# https://github.com/remicollet/php-compat-info/commits/issue-php55 +Patch1:         0001-cuirl-reference-for-php-5.5.patch +Patch2:         0002-hash-reference-for-php-5.5.patch +Patch3:         0003-tokoniser-reference-for-php-5.5.patch +Patch4:         0004-standard-reference-for-php-5.5.patch +Patch5:         0005-snmp-reference-for-php-5.5.patch +Patch6:         0006-openssl-reference-for-php-5.5.patch +Patch7:         0007-mysqli-reference-for-php-5.5.patch +Patch8:         0008-Fix-json-reference-for-PHP-5.5.patch +Patch9:         0009-Fix-intl-reference-for-PHP-5.5.patch +Patch10:        0010-fix-Core-reference-for-PHP-5.5.patch +Patch11:        0011-fix-order-in-intl.patch +Patch12:        0012-curl-reference-for-php-5.5-more.patch +Patch13:        0013-use-LATEST_PHP_5_4-macro.patch +Patch14:        0014-curl-reference-for-php-5.5-more.patch +Patch15:        0015-mysqli-new-constant.patch +Patch16:        0016-MYSQLI_OPT_CAN_HANDLE_EXPIRED_PASSWORDS-is-5.4.12.patch +Patch17:        0017-data-reference-for-php-5.5-date-immutable.patch +  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  BuildArch:      noarch  BuildRequires:  php-pear(PEAR) >= 1.9.0 @@ -52,7 +72,9 @@ version and extensions required for it to run. CLI version has many reports  (extension, interface, class, function, constant) to display and ability to  show content of dictionary references. -HTML Documentation:  %{pear_docdir}/%{pear_name}/docs/html/index.html +HTML Documentation:  %{pear_docdir}/%{pear_name}/docs/html/ + +This package provides experimental references for PHP 5.5.  %prep @@ -60,7 +82,28 @@ HTML Documentation:  %{pear_docdir}/%{pear_name}/docs/html/index.html  # Package is V2  cd %{pear_name}-%{version}%{?prever} -mv -f ../package.xml %{name}.xml + +%patch1  -p1 +%patch2  -p1 +%patch3  -p1 +%patch4  -p1 +%patch5  -p1 +%patch6  -p1 +%patch7  -p1 +%patch8  -p1 +%patch9  -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 +%patch16 -p1 +%patch17 -p1 + +# remove checksum for patched files +sed -e 's/md5sum.*name/name/' \ +    ../package.xml >%{name}.xml  %build @@ -145,6 +188,7 @@ fi  - update to Version 2.12.0  - drop dependency on eZ components  - raise PHPUnit dependency to 3.6.0 +- update References for PHP 5.5 (non yet merged by upstream)  * Fri Dec 21 2012 Remi Collet <remi@fedoraproject.org> - 2.11.0-1  - update to Version 2.11.0  | 
