Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Mar 2008 15:07:13 -0800
From:      perryh@pluto.rain.com
To:        freebsd-questions@freebsd.org
Subject:   dependencies in portmaster
Message-ID:  <47c9e1a1.c98z3hRYgXce6kBO%perryh@pluto.rain.com>

next 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47c9e1a1.c98z3hRYgXce6kBO%perryh>