Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2006 15:12:41 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        ports@freebsd.org
Subject:   Re: distfile belongs to?
Message-ID:  <456B70E9.4030408@FreeBSD.org>
In-Reply-To: <17771.24717.95357.989644@jerusalem.litteratus.org>
References:  <17771.24717.95357.989644@jerusalem.litteratus.org>

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




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