dependencies in portmaster

Peter Clark clarkp at mtmary.edu
Sun Mar 2 05:01:15 UTC 2008



> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at 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





More information about the freebsd-questions mailing list