Date: Tue, 23 Apr 2013 17:50:49 -0700 From: perryh@pluto.rain.com (Perry Hutchison) To: crees@FreeBSD.org Cc: peter@rulingia.com, freebsd-ports@FreeBSD.org Subject: Re: non-destructive ports/packages update Message-ID: <51772c69.ySidLNLgFJSsENep%perryh@pluto.rain.com> In-Reply-To: <CADLo838bkLd5FNLmSJduG2NvMDq-RKhErCM8N_8xzdWGNdGTfA@mail.gmail.com> References: <517236fe.7AoqFIleDJvljza6%perryh@pluto.rain.com> <51723A51.20401@delphij.net> <51733ad5.jgrImeJZdbQoq4dt%perryh@pluto.rain.com> <20130423194116.GB23673@server.rulingia.com> <CADLo838bkLd5FNLmSJduG2NvMDq-RKhErCM8N_8xzdWGNdGTfA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Chris Rees <crees@FreeBSD.org> wrote: > On 23 April 2013 20:41, Peter Jeremy <peter@rulingia.com> wrote: > > On 2013-Apr-20 18:03:17 -0700, Perry Hutchison <perryh@pluto.rain.com> wrote: > >>The question is, what (if anything) else -- besides /usr/ports, > >>/usr/local, /var/db/ports, and /var/db/pkg -- needs to be checkpointed? > > > > If you're running any Linux compatibility packages: /compat/linux > > BOINC packages: /var/db/boinc > > > > Unless you've moved to pkgng, > > $ grep @cwd /var/db/pkg/*/+CONTENTS | grep -v /usr/local > > will give you an overview of what "unusual" locations have been > > installed to. > > Actually grep "^@cw*d", because @cd is an equivalent syntax that is > sometimes used. A further refinement: grep "^@cw*d ." /var/db/pkg/*/+CONTENTS | egrep -v '/usr/local|:@cwd \.$' The "^@cw*d ." excludes ports (like graphviz) that have an @cwd without an operand. The :@cwd \.$ alternative excludes "." as the operand -- a construct which seems to be fairly common.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51772c69.ySidLNLgFJSsENep%perryh>