superfluous java ports?

Alexander Leidinger Alexander at Leidinger.net
Fri Mar 5 02:19:41 PST 2004


On Thu, 4 Mar 2004 18:02:19 -0500
"Dr. Richard E. Hawkins" <hawk at slytherin.ds.psu.edu> wrote:

> I was wondering how many were cruft the other day, and did something
> like:
> 
> ls /var/db/pkg/*/+REQ* | sed -e "s/-.*//" -e "s/^.*\///" > tlist
> 
> to get a file of all packages upon which something else depends, and 
> then 
> 
> /var/db/pkg | grep -v -f tlist
> 
> to get a list of files upon which nothing else depends, which I then
> inspected for candidates for pkg_deinstall

sysutils/pkg_cutleaves does something similar.

Bye,
Alexander.

-- 
           I will be available to get hired in April 2004.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


More information about the freebsd-ports mailing list