Subject: Re: pkg/32000: PHP 4.1.1 is unstable
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: pkgsrc-bugs
Date: 11/09/2005 08:11:02
The following reply was made to PR pkg/32000; it has been noted by GNATS.

From: Martti Kuparinen <martti.kuparinen@iki.fi>
To: gnats-bugs@netbsd.org
Cc: bouyer@netbsd.org
Subject: Re: pkg/32000: PHP 4.1.1 is unstable
Date: Wed, 09 Nov 2005 10:10:14 +0200

 ----------------------------
 revision 1.57
 date: 2005/11/08 20:33:55;  author: bouyer;  state: Exp;  lines: +2 -2
 php 4.4.1 has a bug which cause squirrelmail's sort function to misbehave:
 (endless loop):
 http://bugs.php.net/bug.php?id=35067
 Pull in a patch from the php CVS repository to fix this, as suggested a
 squirrelmail mailing list:
 http://cvs.php.net/diff.php/php-src/ext/standard/basic_functions.c?r1=1.543.2.51
 .2.3&r2=1.543.2.51.2.4&ty=u
 
 OK'd by Jaromir Dolecek, tested on apache-1 and apache-2 servers.
 Bump pkgrevision.
 ----------------------------
 
 
 Unfortunately this does NOT fix the problems!
 
 I tried to install php-4.4.1nb2 on a NetBSD/i386 3.0 server with apache-1.3.34 
 and it seems to work fine. However, on my other NetBSD/i386 3.0 server with 
 apache-2.0.55nb2 I still get core dump (now even with a simple PHP script used 
 at http://www.nissenrinne.fi/ but also with squirrelmail).
 
 Here's what works with apache-2.0.55nb2 and what doesn't:
 
 www:/tmp> diff -u no.txt yes.txt
 --- no.txt      2005-11-09 10:01:58.000000000 +0200
 +++ yes.txt     2005-11-09 10:02:48.000000000 +0200
 @@ -1,4 +1,4 @@
 -ap-php-4.4.1nb3     Apache (apache2) module for PHP4
 +ap-php-4.4.0nb2     Apache (apache2) module for PHP4
   apache-2.0.55nb2    Apache HTTP (Web) server, version 2
   apr-0.9.7.2.0.55    Apache Portable Runtime
   audit-packages-1.39 Tools to show vulnerabilities in installed packages
 @@ -37,8 +37,8 @@
   pcre-6.4nb1         Perl Compatible Regular Expressions library
   perl-5.8.7nb4       Practical Extraction and Report Language
   pflogsumm-1.1.0     Produce summaries from Postfix syslog data
 -php-4.4.1nb2        HTML-embedded scripting language
 -php-gettext-4.4.1   PHP extension for gettext support
 +php-4.4.0nb2        HTML-embedded scripting language
 +php-gettext-4.4.0   PHP extension for gettext support
   pico-4.10           Text editor (ships with Pine), and Pine's text editing lib
   pine-4.63           Program for Internet News and E-mail
   pkg_install-20051107 Package management and administration tools for pkgsrc
 www:/tmp>