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

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Apr 4 12:07:03 PDT 2009


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"

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090404/d19b3c16/signature.pgp


More information about the freebsd-questions mailing list