From owner-freebsd-ports@FreeBSD.ORG Fri Jul 2 00:39:08 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D409916A4CE for ; Fri, 2 Jul 2004 00:39:08 +0000 (GMT) Received: from endif.cjb.net (65-101-231-77.dnvr.qwest.net [65.101.231.77]) by mx1.FreeBSD.org (Postfix) with SMTP id 9C9D043D2F for ; Fri, 2 Jul 2004 00:38:51 +0000 (GMT) (envelope-from end@endif.cjb.net) Received: (qmail 51860 invoked by uid 0); 2 Jul 2004 00:37:15 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 2 Jul 2004 00:37:15 -0000 Date: Thu, 1 Jul 2004 18:37:12 -0600 From: Robin Schoonover To: Oliver Eikemeier 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> X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20040702003851.9C9D043D2F@mx1.FreeBSD.org> cc: Brooks Davis cc: freebsd-ports@freebsd.org Subject: Re: where to install data? (boinc) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2004 00:39:08 -0000 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"