Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Oct 2006 07:50:27 -0500
From:      Eric <heli@mikestammer.com>
To:        Alain Wolf <wolf@k18.ch>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: port php5 - what I am supposed to do here?
Message-ID:  <45265113.1030701@mikestammer.com>
In-Reply-To: <eg4qt9$pbs$1@sea.gmane.org>
References:  <eg4hu4$40i$1@sea.gmane.org>	<00aa01c6e8fa$fe19ce90$1200a8c0@gsicomp.on.ca> <eg4qt9$pbs$1@sea.gmane.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Alain Wolf wrote:
> 
> Thanks Matt, that did it. I knew it there was a way. :-)
> 
> But then ...
> As everything was in sync again, I wanted to install the suhosin-patch
> 
> And see what happens:
> 
> ===  Patching for php5-5.1.6_1
> ===  Applying distribution patches for php5-5.1.6_1
> ===  Applying FreeBSD patches for php5-5.1.6_1
> 1 out of 1 hunks failed--saving rejects to Zend/zend_alloc.c.rej
> = Patch patch-Zend_zend_alloc.c failed to apply cleanly.
> = Patch(es) patch-TSRM_threads.m4 patch-Zend::zend.h applied cleanly.
> *** Error code 1
> 
> Stop in /usr/ports/lang/php5.
> 
> 
> :-(
> 
> I found this stange as I read just before about the neweset patch in the
> cvs.ports list :
> 
> On 05.10.2006 22:59, * Alex Dupre wrote:
>> ale         2006-10-05 20:59:17 UTC
> 
>>   FreeBSD ports repository
> 
>>   Modified files:
>>     lang/php5            Makefile 
>>   Added files:
>>     lang/php5/files      patch-Zend_zend_alloc.c 
>>   Log:
>>   Added safety checks against integer overflow.
>>   Bump PORTREVISION.
>>   While I'm here, I suggest all php users to use the suhosin patch
>>   and suhosin extension to harden the php installation.

> He suggests the suhosin patch but in my expirience it only builds
> without it.
> 
> Anybody else got this kind of problems?
> 

same thing here.  How many more are seeing this? For now ill just go
with the extension until the patch thing is resolved i guess.

why is there a patch out there that doesn't apply and why is it being
advocated if its broke? =)



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?45265113.1030701>