Commit graph

10 commits

Author SHA1 Message Date
imil
7b9b365729 Uncomment the pid parameter of php-fpm.conf so the pidfile is created and
rc.d script can really start / stop php-fpm. Bump PKGREVISION.
2013-02-28 21:43:04 +00:00
taca
59f0126bc1 Update php54 to 5.4.12.
PHP                                                                        NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
21 Feb 2012, PHP 5.4.12

- Core:
  . Fixed bug #64099 (Wrong TSRM usage in zend_Register_class alias). (Johannes)
  . Fixed bug #64011 (get_html_translation_table() output incomplete with
    HTML_ENTITIES and ISO-8859-1). (Gustavo)
  . Fixed bug #63982 (isset() inconsistently produces a fatal error on
    protected property). (Stas)
  . Fixed bug #63943 (Bad warning text from strpos() on empty needle).
    (Laruence)
  . Fixed bug #63899 (Use after scope error in zend_compile). (Laruence)
  . Fixed bug #63893 (Poor efficiency of strtr() using array with keys of very
    different length). (Gustavo)
  . Fixed bug #63882 (zend_std_compare_objects crash on recursion). (Dmitry)
  . Fixed bug #63462 (Magic methods called twice for unset protected
    properties). (Stas)
  . Fixed bug #62524 (fopen follows redirects for non-3xx statuses).
    (Wes Mason)
  . Support BITMAPV5HEADER in getimagesize(). (AsamK, Lars)

- Date:
  . Fixed bug #63699 (Performance improvements for various ext/date functions).
    (Lars, original patch by njaguar at gmail dot com)
  . Fixed bug #55397: Comparsion of incomplete DateTime causes SIGSEGV.
    (Derick)

- FPM:
  . Fixed bug #63999 (php with fpm fails to build on Solaris 10 or 11). (Adam)

- Litespeed:
  . Fixed bug #63228 (-Werror=format-security error in lsapi code). (George)

- SOAP
  . Added check that soap.wsdl_cache_dir conforms to open_basedir
    (CVE-2013-1635). (Dmitry)
  . Disabled external entities loading (CVE-2013-1643). (Dmitry)

- sqlite3:
  . Fixed bug #63921 (sqlite3::bindvalue and relative PHP functions aren't
    using sqlite3_*_int64 API). (srgoogleguy, Lars)

- PDO_OCI
  . Fixed bug #57702 (Multi-row BLOB fetches). (hswong3i, Laruence)
  . Fixed bug #52958 (Segfault in PDO_OCI on cleanup after running a long
    testsuite). (hswong3i, Lars)

- PDO_sqlite:
  . Fixed bug #63916 (PDO::PARAM_INT casts to 32bit int internally even
    on 64bit builds in pdo_sqlite). (srgoogleguy, Lars)
2013-02-22 03:06:50 +00:00
taca
f06824ef00 Fix build problem of graphics/php-gd with png 1.6.0. 2013-02-17 13:10:13 +00:00
taca
1209bdcefa Update php54 to 5.4.11.
17 Jan 2013, PHP 5.4.11

- Core:
  . Fixed bug #63762 (Sigsegv when Exception::$trace is changed by user).
    (Johannes)
  . Fixed bug #43177 (Errors in eval()'ed code produce status code 500).
    (Todd Ruth, Stas).

- Filter:
  . Fixed bug #63757 (getenv() produces memory leak with CGI SAPI). (Dmitry)
  . Fixed bug #54096 (FILTER_VALIDATE_INT does not accept +0 and -0).
    (martin at divbyzero dot net, Lars)

- JSON:
  . Fixed bug #63737 (json_decode does not properly decode with options
    parameter). (Adam)

- CLI server
  . Update list of common mime types. Added webm, ogv, ogg. (Lars,
    pascalc at gmail dot com)

- cURL extension:
  . Fixed bug (segfault due to libcurl connection caching). (Pierrick)
  . Fixed bug #63859 (Memory leak when reusing curl-handle). (Pierrick)
  . Fixed bug #63795 (CURL >= 7.28.0 no longer support value 1 for
    CURLOPT_SSL_VERIFYHOST). (Pierrick)
  . Fixed bug #63352 (Can't enable hostname validation when using curl stream
    wrappers). (Pierrick)
  . Fixed bug #55438 (Curlwapper is not sending http header randomly).
    (phpnet@lostreality.org, Pierrick)
2013-01-17 15:48:09 +00:00
taca
addf6a9f06 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
e34891812e 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
fhajny
7ff447fcfe Fix file descriptor leak on SunOS.
See https://bugs.php.net/bug.php?id=47675
2012-07-25 13:16:01 +00:00
fhajny
36fb10a7cd Add support for readline (for interactive PHP CLI).
Add support for DTrace.
2012-07-25 13:01:05 +00:00
taca
13cc84fd82 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
b6cb9f9f85 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