Date: Wed, 30 Jun 2004 21:50:11 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Robin Schoonover <end@endif.cjb.net> Cc: freebsd-ports@freebsd.org Subject: Re: where to install data? (boinc) Message-ID: <20040701045011.GB19108@Odin.AC.HMC.Edu> In-Reply-To: <20040701042730.647FE43D4C@mx1.FreeBSD.org> References: <20040701042730.647FE43D4C@mx1.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--dc+cDN39EJAMEtIO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 30, 2004 at 10:27:13PM -0600, Robin Schoonover wrote: > I need some advice involving installation locations... >=20 > 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. >=20 > 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). >=20 > 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). >=20 > 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 --=20 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 --dc+cDN39EJAMEtIO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFA45f5XY6L6fI4GtQRAqx6AKCkqg6/LbaN6srxkmIwW0hT3nfyBgCdEIEw zKt96B0WCIQJMZEf5qRQ4tI= =pnYz -----END PGP SIGNATURE----- --dc+cDN39EJAMEtIO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040701045011.GB19108>