From owner-freebsd-ports@FreeBSD.ORG Thu May 12 09:11:01 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 5BA3A16A4CE; Thu, 12 May 2005 09:11:01 +0000 (GMT) Received: from smtp0.netlab.nec.de (smtp0.netlab.nec.de [195.37.70.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8ADA43D49; Thu, 12 May 2005 09:11:00 +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 BC468154EB; Thu, 12 May 2005 11:18:03 +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:10:59 +0200 Mime-Version: 1.0 (Apple Message framework v728) In-Reply-To: <5F1C5895-75C7-49AF-8BE8-949B18A933E5@netlab.nec.de> 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> <5F1C5895-75C7-49AF-8BE8-949B18A933E5@netlab.nec.de> Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-79-142904284; protocol="application/pkcs7-signature" Message-Id: From: Lars Eggert Date: Thu, 12 May 2005 11:10:57 +0200 X-Mailer: Apple Mail (2.728) X-OriginalArrivalTime: 12 May 2005 09:10:59.0941 (UTC) FILETIME=[83826950:01C556D2] X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: ports@freebsd.org cc: Sergey Matveychuk 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:11:01 -0000 --Apple-Mail-79-142904284 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On May 12, 2005, at 11:08 , Lars Eggert wrote: > 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. Forgot to add: The maintainers of these other ports may not even be aware that their port contains code that will call mod_perl2 when it is installed. Lars -- Lars Eggert NEC Network Laboratories --Apple-Mail-79-142904284--