diff options
author | jdolecek <jdolecek> | 2006-11-06 22:17:50 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2006-11-06 22:17:50 +0000 |
commit | 7f26fe2541e635124e8fb90af9eec1454998108e (patch) | |
tree | 120399fe9c17b2b3fd26b7b9f447426f17d23606 /lang/php5 | |
parent | 8f41c8237ab6cf7a4ee04439f2414f9bf1cd5f83 (diff) | |
download | pkgsrc-7f26fe2541e635124e8fb90af9eec1454998108e.tar.gz |
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 (limited to 'lang/php5')
-rw-r--r-- | lang/php5/Makefile.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/php5/Makefile.php b/lang/php5/Makefile.php index e3c6c8ea316..14205e4ab65 100644 --- a/lang/php5/Makefile.php +++ b/lang/php5/Makefile.php @@ -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 @@ PATCHDIR= ${.CURDIR}/../../lang/php5/patches 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+= --without-iconv 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} |