From owner-freebsd-ports Sun Mar 3 10:14:34 2002 Delivered-To: freebsd-ports@freebsd.org Received: from voi.aagh.net (pc1-hart4-0-cust168.mid.cable.ntl.com [62.254.84.168]) by hub.freebsd.org (Postfix) with ESMTP id C0AA037B402 for ; Sun, 3 Mar 2002 10:14:31 -0800 (PST) Received: from freaky by voi.aagh.net with local (Exim 3.35 #1) id 16haVC-0009pS-00 for ports@freebsd.org; Sun, 03 Mar 2002 18:14:30 +0000 Date: Sun, 3 Mar 2002 18:14:30 +0000 From: Thomas Hurst To: ports@freebsd.org Subject: Re: script to check for updates Message-ID: <20020303181430.GB37508@voi.aagh.net> Mail-Followup-To: ports@freebsd.org References: <001601c1c2b9$5eb14a20$345bbc42@mad.chartermi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001601c1c2b9$5eb14a20$345bbc42@mad.chartermi.net> User-Agent: Mutt/1.3.27i Organization: Not much. X-Operating-System: FreeBSD/4.5-PRERELEASE (i386) X-Uptime: 6:10PM up 73 days, 2:55, 3 users, load averages: 2.08, 2.07, 2.02 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * 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