port php5 - what I am supposed to do here?

Eric heli at mikestammer.com
Fri Oct 6 05:50:32 PDT 2006


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? =)


More information about the freebsd-questions mailing list