portupgrade fu... AKA there has to be a better way

Doug Poland doug at polands.org
Sat Apr 4 17:02:48 PDT 2009


On Sat, April 4, 2009 14:06, Matthew Seaman wrote:
> Doug Poland wrote:
>> Hello,
>>
>> I'm upgrading a server from 6.4 to 7.1 and am going through the
>> relative pain of re-compiling all the ports.  It's not as easy
>> "portupgrade -af" because of all the special handling instructions
>> of many ports.
>>
>> I have not found an "easy" way to keep track of the ports that need
>> to be forcibly updated but have not undergone a version change.
>> Because I approach the upgrade in steps, I need to run portupgrade
>> several times but want to exclude stuff already compiled under 7.x.
>>
>> What I need is a command like:
>>
>> # portupgrade -af -x "already compiled on 7"
>>
>>
>> Suggestions, comments, rebukes welcome.
>
> Assuming you start the upgrade today, then:
>
> # portupgrade -af -x ">=2009-04-04"
>
hmmm, I don't think it gets much easier than that.  Thanks!


-- 
Regards,
Doug



More information about the freebsd-questions mailing list