Ports question ....

Warren Block wblock at wonkity.com
Fri Aug 29 22:24:47 UTC 2014


On Fri, 29 Aug 2014, Cristiano Deana wrote:

> On Fri, Aug 29, 2014 at 2:59 PM, William A. Mahaffey III <wam at hiwaay.net> wrote:
>
>> I have been using portsnap, I just couldn't figure out how to get it to tell
>> me what ports had been updated since I last fetched (w/o fetching again)
>
> That's not how it works.
> portsnap update THE PORTS' TREE, not the installed ports. AFTER you
> have update your ports tree, you can run
> portversion -v | grep '<'
> to show which ports you have INSTALLED has some update.

portversion is part of portupgrade.  I recommend portmaster instead:
http://www.wonkity.com/~wblock/docs/html/portupgrade.html

portmaster -L shows a report on all installed ports.  Piping that 
through egrep '(ew|ort) version|total install' lists just the ports 
needing to be upgraded.


More information about the freebsd-questions mailing list