summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsalo <salo>2007-03-07 00:22:53 +0000
committersalo <salo>2007-03-07 00:22:53 +0000
commit90c151f45d137167a71e8caa56b1ef899bc97f8a (patch)
tree50dc631af7c63da9569a27552d34cafc30101ef1
parentf6cb525c706c9f4f92cfdfcda59b1508a54d35db (diff)
downloadpkgsrc-90c151f45d137167a71e8caa56b1ef899bc97f8a.tar.gz
Pullup ticket 2041 - requested by adrianp
security update for php4 Revisions pulled up: - pkgsrc/www/php4/Makefile 1.75 - pkgsrc/www/php4/Makefile.common 1.55 - pkgsrc/www/php4/PLIST 1.16 - pkgsrc/www/php4/distinfo 1.61 - pkgsrc/www/php4/patches/patch-au removed - pkgsrc/www/php4/patches/patch-av removed Module Name: pkgsrc Committed By: adrianp Date: Sat Mar 3 13:19:53 UTC 2007 Modified Files: pkgsrc/www/php4: Makefile Makefile.common PLIST distinfo Removed Files: pkgsrc/www/php4/patches: patch-au patch-av Log Message: Update to 4.4.6 * Updated PCRE to version 7.0. * Fixed segfault in ext/session when register_globals=On. * Fixed (segfault in cURL extension). * Fixed (possible cURL memory error). * Fixed (imagettftext() multithreading issue). * Fixed (ext/interbase compile failure). * Fixed (PHP fastcgi with PHP_FCGI_CHILDREN don't kill children when parent is killed). 4.4.5 # Upgraded PEAR to 1.5.0. # Updated PCRE to version 6.7. # Moved extensions to PECL: ext/ovrimos # Added a meta tag to phpinfo() output to prevent search engines from indexing the page. # Backported a fix in the configure tests to detect the "rounding fuzz". # Backported fix for ext/imap compilation failure with recent c-client versions. # Fixed missing open_basedir check inside chdir() function. # Fixed (Compile fails when using GCC 4.1.1/binutils 2.17). # Fixed (pg_insert/pg_update do not allow now() to be used for timestamp fields). # Fixed (using autoconf 2.6x and --with-layout=GNU breaks PEAR install path). # Fixed (Using $this not in object context can cause segfaults). # Fixed (ext/dba doesn't check for db-4.5 and db-4.4 when db4 support is enabled). # Fixed (ftp_put() does not change transfer mode to ASCII). # Fixed (ftp_nlist() returns false on empty dirs). # Fixed (Allow building of curl extension against libcurl 7.16.0). # Fixed (curl_exec() with return transfer returns TRUE on empty files). # Fixed (Fixed a possible open_basedir bypass in tempnam()). # Fixed (ldap_connect causes segfault with newer versions of OpenLDAP). # Fixed (parse_url() fails if passing '@' in passwd). # Fixed (Calling undefined method prints insufficient error message). # Fixed (segfault when calling setlocale() in userspace session handler). # Fixed (constructor is not called for classes used in userspace stream wrappers). # Fixed (wddx_serialize_value() generates no wellformed xml). # Fixed (aggregate_methods_by_list fails to take certain methods). # Fixed (natcasesort() causes array_pop() to misbehave). # Fixed (CURLOPT_HEADERFUNCTION, couldn't set the function in the class). # Fixed (recursive array_walk causes segfault).
-rw-r--r--www/php4/Makefile3
-rw-r--r--www/php4/Makefile.common4
-rw-r--r--www/php4/PLIST58
-rw-r--r--www/php4/distinfo10
-rw-r--r--www/php4/patches/patch-au16
-rw-r--r--www/php4/patches/patch-av32
6 files changed, 61 insertions, 62 deletions
diff --git a/www/php4/Makefile b/www/php4/Makefile
index d5950569844..d11460aca9b 100644
--- a/www/php4/Makefile
+++ b/www/php4/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.73 2006/11/04 11:19:41 adrianp Exp $
+# $NetBSD: Makefile,v 1.73.2.1 2007/03/07 00:22:53 salo Exp $
PKGNAME= php-${PHP_BASE_VERS}
-PKGREVISION= 3
CATEGORIES+= lang
COMMENT= HTML-embedded scripting language
diff --git a/www/php4/Makefile.common b/www/php4/Makefile.common
index 9b707bfc4c9..6c9c2e4d464 100644
--- a/www/php4/Makefile.common
+++ b/www/php4/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.54 2006/08/20 09:44:59 adrianp Exp $
+# $NetBSD: Makefile.common,v 1.54.4.1 2007/03/07 00:22:53 salo Exp $
DISTNAME?= php-${PHP_DIST_VERS}
CATEGORIES+= www php4
@@ -18,7 +18,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.4.4
+PHP_DIST_VERS= 4.4.6
PHP_BASE_VERS= ${PHP_DIST_VERS}
DISTFILES?= ${PHP_DISTFILE}
diff --git a/www/php4/PLIST b/www/php4/PLIST
index a90e93f5259..c8331ecae32 100644
--- a/www/php4/PLIST
+++ b/www/php4/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2006/03/03 07:11:34 cube Exp $
+@comment $NetBSD: PLIST,v 1.15.8.1 2007/03/07 00:22:53 salo Exp $
bin/pear
bin/peardev
bin/pecl
@@ -211,6 +211,7 @@ lib/php/.registry/console_getopt.reg
lib/php/.registry/html_template_it.reg
lib/php/.registry/net_useragent_detect.reg
lib/php/.registry/pear.reg
+lib/php/.registry/structures_graph.reg
@exec ${MKDIR} %D/lib/php/20020429
lib/php/Archive/Tar.php
lib/php/Console/Getopt.php
@@ -317,9 +318,36 @@ lib/php/build/scan_makefile_in.awk
lib/php/build/shtool
lib/php/data/PEAR/package.dtd
lib/php/data/PEAR/template.spec
+lib/php/data/Structures_Graph/LICENSE
+lib/php/data/Structures_Graph/package.sh
+lib/php/data/Structures_Graph/publish.sh
+lib/php/data/Structures_Graph/genpackage.xml.pl
lib/php/doc/Archive_Tar/docs/Archive_Tar.txt
lib/php/doc/HTML_Template_IT/examples/sample_it.php
lib/php/doc/HTML_Template_IT/examples/templates/main.tpl.htm
+lib/php/doc/PEAR/README
+lib/php/doc/PEAR/INSTALL
+lib/php/doc/Structures_Graph/docs/html/media/stylesheet.css
+lib/php/doc/Structures_Graph/docs/html/media/banner.css
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph_Manipulator_TopologicalSorter.html
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph_Node.html
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/tutorial_Structures_Graph.pkg.html
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_Manipulator_AcyclicTest_php.html
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_Manipulator_TopologicalSorter_php.html
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_Node_php.html
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_php.html
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph.html
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph_Manipulator_AcyclicTest.html
+lib/php/doc/Structures_Graph/docs/html/elementindex.html
+lib/php/doc/Structures_Graph/docs/html/elementindex_Structures_Graph.html
+lib/php/doc/Structures_Graph/docs/html/errors.html
+lib/php/doc/Structures_Graph/docs/html/index.html
+lib/php/doc/Structures_Graph/docs/html/li_Structures_Graph.html
+lib/php/doc/Structures_Graph/docs/html/packages.html
+lib/php/doc/Structures_Graph/docs/html/todolist.html
+lib/php/doc/Structures_Graph/docs/html/classtrees_Structures_Graph.html
+lib/php/doc/Structures_Graph/docs/tutorials/Structures_Graph/Structures_Graph.pkg
+lib/php/doc/Structures_Graph/docs/generate.sh
lib/php/pearcmd.php
lib/php/peclcmd.php
lib/php/test/HTML_Template_IT/tests/Console_TestListener.php
@@ -336,6 +364,13 @@ lib/php/test/HTML_Template_IT/tests/templates/include.html
lib/php/test/HTML_Template_IT/tests/templates/loadtemplatefile.html
lib/php/test/HTML_Template_IT/tests/templates/replaceblock.html
lib/php/test/HTML_Template_IT/tests/test.php
+lib/php/test/Structures_Graph/tests/testCase/BasicGraph.php
+lib/php/test/Structures_Graph/tests/README
+lib/php/test/Structures_Graph/tests/all-tests.php
+lib/php/Structures/Graph/Manipulator/AcyclicTest.php
+lib/php/Structures/Graph/Manipulator/TopologicalSorter.php
+lib/php/Structures/Graph/Node.php
+lib/php/Structures/Graph.php
libexec/cgi-bin/php
man/man1/php-config.1
man/man1/php.1
@@ -345,17 +380,29 @@ share/examples/php/php.ini-recommended
share/php/php.gif
@dirrm share/php
@dirrm share/examples/php
+@dirrm lib/php/data/Structures_Graph
@dirrm lib/php/data/PEAR
@dirrm lib/php/data
-@dirrm lib/php/test/HTML_Template_IT/tests/templates
-@dirrm lib/php/test/HTML_Template_IT/tests
-@dirrm lib/php/test/HTML_Template_IT
+@dirrm lib/php/doc/Structures_Graph/docs/tutorials/Structures_Graph
+@dirrm lib/php/doc/Structures_Graph/docs/tutorials
+@dirrm lib/php/doc/Structures_Graph/docs/html/media
+@dirrm lib/php/doc/Structures_Graph/docs/html/Structures_Graph
+@dirrm lib/php/doc/Structures_Graph/docs/html
+@dirrm lib/php/doc/Structures_Graph/docs
+@dirrm lib/php/doc/Structures_Graph
@dirrm lib/php/doc/HTML_Template_IT/examples/templates
@dirrm lib/php/doc/HTML_Template_IT/examples
@dirrm lib/php/doc/HTML_Template_IT
@dirrm lib/php/doc/Archive_Tar/docs
@dirrm lib/php/doc/Archive_Tar
+@dirrm lib/php/doc/PEAR
@dirrm lib/php/doc
+@dirrm lib/php/test/HTML_Template_IT/tests/templates
+@dirrm lib/php/test/HTML_Template_IT/tests
+@dirrm lib/php/test/HTML_Template_IT
+@dirrm lib/php/test/Structures_Graph/tests/testCase
+@dirrm lib/php/test/Structures_Graph/tests
+@dirrm lib/php/test/Structures_Graph
@dirrm lib/php/test
@dirrm lib/php/build
@dirrm lib/php/PEAR/Validator
@@ -379,6 +426,9 @@ share/php/php.gif
@dirrm lib/php/OS
@dirrm lib/php/Net/UserAgent
@dirrm lib/php/Net
+@dirrm lib/php/Structures/Graph/Manipulator
+@dirrm lib/php/Structures/Graph
+@dirrm lib/php/Structures
@dirrm lib/php/.channels/.alias
@dirrm lib/php/.channels
@dirrm lib/php/.registry/.channel.pecl.php.net
diff --git a/www/php4/distinfo b/www/php4/distinfo
index 35b255cec07..b7413e484d4 100644
--- a/www/php4/distinfo
+++ b/www/php4/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.60 2006/11/04 11:19:41 adrianp Exp $
+$NetBSD: distinfo,v 1.60.2.1 2007/03/07 00:22:54 salo Exp $
-SHA1 (php-4.4.4.tar.bz2) = 05d62910fb5734344db87f0a17b1e8e001b26b05
-RMD160 (php-4.4.4.tar.bz2) = 02fd7d5135a9e5ce11d905a4a474a5d42b8441f3
-Size (php-4.4.4.tar.bz2) = 4478698 bytes
+SHA1 (php-4.4.6.tar.bz2) = e9c11ae084e2d505568d672afd06d4e6fc431621
+RMD160 (php-4.4.6.tar.bz2) = 16a81ee94d1f8f56adf3e76dde32c62597130674
+Size (php-4.4.6.tar.bz2) = 4559282 bytes
SHA1 (patch-aa) = feb064407950d0fc732b7240e65cac84420d2407
SHA1 (patch-ab) = 38a4bcd0d65b26c5d8e54e22b552f60831188469
SHA1 (patch-ac) = 28288b1e79c14fb2b40eaefed0d6d2bff4775607
@@ -16,5 +16,3 @@ SHA1 (patch-al) = 28ad9006b387e2b9984ad49beea21c9d46e63b46
SHA1 (patch-ao) = 0fd4becf023451ac8cb185df354830efc86c1344
SHA1 (patch-ap) = 2f852abd1e9d0f089add18b2eade2831253ad00e
SHA1 (patch-at) = f8b3aebd61fe2d5b5a994e1d973424a1ed397f63
-SHA1 (patch-au) = 8b8e317dbb9cfc265bf29ebe0827d9b734a1a3b7
-SHA1 (patch-av) = d2e828caa542288d5444cf9d39f3aa0fa7a6f438
diff --git a/www/php4/patches/patch-au b/www/php4/patches/patch-au
deleted file mode 100644
index 02a8a9e1b01..00000000000
--- a/www/php4/patches/patch-au
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-au,v 1.3 2006/10/22 13:16:41 adrianp Exp $
-
-# CVE-2006-4625
-
---- Zend/zend_ini.c.orig 2005-09-02 22:09:03.000000000 +0100
-+++ Zend/zend_ini.c
-@@ -256,7 +256,8 @@ ZEND_API int zend_restore_ini_entry(char
- zend_ini_entry *ini_entry;
- TSRMLS_FETCH();
-
-- if (zend_hash_find(EG(ini_directives), name, name_length, (void **) &ini_entry)==FAILURE) {
-+ if (zend_hash_find(EG(ini_directives), name, name_length, (void **) &ini_entry)==FAILURE ||
-+ (stage == ZEND_INI_STAGE_RUNTIME && (ini_entry->modifyable & ZEND_INI_USER) == 0)) { return FAILURE;
- return FAILURE;
- }
-
diff --git a/www/php4/patches/patch-av b/www/php4/patches/patch-av
deleted file mode 100644
index 18689fc693a..00000000000
--- a/www/php4/patches/patch-av
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-av,v 1.3 2006/11/04 11:19:41 adrianp Exp $
-
-# CVE-2006-5465
-
---- ext/standard/html.c.orig 2006-02-25 21:33:06.000000000 +0000
-+++ ext/standard/html.c
-@@ -878,7 +878,7 @@ PHPAPI char *php_escape_html_entities(un
-
- matches_map = 0;
-
-- if (len + 9 > maxlen)
-+ if (len + 16 > maxlen)
- replaced = erealloc (replaced, maxlen += 128);
-
- if (all) {
-@@ -903,9 +903,15 @@ PHPAPI char *php_escape_html_entities(un
- }
-
- if (matches_map) {
-+ int l = strlen(rep);
-+ /* increase the buffer size */
-+ if (len + 2 + l >= maxlen) {
-+ replaced = erealloc(replaced, maxlen += 128);
-+ }
-+
- replaced[len++] = '&';
- strcpy(replaced + len, rep);
-- len += strlen(rep);
-+ len += l;
- replaced[len++] = ';';
- }
- }