Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2008 22:31:09 -0600 (CST)
From:      "Peter Clark" <clarkp@mtmary.edu>
To:        perryh@pluto.rain.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: dependencies in portmaster
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>

next in thread | previous in thread | raw e-mail | index | archive | help


> 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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39632.218.185.52.132.1204432269.squirrel>