Commit graph

8 commits

Author SHA1 Message Date
taca
41c5761052 Update php54 package to 5.4.6 (PHP 5.4.6).
PHP                                                                        NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
16 Aug 2012, PHP 5.4.6

- CLI Server:
  . Implemented FR #62700 (have the console output 'Listening on
    http://localhost:8000'). (pascal.chevrel@free.fr)

- Core:
  . Fixed bug #62661 (Interactive php-cli crashes if include() is used in
    auto_prepend_file). (Laruence)
  . Fixed bug #62653: (unset($array[$float]) causes a crash). (Nikita Popov,
    Laruence)
  . Fixed bug #62565 (Crashes due non-initialized internal properties_table).
    (Felipe)
  . Fixed bug #60194 (--with-zend-multibyte and --enable-debug reports LEAK
    with run-test.php). (Laruence)

- CURL:
  . Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false).
    (r.hampartsumyan@gmail.com, Laruence)

- DateTime:
  . Fixed Bug #62500 (Segfault in DateInterval class when extended). (Laruence)

- Fileinfo:
  . Fixed bug #61964 (finfo_open with directory causes invalid free).
    (reeze.xia@gmail.com)

- Intl:
  . Fixed bug #62564 (Extending MessageFormatter and adding property causes
    crash). (Felipe)

- MySQLnd:
  . Fixed bug #62594 (segfault in mysqlnd_res_meta::set_mode). (Laruence)

- readline:
  . Fixed bug #62612 (readline extension compilation fails with
    sapi/cli/cli.h: No such file). (Johannes)

- Reflection:
  . Implemented FR #61602 (Allow access to name of constant used as default
    value). (reeze.xia@gmail.com)

- SimpleXML:
  . Implemented FR #55218 Get namespaces from current node. (Lonny)

- SPL:
  . Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance
    gives Segmentation fault). (Laruence, Gustavo)
  . Fixed bug #61527 (ArrayIterator gives misleading notice on next() when
    moved to the end). (reeze.xia@gmail.com)

- Streams:
  . Fixed bug #62597 (segfault in php_stream_wrapper_log_error with ZTS build).
    (Laruence)

- Zlib:
  . Fixed bug #55544 (ob_gzhandler always conflicts with
    zlib.output_compression). (Laruence)
2012-08-17 15:34:01 +00:00
fhajny
6a9c01eb0f Fix a silly bug in latest PHP. Arbitrary symbol cannot be 'sun', which
is taken on all SunOS platforms.
2012-07-31 12:23:12 +00:00
obache
15a68903e7 No sqlite support in PHP-5.4 (only sqlite3). 2012-07-27 00:21:03 +00:00
obache
53663239ab readline support require GNU readline. 2012-07-27 00:16:47 +00:00
fhajny
3f31c2b4fb Fix file descriptor leak on SunOS.
See https://bugs.php.net/bug.php?id=47675
2012-07-25 13:16:01 +00:00
fhajny
d5947bc3ba Add support for readline (for interactive PHP CLI).
Add support for DTrace.
2012-07-25 13:01:05 +00:00
taca
4535529851 Update php54 package to 5.4.5 (PHP 5.4.5).
19-July-2012

o Core
	* Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)
	* Fixed bug #62432 (ReflectionMethod random corrupt memory on high
	  concurrent)
	* Fixed bug #62373 (serialize() generates wrong reference to the
	  object).
	* Fixed bug #62357 (compile failure: (S) Arguments missing for
	  built-in function __memcmp)
	* Fixed bug #61998 (Using traits with method aliases appears to result
	  in crash during execution)
	* Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value
	  that includes a semi-colon)
	* Fixed potential overflow in _php_stream_scandir (CVE-2012-2688)

o EXIF
	* Fixed information leak in ext exi

o FPM
	* Fixed bug #62205 (php-fpm segfaults (null passed to strstr)
	* Fixed bug #62160 (Add process.priority to set nice(2) priorities)
	* Fixed bug #62153 (when using unix sockets, multiples FPM instances)
	* Fixed bug #62033 (php-fpm exits with status 0 on some failures to
	  start)
	* Fixed bug #61839 (Unable to cross-compile PHP with --enable-fpm)
	* Fixed bug #61835 (php-fpm is not allowed to run as root)
	* Fixed bug #61295 (php-fpm should not fail with commented 'user'
	* Fixed bug #61218 (FPM drops connection while receiving some binary
	  values in FastCGI requests)
	* Fixed bug #61045 (fpm don't send error log to fastcgi clients).
	  (fat) for non-root start)
	* Fixed bug #61026 (FPM pools can listen on the same address).
	  (fat) can be launched without errors)

o Iconv
	* Fixed bug #55042 (Erealloc in iconv.c unsafe)

o Intl
	* Fixed bug #62083 (grapheme_extract() memory leaks)
	* Fixed bug #62081 (IntlDateFormatter constructor leaks memory when
	  called twice)
	* Fixed bug #62070 (Collator::getSortKey() returns garbage)
	* Fixed bug #62017 (datefmt_create with incorrectly encoded timezone
	  leaks pattern)
	* Fixed bug #60785 (memory leak in IntlDateFormatter constructor)
	* ResourceBundle constructor now accepts NULL for the first two arguments

o JSON
	* Fixed bug #61359 (json_encode() calls too many reallocs)

o libxml
	* Fixed bug #62266 (Custom extension segfaults during xmlParseFile
	  with FPM SAPI)

o Phar
	* Fixed bug #62227 (Invalid phar stream path causes crash)

o Readline
	* Fixed bug #62186 (readline fails to compile - void function should
	  not return a value)

o Reflection
	* Fixed bug #62384 (Attempting to invoke a Closure more than once
	  causes segfault)
	* Fixed bug #62202 (ReflectionParameter::getDefaultValue() memory
	  leaks with constant)

o Sockets
	* Fixed bug #62025 (__ss_family was changed on AIX 5.3)

o SPL
	* Fixed bug #62433 (Inconsistent behavior of
	  RecursiveDirectoryIterator to dot files)
	* Fixed bug #62262 (RecursiveArrayIterator does not implement
	  Countable)

o XML Writer
	* Fixed bug #62064 (memory leak in the XML Writer module)

o Zip
	* Upgraded libzip to 0.10.
{
2012-07-20 12:29:05 +00:00
taca
88040b8ac3 Adding php54 (PHP 5.4.4) to pkgsrc.
Key new features: traits, a shortened array syntax, a built-in webserver for
testing purposes and more.

A migration guide: http://php.net/migration54
Full changes: http://www.php.net/ChangeLog-5.php
2012-06-16 05:21:55 +00:00