From owner-freebsd-ports@FreeBSD.ORG Tue Nov 28 05:05:55 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B9E0F16A492 for ; Tue, 28 Nov 2006 05:05:55 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.FreeBSD.org (Postfix) with SMTP id AC9C444973 for ; Mon, 27 Nov 2006 23:11:40 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 20371 invoked by uid 399); 27 Nov 2006 23:12:42 -0000 Received: from localhost (HELO ?192.168.0.7?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 27 Nov 2006 23:12:42 -0000 Message-ID: <456B70E9.4030408@FreeBSD.org> Date: Mon, 27 Nov 2006 15:12:41 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.8 (X11/20061125) MIME-Version: 1.0 To: Robert Huff References: <17771.24717.95357.989644@jerusalem.litteratus.org> In-Reply-To: <17771.24717.95357.989644@jerusalem.litteratus.org> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: distfile belongs to? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Nov 2006 05:05:55 -0000 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