From owner-freebsd-ports@FreeBSD.ORG Mon Jun 16 05:25:37 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EB96106566B for ; Mon, 16 Jun 2008 05:25:37 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id BDB418FC19 for ; Mon, 16 Jun 2008 05:25:36 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id A8B7B1CC060; Sun, 15 Jun 2008 22:25:36 -0700 (PDT) Date: Sun, 15 Jun 2008 22:25:36 -0700 From: Jeremy Chadwick To: Garrett Cooper Message-ID: <20080616052536.GA46776@eos.sc1.parodius.com> References: <18517.39618.243382.192127@jerusalem.litteratus.org> <20080616033511.GA5538@shepherd> <7d6fde3d0806152106rf8339e7l1d25ad397bb18cfb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7d6fde3d0806152106rf8339e7l1d25ad397bb18cfb@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: ports@freebsd.org, Robert Huff , "sahil@tandon.net" Subject: Re: checking against plist 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: Mon, 16 Jun 2008 05:25:37 -0000 On Sun, Jun 15, 2008 at 09:06:36PM -0700, Garrett Cooper wrote: > On Sun, Jun 15, 2008 at 8:35 PM, Sahil Tandon wrote: > > Robert Huff wrote: > > > >> Once a port is installed, is there any of using the plist (or > >> aother mechanism) to check whether the files ar still there? > >> (After, say, a system crash.) > > > > You are missing a few words up there, so hard to understand your exact > > problem/question. You can simply list the contents of the plist and check > > whether those files still exist following a crash. > > > > -- > > Sahil Tandon > > pkg_info -g (at least that's what it should be IMHO)? > > If this doesn't exist, let me know and I'll see about adding that > feature to pkg_info... pkg_info -g should work. What the OP wants is more or less this: for i in `pkg_info -Ea`; do pkg_info -g $i; done -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |