From owner-freebsd-questions Sun Sep 12 7: 3:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from terrapin.ru.ac.za (terrapin.ru.ac.za [146.231.128.6]) by hub.freebsd.org (Postfix) with ESMTP id B39C814E85 for ; Sun, 12 Sep 1999 07:03:06 -0700 (PDT) (envelope-from nbm@mithrandr.moria.org) Received: from duca.dialup.ru.ac.za ([146.231.98.24] helo=mithrandr.moria.org) by terrapin.ru.ac.za with esmtp (Exim 3.03 #1) id 11QADg-0003hs-00 for questions@FreeBSD.ORG; Sun, 12 Sep 1999 16:03:04 +0200 Received: (qmail 40563 invoked by uid 1001); 12 Sep 1999 13:55:44 -0000 Date: Sun, 12 Sep 1999 15:55:44 +0200 From: Neil Blakey-Milner To: Jeroen Ruigrok/Asmodai Cc: John and Jennifer Reynolds , questions@FreeBSD.ORG Subject: Re: Knowing when installed ports could be upgraded ... Message-ID: <19990912155544.B40152@mithrandr.moria.org> References: <14298.36226.455540.657148@localhost.primenet.com> <19990912154918.F81750@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <19990912154918.F81750@daemon.ninth-circle.org>; from Jeroen Ruigrok/Asmodai on Sun, Sep 12, 1999 at 03:49:18PM +0200 Organization: Rhodes University Computer Users' Society X-Operating-System: FreeBSD 4.0-CURRENT i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun 1999-09-12 (15:49), Jeroen Ruigrok/Asmodai wrote: > People have been discussing stuff that does scan /var/db/pkg for names > and compare them to the ports. > > Might even want to make something that's greps INDEX and only takes the > first part up till the pipe `|' char and then compare that to the > contents of /var/db/pkg. Try pkg_version, in ports, and soon moving to world, apparently. Neil -- Neil Blakey-Milner nbm@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message