From owner-freebsd-questions@FreeBSD.ORG Tue Sep 13 18:04:40 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3232116A429 for ; Tue, 13 Sep 2005 18:04:39 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from biodiesel.gaiahost.coop (biodiesel.gaiahost.coop [64.95.78.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16C5543D45 for ; Tue, 13 Sep 2005 18:04:38 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from localhost ([::ffff:64.65.195.19]) (AUTH: LOGIN mark@hubcapconsulting.com) by biodiesel.gaiahost.coop with esmtp; Tue, 13 Sep 2005 14:04:36 -0400 id 007EC08E.432714B5.00007B29 Received: by localhost (sSMTP sendmail emulation); Tue, 13 Sep 2005 14:04:32 -0400 Date: Tue, 13 Sep 2005 14:04:32 -0400 From: Mark Bucciarelli To: freebsd-questions@freebsd.org Message-ID: <20050913180432.GF924@rabbit> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Stale dependency question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2005 18:04:41 -0000 On a 5.4 box, pkgdb -F is reporting stale PHP dependencies and I'm not sure of the correct way to fix it. For example (one of nine such messages): php5-mysql-5.0.4_2 -> php5-5.0.4_2 (lang/php). We have php5-cgi-5.0.4_2 installed, not php5-5.0.4_2. So ... 1. Portversion tells me that php5-cgi needs upgrading--will doing a portupgrade on php5-cgi fix this stale dependency? 2. Or should I replace the php5 dependency with the php5-cgi when running pkgdb -F? Where can I view a list of a port's dependencies? I tried poking around the ports directories to figure out the dependencies, but /usr/ports/databases/php5-mysql just has a Makefile which points to ../../lang/php5 as the MASTERDIR. Likewise, /usr/ports/www/php5-cgi just has a Makefile that points to lang/php5. This is inside a jail, with /usr/ports mounted nullfs from the jails container. In the container, I did a cvsup and portsdb -Uu. Then in the jail, I do pkgdb -F. Let's see, the only other thing that might be relevant is that as part of the original php5-cgi install, I renamed and moved the php binary to a different place. Then, when pear needed the php binary, we make a symlink from the moved and renamed binary back to the where pear expected it. Regards, m