Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2001 21:45:40 -0600
From:      "Mike Meyer" <mwm-dated-1008733540.e572fc@mired.org>
To:        dochawk@psu.edu
Cc:        questions@freebsd.org
Subject:   Re: master +CONTENTS list? 
Message-ID:  <15385.30180.381187.488346@guru.mired.org>
In-Reply-To: <92598227@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
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

	<mike
--
Mike Meyer <mwm@mired.org>			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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15385.30180.381187.488346>