From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 2 14:50:19 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6774D37B404 for ; Sat, 2 Aug 2003 14:50:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E2F643FE9 for ; Sat, 2 Aug 2003 14:50:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h72LoHUp050879 for ; Sat, 2 Aug 2003 14:50:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h72LoHCe050878; Sat, 2 Aug 2003 14:50:17 -0700 (PDT) Resent-Date: Sat, 2 Aug 2003 14:50:17 -0700 (PDT) Resent-Message-Id: <200308022150.h72LoHCe050878@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thierry Thomas Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F09737B401 for ; Sat, 2 Aug 2003 14:42:44 -0700 (PDT) Received: from graf.pompo.net (lns-th2-2f-81-56-186-139.adsl.proxad.net [81.56.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 658FF43F85 for ; Sat, 2 Aug 2003 14:42:43 -0700 (PDT) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id 8702E7526; Sat, 2 Aug 2003 23:42:38 +0200 (CEST) Message-Id: <20030802214238.8702E7526@graf.pompo.net> Date: Sat, 2 Aug 2003 23:42:38 +0200 (CEST) From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/55192: www/horde2: fixing Apache segfaults. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2003 21:50:19 -0000 >Number: 55192 >Category: ports >Synopsis: www/horde2: fixing Apache segfaults. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Aug 02 14:50:16 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 4.8-STABLE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Sat Aug 2 13:35:08 CEST 2003 thierry@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386 >Description: There is a bug in Horde: the logger (PEAR::Log) is instanciated without a '&', and PHP does not handle this error, letting Apache childs segfaulting. It has been fixed in Horde's CVS. >How-To-Repeat: Run Horde, and read the logs. >Fix: Please apply the following patch. New file: files/patch-lib_Horde.php (from CVS). --- horde2.diff begins here --- diff -urN www/horde2.orig/Makefile www/horde2/Makefile --- www/horde2.orig/Makefile Thu Jun 12 19:07:53 2003 +++ www/horde2/Makefile Sat Aug 2 21:00:38 2003 @@ -7,7 +7,7 @@ PORTNAME= horde PORTVERSION= 2.2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= ftp://ftp.horde.org/pub/horde/ \ ftp://ftp.au.horde.org/pub/horde/ \ diff -urN www/horde2.orig/files/patch-lib_Horde.php www/horde2/files/patch-lib_Horde.php --- www/horde2.orig/files/patch-lib_Horde.php Thu Jan 1 01:00:00 1970 +++ www/horde2/files/patch-lib_Horde.php Sat Aug 2 21:14:43 2003 @@ -0,0 +1,22 @@ +--- lib/Horde.php.orig Wed Apr 23 23:43:06 2003 ++++ lib/Horde.php Sat Aug 2 21:14:12 2003 +@@ -120,7 +120,7 @@ + * + * @author Chuck Hagenbuch + * @author Jon Parise +- * @version $Revision: 1.118.2.42 $ ++ * @version $Revision: 1.118.2.43 $ + * @since Horde 1.3 + * @package horde + */ +@@ -184,8 +184,8 @@ + } + + include_once 'Log.php'; +- $logger = Log::singleton($conf['log']['type'], $conf['log']['name'], +- $conf['log']['ident'], $conf['log']['params']); ++ $logger = &Log::singleton($conf['log']['type'], $conf['log']['name'], ++ $conf['log']['ident'], $conf['log']['params']); + + if (!$logger) { + Horde::fatal(new PEAR_Error('An error has occurred. Furthermore, Horde encountered an error attempting to log this error. Please check your Horde logging configuration in horde/config/horde.php.'), __FILE__, __LINE__, false); diff -urN www/horde2.orig/pkg-plist www/horde2/pkg-plist --- www/horde2.orig/pkg-plist Tue Apr 29 23:47:35 2003 +++ www/horde2/pkg-plist Sat Aug 2 21:08:22 2003 @@ -111,6 +111,7 @@ %%HORDEDIR%%/lib/Group.php %%HORDEDIR%%/lib/Help.php %%HORDEDIR%%/lib/Horde.php +%%HORDEDIR%%/lib/Horde.php.orig %%HORDEDIR%%/lib/Identity.php %%HORDEDIR%%/lib/Image.php %%HORDEDIR%%/lib/Lang.php --- horde2.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: