From owner-freebsd-questions@FreeBSD.ORG Fri Oct 6 12:50:32 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 724BA16A407 for ; Fri, 6 Oct 2006 12:50:32 +0000 (UTC) (envelope-from heli@mikestammer.com) Received: from smtp101.sbc.mail.re2.yahoo.com (smtp101.sbc.mail.re2.yahoo.com [68.142.229.104]) by mx1.FreeBSD.org (Postfix) with SMTP id 523A643D45 for ; Fri, 6 Oct 2006 12:50:31 +0000 (GMT) (envelope-from heli@mikestammer.com) Received: (qmail 98740 invoked from network); 6 Oct 2006 12:50:30 -0000 Received: from unknown (HELO mail.mikestammer.com) (mikestammer@sbcglobal.net@71.147.41.2 with login) by smtp101.sbc.mail.re2.yahoo.com with SMTP; 6 Oct 2006 12:50:30 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.mikestammer.com (Postfix) with ESMTP id 1F6F9BF; Fri, 6 Oct 2006 07:50:30 -0500 (CDT) X-Virus-Scanned: amavisd-new at mikestammer.com Received: from mail.mikestammer.com ([127.0.0.1]) by localhost (gondolin.middleearth.mikestammer.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qDL0EG2S5+0z; Fri, 6 Oct 2006 07:50:28 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eric) by mail.mikestammer.com (Postfix) with ESMTP id 8BC2FB6; Fri, 6 Oct 2006 07:50:28 -0500 (CDT) Message-ID: <45265113.1030701@mikestammer.com> Date: Fri, 06 Oct 2006 07:50:27 -0500 From: Eric User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Alain Wolf References: <00aa01c6e8fa$fe19ce90$1200a8c0@gsicomp.on.ca> In-Reply-To: X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: port php5 - what I am supposed to do here? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2006 12:50:32 -0000 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? =)