diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2004-07-14 08:03:16 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2004-07-14 08:03:16 +0000 |
commit | 238b84c52dc847ff7914aea8e2cc4fc57928bdbd (patch) | |
tree | 5bdf8eb3e86aaf5d717097f2bb114a116c33a80e | |
parent | 788ad3fe6d9a3627a79e1edbfc538b0d52bea404 (diff) | |
download | pkgsrc-238b84c52dc847ff7914aea8e2cc4fc57928bdbd.tar.gz |
Update php4 to 4.3.8.
This is security fix release, fixing several important security
issues. From the ChangeLog:
* Fixed strip_tags() to correctly handle '\0' characters.
* Improved stability during startup when memory_limit is used.
* Replace alloca() with emalloc() for better stack protection.
* Added missing safe_mode checks inside ftok and itpc.
* Fixed bug #28963 Fixed address allocation routine in IMAP extension.
* Fixed bug #28632 Prevent open_basedir bypass via MySQL's LOAD DATA LOCAL.
Note: package update also includes extra patches from PHP CVS not
present in stock PHP 4.3.8 release - compilation fix for
mssql extension and Zend engine memory-use-after-free fix.
-rw-r--r-- | databases/php4-mssql/Makefile | 4 | ||||
-rw-r--r-- | databases/php4-mssql/distinfo | 5 | ||||
-rw-r--r-- | databases/php4-mssql/patches/patch-aa | 29 | ||||
-rw-r--r-- | databases/php4-mysql/distinfo | 6 | ||||
-rw-r--r-- | doc/CHANGES | 3 | ||||
-rw-r--r-- | mail/php4-imap/distinfo | 6 | ||||
-rw-r--r-- | www/php4/Makefile.common | 4 | ||||
-rw-r--r-- | www/php4/Makefile.php | 6 | ||||
-rw-r--r-- | www/php4/distinfo | 6 |
9 files changed, 53 insertions, 16 deletions
diff --git a/databases/php4-mssql/Makefile b/databases/php4-mssql/Makefile index 0abf2581cf0..b4cf114de72 100644 --- a/databases/php4-mssql/Makefile +++ b/databases/php4-mssql/Makefile @@ -1,9 +1,11 @@ -# $NetBSD: Makefile,v 1.2 2004/04/25 01:12:49 xtraeme Exp $ +# $NetBSD: Makefile,v 1.3 2004/07/14 08:03:16 jdolecek Exp $ MODNAME= mssql CATEGORIES+= databases COMMENT= PHP4 extension for MS SQL databases +DISTINFO_FILE= ${.CURDIR}/distinfo + .include "../../www/php4/Makefile.module" USE_BUILDLINK3= yes diff --git a/databases/php4-mssql/distinfo b/databases/php4-mssql/distinfo new file mode 100644 index 00000000000..71960f075bf --- /dev/null +++ b/databases/php4-mssql/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2004/07/14 08:04:37 jdolecek Exp $ + +SHA1 (php-4.3.8.tar.bz2) = 95da913b932859239f544a7b2f38c9257aa3d735 +Size (php-4.3.8.tar.bz2) = 3963437 bytes +SHA1 (patch-aa) = 20ae463b1bfcef2fc97f3ac6f3b3b314f6080334 diff --git a/databases/php4-mssql/patches/patch-aa b/databases/php4-mssql/patches/patch-aa new file mode 100644 index 00000000000..1e667e2a970 --- /dev/null +++ b/databases/php4-mssql/patches/patch-aa @@ -0,0 +1,29 @@ +$NetBSD: patch-aa,v 1.1 2004/07/14 08:03:16 jdolecek Exp $ + +=================================================================== +RCS file: /repository/php-src/ext/mssql/php_mssql.h,v +retrieving revision 1.23.4.10 +retrieving revision 1.23.4.11 +diff -p --unified=3 -r1.23.4.10 -r1.23.4.11 +--- php_mssql.h 2004/04/20 23:37:26 1.23.4.10 ++++ php_mssql.h 2004/06/04 01:02:21 1.23.4.11 +@@ -17,7 +17,7 @@ + */ + + +-/* $Id: patch-aa,v 1.1 2004/07/14 08:03:16 jdolecek Exp $ */ ++/* $Id: patch-aa,v 1.1 2004/07/14 08:03:16 jdolecek Exp $ */ + + #ifndef PHP_MSSQL_H + #define PHP_MSSQL_H +@@ -37,9 +37,7 @@ + #include "sqldb.h" + + #if HAVE_FREETDS +-#ifndef SHORT +-typedef short SHORT; +-#endif ++typedef short TDS_SHORT; + #define SQLTEXT SYBTEXT + #define SQLCHAR SYBCHAR + #define SQLVARCHAR SYBVARCHAR diff --git a/databases/php4-mysql/distinfo b/databases/php4-mysql/distinfo index e79fd0dd862..ecf8177dbc8 100644 --- a/databases/php4-mysql/distinfo +++ b/databases/php4-mysql/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.10 2004/07/06 19:52:01 jdolecek Exp $ +$NetBSD: distinfo,v 1.11 2004/07/14 08:03:16 jdolecek Exp $ -SHA1 (php-4.3.7.tar.bz2) = f6171d71282b2e50333d1e96859fe907da068c34 -Size (php-4.3.7.tar.bz2) = 3963734 bytes +SHA1 (php-4.3.8.tar.bz2) = 95da913b932859239f544a7b2f38c9257aa3d735 +Size (php-4.3.8.tar.bz2) = 3963437 bytes SHA1 (patch-aa) = 8f7027758c3fe1d59187e7777ee46e73d126738a diff --git a/doc/CHANGES b/doc/CHANGES index fd9e913b48f..20c9b5b1c56 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -1,4 +1,4 @@ -$NetBSD: CHANGES,v 1.6548 2004/07/14 01:14:23 xtraeme Exp $ +$NetBSD: CHANGES,v 1.6549 2004/07/14 08:03:16 jdolecek Exp $ Changes to the packages collection and infrastructure in 2004: @@ -3383,3 +3383,4 @@ Changes to the packages collection and infrastructure in 2004: Updated mathomatic to 11.3 [minskim 2004-07-13] Updated jabberd2 to 2.0s3 [xtraeme 2004-07-14] Added nrg2iso-0.2 [xtraeme 2004-07-14] + Updated php4 to 4.3.8 [jdolecek 2004-07-14] diff --git a/mail/php4-imap/distinfo b/mail/php4-imap/distinfo index f2ad37aeef0..a9e278308df 100644 --- a/mail/php4-imap/distinfo +++ b/mail/php4-imap/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.11 2004/07/06 19:52:01 jdolecek Exp $ +$NetBSD: distinfo,v 1.12 2004/07/14 08:03:16 jdolecek Exp $ -SHA1 (php-4.3.7.tar.bz2) = f6171d71282b2e50333d1e96859fe907da068c34 -Size (php-4.3.7.tar.bz2) = 3963734 bytes +SHA1 (php-4.3.8.tar.bz2) = 95da913b932859239f544a7b2f38c9257aa3d735 +Size (php-4.3.8.tar.bz2) = 3963437 bytes SHA1 (patch-aa) = 73333018762ba63adf026ff91ccb6d6edd461f42 SHA1 (patch-ab) = 594c9ebf5e7979e049399d7ba9dcb00614bfc95e diff --git a/www/php4/Makefile.common b/www/php4/Makefile.common index eed654f3171..9f8820e4e95 100644 --- a/www/php4/Makefile.common +++ b/www/php4/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.42 2004/07/13 12:34:33 jdolecek Exp $ +# $NetBSD: Makefile.common,v 1.43 2004/07/14 08:03:16 jdolecek Exp $ DISTNAME?= php-${PHP_DIST_VERS} CATEGORIES+= www php4 @@ -15,7 +15,7 @@ HOMEPAGE?= http://www.php.net/ # PHP_DIST_VERS version number on the php distfile # PHP_BASE_VERS pkgsrc-mangled version number (convert pl -> .) # -PHP_DIST_VERS= 4.3.7 +PHP_DIST_VERS= 4.3.8 PHP_BASE_VERS= ${PHP_DIST_VERS} DISTFILES?= ${PHP_DISTFILE} diff --git a/www/php4/Makefile.php b/www/php4/Makefile.php index b29074b397b..de4a3763e7a 100644 --- a/www/php4/Makefile.php +++ b/www/php4/Makefile.php @@ -1,9 +1,9 @@ -# $NetBSD: Makefile.php,v 1.14 2004/07/13 12:34:33 jdolecek Exp $ +# $NetBSD: Makefile.php,v 1.15 2004/07/14 08:03:16 jdolecek Exp $ .include "../../www/php4/Makefile.common" -# revision of the core PHP interepreter -PKGREVISION= 1 +# revision of the core PHP interepreter package +PKGREVISION= # empty DISTINFO_FILE= ${.CURDIR}/../../www/php4/distinfo PATCHDIR= ${.CURDIR}/../../www/php4/patches diff --git a/www/php4/distinfo b/www/php4/distinfo index 006f2aee791..c8b1a56bca8 100644 --- a/www/php4/distinfo +++ b/www/php4/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.30 2004/07/13 12:22:29 jdolecek Exp $ +$NetBSD: distinfo,v 1.31 2004/07/14 08:03:16 jdolecek Exp $ -SHA1 (php-4.3.7.tar.bz2) = f6171d71282b2e50333d1e96859fe907da068c34 -Size (php-4.3.7.tar.bz2) = 3963734 bytes +SHA1 (php-4.3.8.tar.bz2) = 95da913b932859239f544a7b2f38c9257aa3d735 +Size (php-4.3.8.tar.bz2) = 3963437 bytes SHA1 (patch-aa) = feb064407950d0fc732b7240e65cac84420d2407 SHA1 (patch-ab) = cc7785755774377d4eb2d3d4816cea61234da167 SHA1 (patch-ag) = 1ded1d7f4daac6806f41864c783f16d3403315e4 |