From owner-freebsd-questions Thu Dec 13 19:45:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-201-166.mmcable.com [65.31.201.166]) by hub.freebsd.org (Postfix) with SMTP id 6B47E37B419 for ; Thu, 13 Dec 2001 19:45:42 -0800 (PST) Received: (qmail 84047 invoked by uid 100); 14 Dec 2001 03:45:40 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15385.30180.381187.488346@guru.mired.org> Date: Thu, 13 Dec 2001 21:45:40 -0600 To: dochawk@psu.edu Cc: questions@freebsd.org Subject: Re: master +CONTENTS list? In-Reply-To: <92598227@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA v0.42/Python 2.1.1 (freebsd4) From: "Mike Meyer" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dochawk@psu.edu types: > gary gave > > > dochawk@psu.edu writes: > > > > yes, but it depends upon the package being installed, doesn't it? I'm > > > concerned about the situation in which, by disaster or otherwise, I > > > need to find which package it *should* belong to so that I can force a > > > reinstallation. > > > Whoops. I'll try again: > > > find /usr/ports -name pkg-plist | xargs grep something > > > I'm not sure this is quite the same thing as greping +CONTENTS, but it > > should good enough, usually. > > ah-hah! that does it. I had thought for some reason that plists only > included pre-build files, not what *would* be install. > > Of course, the port i went to ckeck this on, kde2, has > "@comment this plist intentionally left empty" . . . I believe it. Doesn't kde2 may well just install a bunch of other things? One thing to watch for is that sometimes ports create plists "on the fly". You can catch a lot of that with: find /usr/ports -name '*plist*' | xargs grep name http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message