From owner-freebsd-ports@FreeBSD.ORG Tue Sep 19 21:15:54 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 05ECC16A403 for ; Tue, 19 Sep 2006 21:15:54 +0000 (UTC) (envelope-from sailorfred@yahoo.com) Received: from web31815.mail.mud.yahoo.com (web31815.mail.mud.yahoo.com [68.142.206.168]) by mx1.FreeBSD.org (Postfix) with SMTP id 9461443D76 for ; Tue, 19 Sep 2006 21:15:53 +0000 (GMT) (envelope-from sailorfred@yahoo.com) Received: (qmail 64116 invoked by uid 60001); 19 Sep 2006 21:15:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=HKE+iWRXQVEaaU+w3WJUjMZdmxtdWosZ8+TvDDQxNITyUi46yCqyRKw4qwgKu8flZftdwI/WLakk3tFcNikMyW84TILt6ys4pUbN4cSTWoroN2JdJ7PV6NIBvDmPFEh6tvdoLk3of//i09hwawAbWalUnH36m+6RVWPOxr45Xek= ; Message-ID: <20060919211553.64114.qmail@web31815.mail.mud.yahoo.com> Received: from [64.18.7.193] by web31815.mail.mud.yahoo.com via HTTP; Tue, 19 Sep 2006 14:15:53 PDT Date: Tue, 19 Sep 2006 14:15:53 -0700 (PDT) From: Fred Cox To: Kris Kennaway In-Reply-To: <20060919201745.GA48218@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-ports@freebsd.org, Kris Kennaway Subject: Re: www/dotproject out of date and vulnerable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 21:15:54 -0000 For my second iteration of installing this through the original port, I was able to install mysql323-client and php4 before installing dotproject, and everything worked. So it appears that php4-mysql will use mysql323-client if it's already installed. I haven't dug through the code to see how that is done, though. There are patches out there for making things work with MySQL 4 and 5. However, they are not officially supported. I am debating putting the patches in for MySQL 5, but if someone goes to the trouble of installing MySQL 3.23 before installing php4-mysql and dotproject, I think it will break. Is there any way of getting the dotproject dependency on MySQL 3.23 to be stronger than the php4-mysql default dependency on mysql5-client? Thanks, Fred --- Kris Kennaway wrote: > On Tue, Sep 19, 2006 at 12:23:55PM -0700, Fred Cox > wrote: > > This is the first time I've tried to modify a > port, > > and I'm having a bit of trouble because this port > > requires MySQL 3.23 and PHP 4. Those dependencies > > weren't specified in the port before. > > > > I've gotten PHP4 by adding: > > > > USE_PHP= gd mysql session > > DEFAULT_PHP_VER=4 > > WANT_PHP_WEB= yes > > IGNORE_WITH_PHP=5 > > > > Trying to get it to install MySQL 3.23 client > seems to > > be stymied by the php4-mysql default dependency on > the > > MySQL 5 client. I haven't actually figured out > how it > > specifies this dependency, since the > > php4-mysql/Makefile is very empty. > > Basically if php4-mysql wants mysql5 then there is > no way around it > for your port. You will need to create a > php4-mysql3 port that > specifies the mysql 3 dependency and use that > instead. Is it really a > requirement to use this old version of mysql? > > Kris > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com