Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2002 18:14:30 +0000
From:      Thomas Hurst <tom.hurst@clara.net>
To:        ports@freebsd.org
Subject:   Re: script to check for updates
Message-ID:  <20020303181430.GB37508@voi.aagh.net>
In-Reply-To: <001601c1c2b9$5eb14a20$345bbc42@mad.chartermi.net>
References:  <001601c1c2b9$5eb14a20$345bbc42@mad.chartermi.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Chris Byrnes (chris@JEAH.net) wrote:

> does anyone have a script they use to check the version of a port/pkg
> installed vs what is the latest version in ports? (so you dont have
> to go through every package you have installed and see if there is an
> updated version)

alias pkg_chk='pkg_version -vL = |grep -v "^bsdpan"'

This also lets you keep track of orphaned ports, which looking for <
doesn't give you.

portsversion (part of sysutils/portupgrade) is faster, but requires an
up-to-date INDEX, which takes a long, long time to build (*grumble*)

-- 
Thomas 'Freaky' Hurst  -  freaky@aagh.net  -  http://www.aagh.net/
-
To get a loan, you must first prove you don't need it.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020303181430.GB37508>