From owner-freebsd-ports Sat Sep 28 4:54:36 2002 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 EA91837B401 for ; Sat, 28 Sep 2002 04:54:34 -0700 (PDT) Received: from infinitive.futureperfectcorporation.com (infinitive.futureperfectcorporation.com [196.25.137.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0147243E3B for ; Sat, 28 Sep 2002 04:54:30 -0700 (PDT) (envelope-from nbm@gerund.futureperfectcorporation.com) Received: (qmail 80176 invoked by uid 0); 28 Sep 2002 11:54:14 -0000 Received: from gerund.futureperfectcorporation.com (196.25.137.65) by infinitive.futureperfectcorporation.com with DES-CBC3-SHA encrypted SMTP; 28 Sep 2002 11:54:14 -0000 Received: (qmail 31289 invoked by uid 1001); 28 Sep 2002 11:56:26 -0000 Date: Sat, 28 Sep 2002 13:56:26 +0200 From: Neil Blakey-Milner To: Kris Kennaway Cc: "Gary W. Swearingen" , freebsd-ports@freebsd.org Subject: Re: Installing ports as non-root user. Message-ID: <20020928115626.GA31114@mithrandr.moria.org> References: <20020928024604.GD66227@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020928024604.GD66227@xor.obsecurity.org> User-Agent: Mutt/1.3.27i Organization: iTouch Technology and Architectural Services X-Operating-System: FreeBSD 4.3-RELEASE i386 X-URL: http://mithrandr.moria.org/nbm/ 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 Fri 2002-09-27 (19:46), Kris Kennaway wrote: > On Thu, Sep 26, 2002 at 09:41:46AM -0700, Gary W. Swearingen wrote: > > > Main Question: Is the ports system designed to make it possible to install > > (all?) ports without being "root"? Now, obviously, there are ports > > which one will eventually WANT to run as root or even install as root, > > but should I be ABLE to do it as non-root? > > It hasn't been a design goal in the past. It would probably be nice > to support it, but it's a lot of work. > > You can _build_ many ports as non-root, but installing tends to > hard-wire arguments to install(1) that are root-only. I build most ports I'm porting or upgrading and testing with ports/Tools/scripts/mkptools/mkpinstall as non-root. Just copy the BINOWN and BINGRP stuff from there, and it should work for most ports. (mkpinstall installs ports into a temporary root and auto-generates pkg-plists and tests PREFIX/LOCALBASE cleanliness and so forth) Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message