From owner-freebsd-ports Sun Mar 3 15:37:20 2002 Delivered-To: freebsd-ports@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 69BB337B400 for ; Sun, 3 Mar 2002 15:37:14 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 125D02B722; Mon, 4 Mar 2002 00:37:11 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id DE9F9369; Mon, 4 Mar 2002 10:36:58 +1100 (EST) Date: Mon, 4 Mar 2002 10:36:58 +1100 From: Edwin Groothuis To: Chris Byrnes Cc: ports@freebsd.org Subject: Re: script to check for updates Message-ID: <20020304103658.A575@k7.mavetju.org> References: <001601c1c2b9$5eb14a20$345bbc42@mad.chartermi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <001601c1c2b9$5eb14a20$345bbc42@mad.chartermi.net>; from chris@JEAH.net on Sun, Mar 03, 2002 at 07:43:15AM -0600 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 On Sun, Mar 03, 2002 at 07:43:15AM -0600, Chris Byrnes 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) My 2cents are: pkg_version -v | grep -v "up-to-date". It shows whatever I need to know for my port-submissions: glitter-gnome-1.0.b.1_1 > succeeds port (port has 1.0.b.1) linux-setiathome-i686-3.03 ? orphaned: astro/linux-setiathome-i686 linux_mesa-3.4.2 < needs updating (port has 3.4.2_1) Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message