Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2002 16:59:50 -0400
From:      parv <parv_fm@emailgroups.net>
To:        Gary Dunn <knowtree@aloha.com>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Ports Management - List and Compare Versions
Message-ID:  <20020808205950.GA42254@moo.holy.cow>
In-Reply-To: <1028838498.6408.27.camel@shf102107.hi.pac.army.mil>
References:  <1028838498.6408.27.camel@shf102107.hi.pac.army.mil>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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