From owner-freebsd-ports@FreeBSD.ORG Tue Oct 8 04:45:25 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D8FF737A for ; Tue, 8 Oct 2013 04:45:25 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mail.cyberleo.net (mtumishi.cyberleo.net [216.226.128.201]) by mx1.freebsd.org (Postfix) with ESMTP id B6A4221EF for ; Tue, 8 Oct 2013 04:45:25 +0000 (UTC) Received: from [172.16.44.4] (vitani.den.cyberleo.net [216.80.73.130]) by mail.cyberleo.net (Postfix) with ESMTPSA id D047A7AB7; Tue, 8 Oct 2013 00:35:38 -0400 (EDT) Message-ID: <52538B99.1030803@cyberleo.net> Date: Mon, 07 Oct 2013 23:35:37 -0500 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130908 Thunderbird/17.0.8 MIME-Version: 1.0 To: mexas@bris.ac.uk Subject: Re: Explain staging References: <201310070937.r979bY2e043286@mech-cluster241.men.bris.ac.uk> In-Reply-To: <201310070937.r979bY2e043286@mech-cluster241.men.bris.ac.uk> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kpaasial@gmail.com, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2013 04:45:25 -0000 On 10/07/2013 04:37 AM, Anton Shterenlikht wrote: > 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 Furry Peace! - http://www.fur.com/peace/