portupgrade
and portmaster
.DutchDaemon said:You'll find that a lot of people here will say that about portmaster, actually
SageRaven said:While that may be true for day-to-day port management, I've found portmaster to be a major pain when updating all (or a large portion) of one's ports. At least portupgrade will continue to chug along if a build fails, whereas portmaster will gleefully come to a halt at the first sign of trouble (often, immediately after you've left the console, expecting your rebuild to be working for the next couple of hours unattended).
Of course, I may just be unaware of a magic flag that tells portmaster to ignore errors.
# portupgrade -fR foo-8.6.7
which can be quite useful in the case of one misbehaving port.# portmaster -f foo-8.6.7
will recursively rebuild all dependencies of foo-8.6.7. # portmaster -r foo-8.6.7
will recursively rebuild all ports depending on foo-8.6.7. Without any flags, portmaster will always rebuild the port you specify after upgrading any dependencies that are out of date. It's a little different from how portupgrade works, but the results are the same.