From owner-freebsd-ports@FreeBSD.ORG Fri Nov 18 21:54:00 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36AA016A41F for ; Fri, 18 Nov 2005 21:54:00 +0000 (GMT) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id F046D43D6B for ; Fri, 18 Nov 2005 21:53:59 +0000 (GMT) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id 2744030EA; Fri, 18 Nov 2005 15:53:59 -0600 (CST) Date: Fri, 18 Nov 2005 15:53:59 -0600 To: Vasil Dimov Message-ID: <20051118215359.GA31538@soaustin.net> References: <20051118162020.GA1187@qlovarnika.bg.datamax> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051118162020.GA1187@qlovarnika.bg.datamax> User-Agent: Mutt/1.5.9i From: linimon@lonesome.com (Mark Linimon) Cc: freebsd-ports@freebsd.org Subject: Re: which port would install bin/foo 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: Fri, 18 Nov 2005 21:54:00 -0000 On Fri, Nov 18, 2005 at 06:20:20PM +0200, Vasil Dimov wrote: > Is there any way to tell which port(s) would install some file, say > bin/resize? You cannot depend on pkg-plist existing, so you would have to both do the grep, and also do make -V PLIST_FILES on every port Makefile. So the quick answer is, there is no easy way to do this. There had been talk at one point about someone building up a database from the output of tinderbox runs but I think that's still theoretical at this point. mcl