distfile belongs to?

Doug Barton dougb at FreeBSD.org
Mon Nov 27 21:05:55 PST 2006


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.

The correct answer is, "not easily." You can look at the code for
sysutils/portmaster to get an idea of how you could do it, but what
really needs to happen is for someone to write the code to embed that
data in the +CONTENTS file.

hth,

Doug ("Not I" said the fly ...)

-- 

    This .signature sanitized for your protection



More information about the freebsd-ports mailing list