pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/php5 Update lang/php5 to 5.2.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/24c5c3253e94
branches:  trunk
changeset: 521221:24c5c3253e94
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Mon Nov 06 22:17:50 2006 +0000

description:
Update lang/php5 to 5.2.0.

Changes since 5.1.6:

The key features of PHP 5.2.0 include:
* New memory manager for the Zend Engine with improved performance and a more
  accurate memory usage tracking.
* Input filtering extension was added and enabled by default.
* JSON extension was added and enabled by default.
* ZIP extension for creating and editing zip files was introduced.
* Hooks for tracking file upload progress were introduced.
* Introduced E_RECOVERABLE_ERROR error mode.
* Introduced DateTime and DateTimeZone objects with methods to manipulate
  date/time information.
* Upgraded bundled SQLite, PCRE libraries.
* Upgraded OpenSSL, MySQL and PostgreSQL client libraries for Windows
  installations.
* Many performance improvements.
* Over 200 bug fixes.

Security Enhancements and Fixes in PHP 5.2.0:
* Made PostgreSQL escaping functions in PostgreSQL and PDO extension keep
  track of character set encoding whenever possible.
* Added allow_url_include, set to Off by default to disallow use of URLs
  for include and require.
* Disable realpath cache when open_basedir and safe_mode are being used.
* Improved safe_mode enforcement for error_log() function.
* Fixed a possible buffer overflow in the underlying code responsible
  for htmlspecialchars() and htmlentities() functions.
* Added missing safe_mode and open_basedir checks for the cURL extension.
* Fixed overflow is str_repeat() & wordwrap() functions on 64bit machines.
* Fixed handling of long paths inside the tempnam() function.
* Fixed safe_mode/open_basedir checks for session.save_path, allowing them
  to account for extra parameters.
* Fixed ini setting overload in the ini_restore() function.

For a full list of changes in PHP 5.2.0, see the ChangeLog:
        http://www.php.net/ChangeLog-5.php#5.2.0

Also other notable extensions changes:
* filePRO extension removed (not in PECL yet, php-filepro disabled for PHP5)
* JSON added (not enabled by default, packaged in php-json)
* filter added (enabled by default)
* wddx rewritten to native libxml2, fixing several encoding bugs

diffstat:

 lang/php5/Makefile.php |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 837483220128 -r 24c5c3253e94 lang/php5/Makefile.php
--- a/lang/php5/Makefile.php    Mon Nov 06 22:07:15 2006 +0000
+++ b/lang/php5/Makefile.php    Mon Nov 06 22:17:50 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.php,v 1.20 2006/10/20 22:10:33 jdolecek Exp $
+# $NetBSD: Makefile.php,v 1.21 2006/11/06 22:17:50 jdolecek Exp $
 #
 
 .include "../../lang/php5/Makefile.common"
@@ -9,6 +9,7 @@
 BUILD_DEFS+=           USE_INET6
 
 USE_LIBTOOL=           YES
+USE_LANGUAGES+=                c c++
 GNU_CONFIGURE=         YES
 
 CONFIGURE_ENV+=                EXTENSION_DIR="${PREFIX}/${PHP_EXTENSION_DIR}"
@@ -29,6 +30,7 @@
 CONFIGURE_ARGS+=       --disable-posix
 CONFIGURE_ARGS+=       --disable-dom
 CONFIGURE_ARGS+=       --disable-pdo
+CONFIGURE_ARGS+=       --disable-json
 
 CONFIGURE_ARGS+=       --enable-xml
 CONFIGURE_ARGS+=       --with-libxml-dir=${PREFIX:Q}



Home | Main Index | Thread Index | Old Index