From owner-freebsd-questions@FreeBSD.ORG Sun Mar 2 05:01:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96230106566C for ; Sun, 2 Mar 2008 05:01:15 +0000 (UTC) (envelope-from clarkp@mtmary.edu) Received: from fear.mtmary.edu (rrcs-74-62-87-82.west.biz.rr.com [74.62.87.82]) by mx1.freebsd.org (Postfix) with ESMTP id 67B818FC1E for ; Sun, 2 Mar 2008 05:01:14 +0000 (UTC) (envelope-from clarkp@mtmary.edu) Received: from webmail.mtmary.edu (avarice.mtmary.edu [172.16.0.207]) by fear.mtmary.edu (Postfix) with ESMTP id 840DA50D540; Sat, 1 Mar 2008 22:31:08 -0600 (CST) Received: from 218.185.52.132 (SquirrelMail authenticated user clarkp) by webmail.mtmary.edu with HTTP; Sat, 1 Mar 2008 22:31:09 -0600 (CST) Message-ID: <39632.218.185.52.132.1204432269.squirrel@webmail.mtmary.edu> In-Reply-To: <47c9e1a1.c98z3hRYgXce6kBO%perryh@pluto.rain.com> References: <47c9e1a1.c98z3hRYgXce6kBO%perryh@pluto.rain.com> Date: Sat, 1 Mar 2008 22:31:09 -0600 (CST) From: "Peter Clark" To: perryh@pluto.rain.com User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: dependencies in portmaster 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: Sun, 02 Mar 2008 05:01:15 -0000 > I am trying to figure out what-all would happen if I were to install > a particular port. IOW I want to do something like > > # portmaster {some set of options} name-of-port > > and have it report something along the lines of > > name-of-port vn #.## requires: > port status > ---- ------ > dependency-1 OK > dependency-2 need vn 2.22, current 1.05 > dependency-3 not installed > ... > > dependency-2 vn 2.22 requires: > port status > ---- ------ > dependency-4 OK > dependency-5 need vn 5.03, current 4.57 > ... > > dependency-3 vn #.## requires: > port status > ---- ------ > dependency-6 not installed > > ... > > I do not want it to actually build or install anything. > > If I am understanding the portmaster manpage correctly this is close > to what -n would do, but I don't even want it to do 'make config' -- > I just want a report of what would have to be added or upgraded in > order to install the port in question. (I imagine portmaster has > to already be collecting this sort of information internally, the > question is how to get it reported externally.) > > BTW I am looking for a solution that does not involve portupgrade, > because I do not have portupgrade installed and before attempting > to install it I would want to see this sort of report regarding it. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > If you truly are just looking at the dependency list and do not wish to have make do anything, wouldn't this do the trick: http://portsmon.freebsd.org/portdependencytree.py I guess you would need to have an up to date ports tree for this to be accurate. Peter