Subject: Re: finding the leaf packages
To: Geert Hendrickx <ghen@NetBSD.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: pkgsrc-users
Date: 06/16/2006 12:47:16
On Fri, 16 Jun 2006 15:56:11 +0200, Geert Hendrickx <ghen@NetBSD.org>
wrote:

> On Fri, Jun 16, 2006 at 08:44:52AM -0400, Steven M. Bellovin wrote:
> > Is there some simple way to get a list of all leaf packages, in the form
> > of, say, pkg_tools/pkgdepgrah.  (I use that as a non-random example, since
> > it obviously knows how to do that, but I haven't figured out the options
> > to do it in any way other than as input to graphviz.)
> 
> There is pkg_rmleaves in pkgsrc-wip (ported from FreeBSD but unfinished).  
> 
There are two problems, other than fact that it's unfinished. 

First, it's aimed at deleting things.  Second, there are two different
"real" names for packages, the qualified and unqualified versions.  I need
the qualified ones, to feed to pkg_comp.


		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb