From owner-freebsd-ports Sat Feb 16 8:54:34 2002 Delivered-To: freebsd-ports@freebsd.org Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.8.210.226]) by hub.freebsd.org (Postfix) with ESMTP id D38B337B400 for ; Sat, 16 Feb 2002 08:54:28 -0800 (PST) Received: (from alane@localhost) by wwweasel.geeksrus.net (8.11.6/8.11.6) id g1GGqTs33417; Sat, 16 Feb 2002 11:52:29 -0500 (EST) (envelope-from alane) Date: Sat, 16 Feb 2002 11:52:29 -0500 From: Alan Eldridge To: Ken Stailey Cc: "."@babolo.ru, ports@FreeBSD.ORG, klh@panix.com Subject: Re: [ade@FreeBSD.org: suggests installing in a USER's HOME dir] Message-ID: <20020216165229.GA33399@wwweasel.geeksrus.net> References: <20020216034549.GA51544@wwweasel.geeksrus.net> <200202160623.JAA27217@aaz.links.ru> <20020216070656.GA87963@wwweasel.geeksrus.net> <3C6E644B.3080102@surfbest.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C6E644B.3080102@surfbest.net> User-Agent: Mutt/1.3.26i X-message-flag: Magic 8-Ball says "Outlook not so good." I'll ask it about Exchange next. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Feb 16, 2002 at 08:53:15AM -0500, Ken Stailey wrote: >Alan Eldridge wrote: > >>On Sat, Feb 16, 2002 at 09:23:57AM +0300, "."@babolo.ru wrote: >> >>>Alan Eldridge writes: >>> >>>>----- Forwarded message from Ade Lovett ----- >>>>On 02/15/02 21:21, "Alan Eldridge" wrote: >>>> >>>>>But nobody ever did chime in with an idea of where the best place to put >>>>>a 200-400MB *writable* file, installed by a port, is. And that, of >>>>>course, >>>>>was the whole point in cc'ing portmgr. So, any thoughts on that? >>>>> >>>>Bottom line is, there's just no reliable way to pick a place that will >>>>fit >>>>the requirements of (1) unique to local machine (2) big enough (3) >>>>writable. >>>> >>>I think use of environment variable is good enough. >>>${EMULATOR_SPACE} for example (directory for all emulator's disk images) >>>administrator can set it in login.conf for everybody >>>or for some classes of users, user can set EMULATOR_SPACE for >>>himself, and no user install if script does not detect >>>this variable. >>> >> >>Ken, does it get directories from env as well as .ini file? >> >>If it doesn't, then this would entail some invasive software mods that >>I think are beyond the scope of a port, unless the original author was >>willing to incoroporate them into the base distribution. >> >I don't get this at all. Are you saying that it's OK to tell a user to >modify an env var but not an .ini file? > No, I suggesting that the above suggestion (using an env var) wouldn't be workable unless the code already supported it. I interpreted that suggestion as meaning an env var at RUN time, not port install time. Why don't you PR the beast(s) as you outlined it (below, elided)? Make sure the usr has to set a value for IMAGE_HOME. If it isn't set, fail the port make/install. -- Alan Eldridge "Dave's not here, man." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message