Thu Dec 16 14:20:45 2010 UTC ()
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)


(taca)
diff -r1.43 -r1.44 pkgsrc/lang/php5/Makefile.common
diff -r1.81 -r1.82 pkgsrc/lang/php5/distinfo

cvs diff -r1.43 -r1.44 pkgsrc/lang/php5/Attic/Makefile.common (expand / switch to unified diff)

--- pkgsrc/lang/php5/Attic/Makefile.common 2010/12/13 13:15:45 1.43
+++ pkgsrc/lang/php5/Attic/Makefile.common 2010/12/16 14:20:45 1.44
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.common,v 1.43 2010/12/13 13:15:45 taca Exp $ 1# $NetBSD: Makefile.common,v 1.44 2010/12/16 14:20:45 taca Exp $
2# used by lang/php5/Makefile.php 2# used by lang/php5/Makefile.php
3# used by lang/php/ext.mk 3# used by lang/php/ext.mk
4# used by meta-pkgs/php5-extensions/Makefile 4# used by meta-pkgs/php5-extensions/Makefile
5 5
6# 6#
7# NOTE: 7# NOTE:
8# The suhosin option includes a patch from http://www.hardened-php.net/ 8# The suhosin option includes a patch from http://www.hardened-php.net/
9# Which tracks with the exact version number of PHP. There may be a delay 9# Which tracks with the exact version number of PHP. There may be a delay
10# in the patch which can leave the option broken until an updated patch 10# in the patch which can leave the option broken until an updated patch
11# is released. When updating PHP please don't forget to update the 11# is released. When updating PHP please don't forget to update the
12# distnfo with the details of the suhosin patch as well. 12# distnfo with the details of the suhosin patch as well.
13# 13#
14# Check these packages when update to new release of PHP and consider to 14# Check these packages when update to new release of PHP and consider to
@@ -31,24 +31,24 @@ DIST_SUBDIR= ${DISTNAME} @@ -31,24 +31,24 @@ DIST_SUBDIR= ${DISTNAME}
31CATEGORIES+= www 31CATEGORIES+= www
32 32
33.if !defined(PECL_VERSION) 33.if !defined(PECL_VERSION)
34MASTER_SITES?= http://www.php.net/distributions/ \ 34MASTER_SITES?= http://www.php.net/distributions/ \
35 http://uk.php.net/distributions/ \ 35 http://uk.php.net/distributions/ \
36 http://de.php.net/distributions/ \ 36 http://de.php.net/distributions/ \
37 http://us.php.net/distributions/ 37 http://us.php.net/distributions/
38EXTRACT_SUFX?= .tar.bz2 38EXTRACT_SUFX?= .tar.bz2
39.endif 39.endif
40 40
41MAINTAINER?= jdolecek@NetBSD.org 41MAINTAINER?= jdolecek@NetBSD.org
42HOMEPAGE?= http://www.php.net/ 42HOMEPAGE?= http://www.php.net/
43 43
44PHP_BASE_VERS= 5.2.15 44PHP_BASE_VERS= 5.2.16
45 45
46PHP_EXTENSION_DIR= lib/php/20040412 46PHP_EXTENSION_DIR= lib/php/20040412
47PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR:Q} 47PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR:Q}
48 48
49PKG_SYSCONFVAR?= php 49PKG_SYSCONFVAR?= php
50 50
51# needed due to (broken?) configure checks in php-xmlrpc and php5-dom 51# needed due to (broken?) configure checks in php-xmlrpc and php5-dom
52CONFIGURE_ENV+= PHP_LIBXML_SHARED="1" 52CONFIGURE_ENV+= PHP_LIBXML_SHARED="1"
53 53
54.include "../../mk/bsd.prefs.mk" 54.include "../../mk/bsd.prefs.mk"

cvs diff -r1.81 -r1.82 pkgsrc/lang/php5/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/php5/Attic/distinfo 2010/12/13 13:15:45 1.81
+++ pkgsrc/lang/php5/Attic/distinfo 2010/12/16 14:20:45 1.82
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1$NetBSD: distinfo,v 1.81 2010/12/13 13:15:45 taca Exp $ 1$NetBSD: distinfo,v 1.82 2010/12/16 14:20:45 taca Exp $
2 2
3SHA1 (php-5.2.15/php-5.2.15.tar.bz2) = 91e6488a39a80e533f5d792fb8857cf10b0326ad 3SHA1 (php-5.2.16/php-5.2.16.tar.bz2) = b4d11c6593614fa4ad8bf133f622208ee5e8e9af
4RMD160 (php-5.2.15/php-5.2.15.tar.bz2) = cae061990527216e1d50352a22875807fdb79109 4RMD160 (php-5.2.16/php-5.2.16.tar.bz2) = 2ab6de444af478f3b2b3a8a074c1656e8da0a4e1
5Size (php-5.2.15/php-5.2.15.tar.bz2) = 9089791 bytes 5Size (php-5.2.16/php-5.2.16.tar.bz2) = 9090930 bytes
6SHA1 (patch-aa) = 20bc3831e435182d014b11ae9f1f6c537a21af20 6SHA1 (patch-aa) = 20bc3831e435182d014b11ae9f1f6c537a21af20
7SHA1 (patch-af) = 68c5a31dccf1854ba1aff653e4c524767d6a64f6 7SHA1 (patch-af) = 68c5a31dccf1854ba1aff653e4c524767d6a64f6
8SHA1 (patch-ag) = 5e3e822657925a77fbccaca63f283863a1cc6d94 8SHA1 (patch-ag) = 5e3e822657925a77fbccaca63f283863a1cc6d94
9SHA1 (patch-ah) = a25cb7fa3d1f5b9fb99493a4348fdba69d3d4728 9SHA1 (patch-ah) = a25cb7fa3d1f5b9fb99493a4348fdba69d3d4728
10SHA1 (patch-aj) = 54812097499c81e5cb0196ab949cc86a4f24a9cc 10SHA1 (patch-aj) = 54812097499c81e5cb0196ab949cc86a4f24a9cc
11SHA1 (patch-al) = 3945eef039ed285e623273cdde4c51c4c6bc978b 11SHA1 (patch-al) = 3945eef039ed285e623273cdde4c51c4c6bc978b
12SHA1 (patch-an) = 8f4174627b8cb5f8bfbc59413c95f71e26b9e602 12SHA1 (patch-an) = 8f4174627b8cb5f8bfbc59413c95f71e26b9e602
13SHA1 (patch-ap) = 5eb0e0e4244a993da93e36f8fcb5553454207fce 13SHA1 (patch-ap) = 5eb0e0e4244a993da93e36f8fcb5553454207fce
14SHA1 (patch-aq) = 0c9d48547da2fa80aa8357d23ad8505d1c0330df 14SHA1 (patch-aq) = 0c9d48547da2fa80aa8357d23ad8505d1c0330df
15SHA1 (patch-ar) = 2d74ec926cc00bfbb67d16210af78c33ad9ac38d 15SHA1 (patch-ar) = 2d74ec926cc00bfbb67d16210af78c33ad9ac38d
16SHA1 (patch-as) = f7ce5caffe2acdd1f8e9fc8ae6c7ba1d8c6a25c1 16SHA1 (patch-as) = f7ce5caffe2acdd1f8e9fc8ae6c7ba1d8c6a25c1