Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2013 23:35:37 -0500
From:      CyberLeo Kitsana <cyberleo@cyberleo.net>
To:        mexas@bris.ac.uk
Cc:        kpaasial@gmail.com, freebsd-ports@freebsd.org
Subject:   Re: Explain staging
Message-ID:  <52538B99.1030803@cyberleo.net>
In-Reply-To: <201310070937.r979bY2e043286@mech-cluster241.men.bris.ac.uk>
References:  <201310070937.r979bY2e043286@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/07/2013 04:37 AM, Anton Shterenlikht wrote:
<snip>
> sure, I can do /tmp/distfiles too.
> But that doesn't help with all the other failing targets.
> Then I might as well "chown -R user:group /usr/ports"
> and update the ports tree as an unprivileged user too.
> HOwever, security would suffer, I think.
> And, anyway, this would be a major change.
> If this were the case, it should be much
> better documented, I think.

>From my /etc/make.conf:

----8<----
# Read-only ports tree
DISTDIR=/var/ports/distfiles
PACKAGES=/var/ports/packages
WRKDIRPREFIX=/usr/obj
----8<----

Solves this problem quite nicely.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo@CyberLeo.Net>

Furry Peace! - http://www.fur.com/peace/



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