summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-07-14 08:03:16 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-07-14 08:03:16 +0000
commit238b84c52dc847ff7914aea8e2cc4fc57928bdbd (patch)
tree5bdf8eb3e86aaf5d717097f2bb114a116c33a80e /databases
parent788ad3fe6d9a3627a79e1edbfc538b0d52bea404 (diff)
downloadpkgsrc-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.
Diffstat (limited to 'databases')
-rw-r--r--databases/php4-mssql/Makefile4
-rw-r--r--databases/php4-mssql/distinfo5
-rw-r--r--databases/php4-mssql/patches/patch-aa29
-rw-r--r--databases/php4-mysql/distinfo6
4 files changed, 40 insertions, 4 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