From owner-freebsd-newbies@FreeBSD.ORG Sun Feb 8 05:15:51 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 421C216A4CE for ; Sun, 8 Feb 2004 05:15:51 -0800 (PST) Received: from nhugin.diku.dk (nhugin.diku.dk [130.225.96.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1473243D1D for ; Sun, 8 Feb 2004 05:15:51 -0800 (PST) (envelope-from debois@diku.dk) Received: by nhugin.diku.dk (Postfix, from userid 754) id DE62A6DF8EA; Sun, 8 Feb 2004 14:15:36 +0100 (CET) Received: from tyr.diku.dk (tyr.diku.dk [130.225.96.226]) by nhugin.diku.dk (Postfix) with QMQP id AEBA46DF8F3 for ; Sun, 8 Feb 2004 14:15:36 +0100 (CET) Date: Sun, 8 Feb 2004 14:15:48 +0100 From: =?iso-8859-1?Q?S=F8ren?= Debois To: freebsd-newbies@freebsd.org Message-ID: <20040208131548.GA23540@diku.dk> Mail-Followup-To: freebsd-newbies@freebsd.org References: <20040206194820.GA19386@diku.dk> <2220.192.168.0.85.1076105958.squirrel@phoenix.sd73.bc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2220.192.168.0.85.1076105958.squirrel@phoenix.sd73.bc.ca> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on nhugin.diku.dk X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 Subject: Re: Finding ports X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2004 13:15:51 -0000 On Fri, Feb 06, 2004 at 02:19:17PM -0800, Freddie Cash wrote: > > Is there some easy way to find all ports which install some given > > file? > > E.g., find all ports which installs /usr/bin/pkgrep. > > man pkg_info > You can use pkg_info to do a lot of different things. It's quite the > handy tool. Sorry, I am being unclear. Example: my system currently does not contain a file /usr/local/bin/fetchmail I'd like to find all currently not-installed ports, which *would* install the above file? P.S. I am aware of the mail/fetchmail port; this is just an example. -- --- Debois