From owner-freebsd-arch@FreeBSD.ORG Tue Jun 26 10:54:27 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 291291065677 for ; Tue, 26 Jun 2012 10:54:27 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id DE4228FC16 for ; Tue, 26 Jun 2012 10:54:26 +0000 (UTC) Received: from ds4.des.no (smtp.des.no [194.63.250.102]) by smtp.des.no (Postfix) with ESMTP id D15AE6E23; Tue, 26 Jun 2012 10:54:25 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 6F9E78C2D; Tue, 26 Jun 2012 12:54:25 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Simon Gerraty References: <20120626063017.D05DA58081@chaos.jnpr.net> Date: Tue, 26 Jun 2012 12:54:24 +0200 In-Reply-To: <20120626063017.D05DA58081@chaos.jnpr.net> (Simon Gerraty's message of "Mon, 25 Jun 2012 23:30:17 -0700") Message-ID: <86wr2uwdgf.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-arch@freebsd.org Subject: Re: Allow user install X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2012 10:54:27 -0000 Simon Gerraty writes: > The patch below is a step towards supporting unprivileged buildworld > etc. Eg. Wow, this is really cool - and long overdue. I've been thinking for a while that some bor^H^H^Henterprising soul should hack install(1) so that if a specific environment variable is set, it writes the file to a tarball instead of writing it to disk. Unfortunately, there would still be a ton of ${LN} etc. that would need to be handled somehow. Perhaps install(1) should have an option to create symlinks so we could use that instead of ln -s, in the interest of reducing the number of different tools used during installation. (BTW, I find INSTALL_OWN confusing - how about UNPRIVILEGED_INSTALL or USER_INSTALL?) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no