distfile belongs to?

Kris Kennaway kris at obsecurity.org
Mon Nov 27 21:31:09 PST 2006


On Mon, Nov 27, 2006 at 05:02:53PM -0500, Robert Huff wrote:
> 
> 	Let's suppose I have a list of tarballs
> (e.g. foobar-1.23.456.tar.gz).  How do I tell which port each file
> belongs to?  "pkg_info" only lists the end results.

This information is not compiled in any convenient form.  You would
need to recursively traverse the ports tree and compare to the
DISTFILES and PATCHFILES variables.

Some existing tools like portsclean -d do this (for purposes of
identifying stale distfiles for removal) but don't record the
information.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20061128/d53e4eee/attachment.pgp


More information about the freebsd-ports mailing list