From owner-freebsd-questions Thu Aug 8 13:57:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5965537B400 for ; Thu, 8 Aug 2002 13:57:17 -0700 (PDT) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC92443E70 for ; Thu, 8 Aug 2002 13:57:16 -0700 (PDT) (envelope-from parv@pair.com) Received: from sdn-ar-008dcwashp081.dialsprint.net ([63.178.91.169] helo=moo.holy.cow) by snipe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17cuLF-0000ah-00; Thu, 08 Aug 2002 13:57:10 -0700 Received: by moo.holy.cow (Postfix, from userid 1001) id 72B2B50B8A; Thu, 8 Aug 2002 16:59:50 -0400 (EDT) Date: Thu, 8 Aug 2002 16:59:50 -0400 From: parv To: Gary Dunn Cc: freebsd-questions Subject: Re: Ports Management - List and Compare Versions Message-ID: <20020808205950.GA42254@moo.holy.cow> Mail-Followup-To: Gary Dunn , freebsd-questions References: <1028838498.6408.27.camel@shf102107.hi.pac.army.mil> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1028838498.6408.27.camel@shf102107.hi.pac.army.mil> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in message <1028838498.6408.27.camel@shf102107.hi.pac.army.mil>, wrote Gary Dunn thusly... > > Is there a way to list what ports have been installed on a system, the > version, perhaps date installed, and for each of those installed ports, > the version currently available in the ports collection? as already mentioned, see pkg_version(1) for comparison between versions currently installed & those available from ports. > Right now I just jot down what I install on a steno pad; simple, > but so low tech. > > Imaginary report (bogus data): > > ------ Installed ------ ------ Released ------ > Category Name Version Date Version Date > security openssl 0.9.6e_1 2002-08-08 0.9.6e_1 2002-08-08 > * sysutils webmin 0.98 2002-07-15 0.99 2002-08-01 on the same lines, you may find the following of some use which lists a port's category & verison... http://www103.pair.com/parv/comp/unix/bin/listpkg.perl ...it could be modified to show the date but i find that useless. if you look in man pages of various pkg_* tools & portupgrade (in $PORTSDIR/sysutils/portupgrade), you may "easily" create shell script(s) to satisfy your requirements. - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message