From owner-freebsd-ports@FreeBSD.ORG Wed Sep 20 01:34:01 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 636B216A407 for ; Wed, 20 Sep 2006 01:34:01 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D167443D6B for ; Wed, 20 Sep 2006 01:33:54 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 994561A4D84; Tue, 19 Sep 2006 18:33:54 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7C8A6515F7; Tue, 19 Sep 2006 21:33:53 -0400 (EDT) Date: Tue, 19 Sep 2006 21:33:53 -0400 From: Kris Kennaway To: Fred Cox Message-ID: <20060920013353.GA52215@xor.obsecurity.org> References: <20060920011215.GA51890@xor.obsecurity.org> <20060920012550.92109.qmail@web31806.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060920012550.92109.qmail@web31806.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2.2i 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: Wed, 20 Sep 2006 01:34:01 -0000 On Tue, Sep 19, 2006 at 06:25:50PM -0700, Fred Cox wrote: > > > It's still better than the current situation. > > > > Publishing packages that will not run because > > they're linked to the > > wrong libraries is, again, not my idea of "better". > > > > There is no linkage problem. It's a client/server > problem. > > PHP4 is perfectly happy being linked with the MySQL 5 > client libraries, it's the database server that needs > to be 3.23. The SQL used in dotProject is legal for > 3.23, but not 5. Then you haven't explained yourself very well, because at the start of this thread you were talking about a conflict between the mysql 3 and mysql 5 *clients*, not servers. -- 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. -- So, does it or does it not require the mysql 3.23 client in php4-mysql and dotproject? > > Copy the php4-mysql port to php4-mysql3 and make the > > presumably > > trivial change to make it use mysql 3 instead of > > whatever the default > > is. > > > > It's not trivial. The current Makefile is trivial, > but a change to do what you're suggesting will need to > be more complex. > > Here's the current php4-mysql Makefile: > > CATEGORIES= databases > > MASTERDIR= ${.CURDIR}/../../lang/php4 > > PKGNAMESUFFIX= -mysql > > .include "${MASTERDIR}/Makefile" > > The ${MASTERDIR}/Makefile doesn't refer to mysql at > all. > > Personally, I don't see how it knows it's supposed to > link MySQL in there. Perhaps it's because PHP4 > defaults to including MySQL support, so this isn't > really doing anything. I haven't read far enough to > know for sure. Look in for the rest. Kris