pkgsrc/lang/php53/Makefile.common
taca 6cf98a872e Update lang/php53 package to PHP 5.3.
PHP 5.3.6 Released!

[17-Mar-2011]
The PHP development team would like to announce the immediate availability
of PHP 5.3.6. This release focuses on improving the stability of the PHP
5.3.x branch with over 60 bug fixes, some of which are security related.

Security Enhancements and Fixes in PHP 5.3.6:

* Enforce security in the fastcgi protocol parsing with fpm SAPI.
* Fixed bug #54247 (format-string vulnerability on Phar). (CVE-2011-1153)
* Fixed bug #54193 (Integer overflow in shmop_read()). (CVE-2011-1092)
* Fixed bug #54055 (buffer overrun with high values for precision ini setting).
* Fixed bug #54002 (crash on crafted tag in exif). (CVE-2011-0708)
* Fixed bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty
  archive). (CVE-2011-0421)

Key enhancements in PHP 5.3.6 include:

* Upgraded bundled Sqlite3 to version 3.7.4.
* Upgraded bundled PCRE to version 8.11.
* Added ability to connect to HTTPS sites through proxy with basic
  authentication using stream_context/http/header/Proxy-Authorization.
* Added options to debug backtrace functions.
* Changed default value of ini directive serialize_precision from 100 to 17.
* Fixed Bug #53971 (isset() and empty() produce apparently spurious
  runtime error).
* Fixed Bug #53958 (Closures can't 'use' shared variables by value and
  by reference).
* Fixed bug #53577 (Regression introduced in 5.3.4 in open_basedir
  with a trailing forward slash).
* Over 60 other bug fixes.
2011-03-19 07:01:18 +00:00

52 lines
1.4 KiB
Text

# $NetBSD: Makefile.common,v 1.5 2011/03/19 07:01:18 taca Exp $
# used by lang/php53/Makefile.php
# used by lang/php/ext.mk
# used by meta-pkgs/php53-extensions/Makefile
#
# NOTE:
# The suhosin option includes a patch from http://www.hardened-php.net/
# Which tracks with the exact version number of PHP. There may be a delay
# in the patch which can leave the option broken until an updated patch
# is released. When updating PHP please don't forget to update the
# distnfo with the details of the suhosin patch as well.
#
# Check these packages when update to new release of PHP and consider to
# reset PKG_REVISION:
#
# databases/php-mysqlnd (not yet packaged)
# misc/php-intl
# textproc/php-enchant
#
# Since other PHP extensions are shared between www/php5, we can't reset
# PKGREVSION.
#
.if !defined(DISTNAME)
DISTNAME= php-${PHP_BASE_VERS}
DIST_SUBDIR= ${DISTNAME}
.endif
CATEGORIES+= www
.if !defined(PECL_VERSION)
MASTER_SITES?= http://www.php.net/distributions/ \
http://uk.php.net/distributions/ \
http://de.php.net/distributions/ \
http://us.php.net/distributions/
EXTRACT_SUFX?= .tar.bz2
.endif
MAINTAINER?= pkgsrc-users@NetBSD.org
HOMEPAGE?= http://www.php.net/
PHP_BASE_VERS= 5.3.6
PHP_EXTENSION_DIR= lib/php/20090630
PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR:Q}
PKG_SYSCONFVAR?= php
# needed due to (broken?) configure checks in php-xmlrpc and php5-dom
CONFIGURE_ENV+= PHP_LIBXML_SHARED="1"
.include "../../mk/bsd.prefs.mk"