Determining what a port will install... (more than
pretty-print-*)
Eric Schuele
e.schuele at computer.org
Mon May 2 07:42:27 PDT 2005
Garance A Drosihn wrote:
> At 4:25 PM -0500 4/30/05, Eric Schuele wrote:
>
>> Philip Hallstrom wrote:
>>
>>>
>>> The "portupgrade" port can do this. Something like...
>>>
>>> portupgrade -n -Rr someport
>>>
>>> The -n tells it not to do anything, just show you what it would do.
>>
>>
>> This sounds like what I'm looking for... so I tried it. But its giving
>> me difficulties.
>>
>> I am using `portupgrade -nN -rR "x11-fm/rox-filer"` for example.
>
>
> I believe that 'portupgrade -n' only works right for ports which you
> have already installed. It keeps a database of already-installed
> ports, and that's what it is using to track '-Rr'. Or at least,
> 'portupgrade -nN' never does anything useful for me, even though it
> is very useful to do 'portupgrade -n -Rr' when upgrading ports you
> have already installed.
>
Yes... That is the conclusion I have come to.
I'm sure what I am trying to accomplish is just one savvy shell script
away.... I'm just not that savvy though. If I can't find something
which already does what I'm looking for.... I'll muddle through writing
a script to do it.
--
Regards,
Eric
More information about the freebsd-questions
mailing list