Date: Thu, 1 Jul 2004 18:37:12 -0600 From: Robin Schoonover <end@endif.cjb.net> To: Oliver Eikemeier <eikemeier@fillmore-labs.com> Cc: freebsd-ports@freebsd.org Subject: Re: where to install data? (boinc) Message-ID: <20040702003851.9C9D043D2F@mx1.FreeBSD.org> In-Reply-To: <005485B1-CB30-11D8-9FE1-00039312D914@fillmore-labs.com> References: <20040701045011.GB19108@Odin.AC.HMC.Edu> <005485B1-CB30-11D8-9FE1-00039312D914@fillmore-labs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 1 Jul 2004 09:26:43 +0200, Oliver Eikemeier wrote: > > Are you talking about *data files* or the program here? Normally hier(7) > should answer most of you questions, and during installation time you > should only put files into ${PREFIX}/.., which should have it's default > value. boinc is strict on where the program files go. I can make the -boinc- binaries go into their normal places, however seti_boinc's binaries (which is a separate port) -CANNOT- go anywhere else -but- with the boinc data. In fact, as far as boinc is concerned, the seti_boinc binaries -are- data, and on some platforms where the boinc/seti people have binaries, they will auto-update themselves. > > Nope, your port installs into ${PREFIX}/.., so put it into > ${PREFIX}/etc/rc.d > > >> All the other boinc data lives in /var/db/boinc (so setiathome, or > >> seti_boinc as I should probably call it, gets installed to > >> /var/db/boinc/projects/setiathome.berkeley.edu). > > Hmmm... that may be a misunderstanding on my side, but you shouldn't > *install* stuff there. The port can keep it's (generated) data in this > location, though. Either I forget using /var/db entirely, or I install stuff there. One or the other. Here is how it gets difficult: setiathome -must- install itself to the boinc datadir, and setiathome isn't the only port that'll use boinc. So, if I'm going to abandon sticking stuff on install into /var/db, I must abandon sticking stuff there entirely. (Ok. I'm not entirely truthful with the above. I could install everything under the normal ${PREFIX} and use scripts and magic pixie dust to make data work under /var/db, but I'd rather not complicate it) So anyhow, I guess everything gets to go into the default ${PREFIX}. This -does- simplify the issue I was having with the rc.d script on one part of the system and the rest. I hope that made sense. -- Robin Schoonover (aka End) # Cogito cogito ergo cogito sum -- # "I think that I think, therefore I think that I am." # -- Ambrose Bierce, "The Devil's Dictionary"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040702003851.9C9D043D2F>