summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2007-02-23 11:58:10 +0000
committerghen <ghen@pkgsrc.org>2007-02-23 11:58:10 +0000
commitd1fefd63db07ee21d8115afad9f3ab4ca06307eb (patch)
tree8c435e4760341c00a1932eed3b908758220dc56c
parentb1587a7f40a3691ef3c7116894fde4a316d99441 (diff)
downloadpkgsrc-d1fefd63db07ee21d8115afad9f3ab4ca06307eb.tar.gz
Pullup ticket 2032 - requested by taca
security update for php5 - pkgsrc/graphics/php-gd/Makefile 1.15 - pkgsrc/lang/php5/Makefile.common 1.23 - pkgsrc/lang/php5/Makefile.php 1.22 - pkgsrc/lang/php5/PLIST 1.14 - pkgsrc/lang/php5/distinfo 1.36 - pkgsrc/lang/php5/patches/patch-ac removed - pkgsrc/lang/php5/patches/patch-al 1.3 Module Name: pkgsrc Committed By: jdolecek Date: Tue Feb 20 20:46:20 UTC 2007 Modified Files: pkgsrc/graphics/php-gd: Makefile pkgsrc/lang/php5: Makefile.common Makefile.php PLIST distinfo Added Files: pkgsrc/lang/php5/patches: patch-al Removed Files: pkgsrc/lang/php5/patches: patch-ac Log Message: Update PHP5 to 5.2.1. Includes several important security fixes and large number of other fixes. Update for all users is strongly advised.
-rw-r--r--lang/php5/patches/patch-ac37
-rw-r--r--lang/php5/patches/patch-al32
2 files changed, 32 insertions, 37 deletions
diff --git a/lang/php5/patches/patch-ac b/lang/php5/patches/patch-ac
deleted file mode 100644
index 04b6cb00201..00000000000
--- a/lang/php5/patches/patch-ac
+++ /dev/null
@@ -1,37 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2006/11/07 17:24:39 tron Exp $
-
---- ext/curl/interface.c.orig 2006-10-11 00:12:59.000000000 +0100
-+++ ext/curl/interface.c 2006-11-07 17:17:18.000000000 +0000
-@@ -28,6 +28,18 @@
-
- #if HAVE_CURL
-
-+#ifndef CURLOPT_PASSWDDATA
-+#define CURLOPT_PASSWDDATA 0
-+#endif
-+
-+#ifndef CURLOPT_PASSWDFUNCTION
-+#define CURLOPT_PASSWDFUNCTION 0
-+#endif
-+
-+#ifndef CURLOPT_FTPASCII
-+#define CURLOPT_FTPASCII 0
-+#endif
-+
- #include <stdio.h>
- #include <string.h>
-
-@@ -1158,11 +1170,13 @@
- dupch->handlers->read->fp = ch->handlers->read->fp;
- dupch->handlers->read->fd = ch->handlers->read->fd;
-
-+#if CURLOPT_PASSWDDATA != 0
- if (ch->handlers->passwd) {
- zval_add_ref(&ch->handlers->passwd);
- dupch->handlers->passwd = ch->handlers->passwd;
- curl_easy_setopt(ch->cp, CURLOPT_PASSWDDATA, (void *) dupch);
- }
-+#endif
- if (ch->handlers->write->func_name) {
- zval_add_ref(&ch->handlers->write->func_name);
- dupch->handlers->write->func_name = ch->handlers->write->func_name;
diff --git a/lang/php5/patches/patch-al b/lang/php5/patches/patch-al
new file mode 100644
index 00000000000..e05b44f42b3
--- /dev/null
+++ b/lang/php5/patches/patch-al
@@ -0,0 +1,32 @@
+$NetBSD: patch-al,v 1.2.10.1 2007/02/23 11:58:11 ghen Exp $
+
+--- ext/gd/config.m4.orig 2007-02-20 21:14:31.000000000 +0100
++++ ext/gd/config.m4
+@@ -48,18 +48,7 @@ dnl Checks for the configure options
+ dnl
+
+ AC_DEFUN([PHP_GD_ZLIB],[
+- if test "$PHP_ZLIB_DIR" != "no" && test "$PHP_ZLIB_DIR" != "yes"; then
+- if test -f "$PHP_ZLIB_DIR/include/zlib/zlib.h"; then
+- PHP_ZLIB_DIR="$PHP_ZLIB_DIR"
+- PHP_ZLIB_INCDIR="$PHP_ZLIB_DIR/include/zlib"
+- elif test -f "$PHP_ZLIB_DIR/include/zlib.h"; then
+- PHP_ZLIB_DIR="$PHP_ZLIB_DIR"
+- PHP_ZLIB_INCDIR="$PHP_ZLIB_DIR/include"
+- else
+- AC_MSG_ERROR([Can't find zlib headers under "$PHP_ZLIB_DIR"])
+- fi
+- else
+- for i in /usr/local /usr; do
++ for i in "$PHP_ZLIB_DIR" /usr/local /usr; do
+ if test -f "$i/include/zlib/zlib.h"; then
+ PHP_ZLIB_DIR="$i"
+ PHP_ZLIB_INCDIR="$i/include/zlib"
+@@ -68,7 +57,6 @@ AC_DEFUN([PHP_GD_ZLIB],[
+ PHP_ZLIB_INCDIR="$i/include"
+ fi
+ done
+- fi
+ ])
+
+ AC_DEFUN([PHP_GD_JPEG],[