pkgsrc/lang/php5/Makefile.common
taca 06eff9c517 Update php5 pacakge to 5.2.16:
PHP 5.2.16 Released!

The PHP development team would like to announce the immediate availability of
PHP 5.2.16. This release marks the end of support for PHP 5.2. All users of
PHP 5.2 are encouraged to upgrade to PHP 5.3.

This release focuses on addressing a regression in open_basedir implementation
introduced in 5.2.15 in addition to fixing a crash inside PDO::pgsql on data
retrieval when the server is down. All users who have upgraded to 5.2.15 and
are utilizing open_basedir are strongly encouraged to upgrade to 5.2.16 or
5.3.4.

To prepare for upgrading to PHP 5.3, now that PHP 5.2's support ended, a
migration guide available on http://php.net/migration53, details the changes
between PHP 5.2 and PHP 5.3.

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

ChangeLog:

Version 5.2.16

16-Dec-2010

* Fixed bug #53517 (segfault in pgsql_stmt_execute() when postgres is
  down). (gyp at balabit dot hu)
* Fixed bug #53516 (Regression in open_basedir handling). (Ilia)
2010-12-16 14:20:45 +00:00

54 lines
1.5 KiB
Makefile

# $NetBSD: Makefile.common,v 1.44 2010/12/16 14:20:45 taca Exp $
# used by lang/php5/Makefile.php
# used by lang/php/ext.mk
# used by meta-pkgs/php5-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-dase
# databases/php-dbx
# multimedia/php-ming
# security/php-mhash
# textproc/php-pspell
#
# Since other PHP extensions are shared between www/php53, 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?= jdolecek@NetBSD.org
HOMEPAGE?= http://www.php.net/
PHP_BASE_VERS= 5.2.16
PHP_EXTENSION_DIR= lib/php/20040412
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"