Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2002 11:52:29 -0500
From:      Alan Eldridge <alane@geeksrus.net>
To:        Ken Stailey <kstailey@surfbest.net>
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>
In-Reply-To: <3C6E644B.3080102@surfbest.net>
References:  <20020216034549.GA51544@wwweasel.geeksrus.net> <200202160623.JAA27217@aaz.links.ru> <20020216070656.GA87963@wwweasel.geeksrus.net> <3C6E644B.3080102@surfbest.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ade@FreeBSD.org> -----
>>>>On 02/15/02 21:21, "Alan Eldridge" <alane@geeksrus.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020216165229.GA33399>