where to install data? (boinc)

Brooks Davis brooks at one-eyed-alien.net
Wed Jun 30 21:50:20 PDT 2004

On Wed, Jun 30, 2004 at 10:27:13PM -0600, Robin Schoonover wrote:
> I need some advice involving installation locations...
> I've pretty much have boinc ported over, but I want to make sure I'm doing
> the right thing with the default installation location.
> Currently I have boinc installed into /var/db/boinc to be consistant with
> where setiathome puts its data files (I think I can see the reasoning on
> why /var would be a good place). If you tweak PREFIX you can have boinc be
> installed somewhere else. Also, there is an rcNG script I have written,
> which by default gets installed into ${LOCALBASE}/etc/rc.d/ (also
> tweakable).
> 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).
> Should I continue to have it install to the /var partition, or not mess
> with PREFIX and have the default be ${LOCALBASE}?

I believe this is the correct thing to do.  You should create the
directory in the pkg-install script and then, if it is empty, delete it
on uninstall (you need to use an @unexec statement).

-- Brooks

Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040630/457db6a1/attachment.bin

More information about the freebsd-ports mailing list