summaryrefslogtreecommitdiff
path: root/www/php4/Makefile.common
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-02-28 06:14:45 +0000
committerjlam <jlam@pkgsrc.org>2002-02-28 06:14:45 +0000
commit1cc929effe0b6922cc847d332aacc7f99609cd56 (patch)
treeaee1220fa95820b9fb781532bab52932f2b0c1a9 /www/php4/Makefile.common
parentaa484b2c1e6f071d90c8790c93f20d0f697a20ba (diff)
downloadpkgsrc-1cc929effe0b6922cc847d332aacc7f99609cd56.tar.gz
Update php4 and ap-php4 to 4.1.2. Changes from version 4.1.1 include:
- Fixed start up failure when mm save handler is used and there is multiple SAPIs are working at the same time. (Yasuo) - Fixed a buffer overflow in the RFC-1867 file upload code (Stefan) <===> SECURITY NOTE <===> Note that the buffer overflow fix is a major security fix. Quoting from the security advisory at: http://security.e-matters.de/advisories/012002.html "PHP supports multipart/form-data POST requests (as described in RFC1867) known as POST fileuploads. Unfourtunately there are several flaws in the php_mime_split function that could be used by an attacker to execute arbitrary code. During our research we found out that not only PHP4 but also older versions from the PHP3 tree are vulnerable. [...] "If you are running PHP 4.0.3 or above one way to workaround these bugs is to disable the fileupload support within your php.ini (file_uploads = Off). If you are running php as module keep in mind to restart the webserver. Anyway you should better install the fixed or a properly patched version to be safe."
Diffstat (limited to 'www/php4/Makefile.common')
-rw-r--r--www/php4/Makefile.common6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/php4/Makefile.common b/www/php4/Makefile.common
index 4cd1e9656e3..cc14c64edd0 100644
--- a/www/php4/Makefile.common
+++ b/www/php4/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.22 2002/01/06 19:57:13 jlam Exp $
+# $NetBSD: Makefile.common,v 1.23 2002/02/28 06:14:46 jlam Exp $
DISTNAME= php-${PHP_DIST_VERS}
CATEGORIES+= www php4
@@ -14,7 +14,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.1.1
+PHP_DIST_VERS= 4.1.2
PHP_BASE_VERS= ${PHP_DIST_VERS}
# Location of installed PHP4 loadable modules under ${PREFIX}.
@@ -25,4 +25,6 @@ PHP_BASE_VERS= ${PHP_DIST_VERS}
PHP_EXTENSION_DIR= lib/php/20010901
PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}
+PKG_SYSCONFVAR?= php
+
.include "../../mk/bsd.prefs.mk"