dependencies in portmaster

perryh at pluto.rain.com perryh at pluto.rain.com
Sat Mar 1 23:13:10 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.


More information about the freebsd-questions mailing list