Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2013 15:19:55 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        Paul Schmehl <pschmehl_lists@tx.rr.com>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: NEED_ROOT
Message-ID:  <CAOjFWZ6fTbDfs21O0ymnuxywYVVy%2Bw0TzD1i8pHWW9OY2S5wrw@mail.gmail.com>
In-Reply-To: <3D9FA771C2C9D44964566658@localhost>
References:  <3D9FA771C2C9D44964566658@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 4, 2013 at 2:45 PM, Paul Schmehl <pschmehl_lists@tx.rr.com>wrot=
e:

> From my reading it appears that one of the goals of STAGE is to allow
>> users
>>
> to build and install ports under their UID.  Are the perms in /usr/ports
> changing?
>

=E2=80=8BYou've always been able to build ports as non-root, so long as you=
 set
WRKDIRPREFIX and DISTDIR to something you can write to.

You've never been able to install ports as non-root.

What the STAGE support stuff does is allow you to build _packages_ as
non-root.

Previously, to build a package, you first had to install the port (as
root), then build the package (as non-root), then uninstall the port (as
root).

Now, you build the port (as non-root), install into the staging directory
(as non-root), and make the package based on that (as non-root).

=E2=80=8BIOW, root is only needed to install the package onto the destinati=
on
system.=E2=80=8B  It's not needed on the build system.


--=20
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ6fTbDfs21O0ymnuxywYVVy%2Bw0TzD1i8pHWW9OY2S5wrw>