From owner-freebsd-ports@FreeBSD.ORG Thu May 12 09:09:04 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DED216A4CE; Thu, 12 May 2005 09:09:04 +0000 (GMT) Received: from smtp0.netlab.nec.de (smtp0.netlab.nec.de [195.37.70.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B30D43D6A; Thu, 12 May 2005 09:09:03 +0000 (GMT) (envelope-from Lars.Eggert@netlab.nec.de) Received: from europa.office (europa.office [10.1.1.2]) by smtp0.netlab.nec.de (Postfix) with ESMTP id 4550A154EB; Thu, 12 May 2005 11:16:06 +0200 (CEST) Received: from [10.1.1.112] ([10.1.1.112]) by europa.office over TLS secured channel with Microsoft SMTPSVC(6.0.3790.211); Thu, 12 May 2005 11:09:02 +0200 In-Reply-To: <42831BEC.6090507@FreeBSD.org> References: <55B5C129-1BD5-4389-9B37-97913017D52A@netlab.nec.de> <428315C9.9090500@FreeBSD.org> <390642D6-0728-4485-8F62-4A18310A74CD@netlab.nec.de> <42831BEC.6090507@FreeBSD.org> Mime-Version: 1.0 (Apple Message framework v728) Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-78-142785944; protocol="application/pkcs7-signature" Message-Id: <5F1C5895-75C7-49AF-8BE8-949B18A933E5@netlab.nec.de> From: Lars Eggert Date: Thu, 12 May 2005 11:08:58 +0200 To: Sergey Matveychuk X-Mailer: Apple Mail (2.728) X-OriginalArrivalTime: 12 May 2005 09:09:02.0461 (UTC) FILETIME=[3D7C62D0:01C556D2] X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: ports@freebsd.org Subject: Re: HEADS UP: mod_perl2 API changes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2005 09:09:04 -0000 --Apple-Mail-78-142785944 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On May 12, 2005, at 11:03 , Sergey Matveychuk wrote: > Lars Eggert wrote: > >> Thanks for the list! Note that some other ports that do not >> explicitly list mod_perl2 as a dependency include code that uses >> it if installed. These will also break. Based on my own >> experience, this includes at least www/twiki and devel/cvsweb3. >> I'm sure there are others, but I have no clue how to identify >> them all. > > I'm not sure it's right. The ports will not work if they use > mod_perl2 but have no depends on it. They do, it's perl. These ports contain code that says "if mod_perl2 installed, use it, otherwise, just use perl." (Remember that mod_perl2 at a very basic level is a performance improvement that reuses spawned perl interpreters in apache. Perl CGIs run fine without it, just slower.) The problem is that while the mod_perl guys changed the API to *use* mod_perl2, they did not change the API to *test for it*. Hence we're in a nice pickle: The test for mod_perl2 succeeds, but then the calls to it fail. Lars -- Lars Eggert NEC Network Laboratories --Apple-Mail-78-142785944--