From owner-freebsd-questions@FreeBSD.ORG Wed May 3 14:45:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6407816A40B for ; Wed, 3 May 2006 14:45:01 +0000 (UTC) (envelope-from yuanjue02@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id E18C543D49 for ; Wed, 3 May 2006 14:44:59 +0000 (GMT) (envelope-from yuanjue02@gmail.com) Received: by nz-out-0102.google.com with SMTP id 9so194473nzo for ; Wed, 03 May 2006 07:44:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:organization:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:from; b=sJ4Rt8/x9FyauE3afbWPqyJaYf3IWArWuJLF9jkplhCwITwO1ALkOv+D36h87+8cznY4q8DEjUrG7YZ2XHTiCXMi1IotoZBM72gkK4D3DRQjC4oyUchPlsGJglZQXxKAKpctqySweIDjyRw4t8ZJ9jPOBGJnrNJIoQxS1DsoXrI= Received: by 10.36.251.25 with SMTP id y25mr903553nzh; Wed, 03 May 2006 07:44:59 -0700 (PDT) Received: from yuanjue.net ( [59.66.138.109]) by mx.gmail.com with ESMTP id 39sm1241952nzk.2006.05.03.07.44.57; Wed, 03 May 2006 07:44:58 -0700 (PDT) Organization: Tsinghua UNIV. To: freebsd-questions@freebsd.org Date: Wed, 3 May 2006 22:48:10 +0800 User-Agent: KMail/1.9.1 References: <200603070934.02881.yuanjue02@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605032248.11121.yuanjue@yuanjue.net> From: "Yuan, Jue" Cc: "illoai@gmail.com" Subject: Re: portsnap cannot change its default WORKDIR ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 14:45:01 -0000 On Tuesday 07 March 2006 15:17, illoai@gmail.com wrote: > -On 3/6/06, Yuan Jue wrote: > > Hi, all > > > > I am now using portsnap in FreeBSD 6.0 to upgrade ports tree. It is > > really much faster than CVSUp. But there is one question that bother me: > > I cannot change the WORKDIR that portsnap use. > > > > I have change WORKDIR in /etc/portsnap.conf to /usr/local/portsnap, but > > when using 'portsnap fetch', the download files still store > > in /var/db/portsnap. > > > > Any suggestions about this? Thanks in advance! > > > > My /etc/portsnap.conf is as follows: > > > > # $FreeBSD: src/etc/portsnap.conf,v 1.1.2.1 2005/08/15 20:24:07 cperciva > > Exp $ > > > > # Default directory where compressed snapshots are stored. > > WORKDIR=/usr/local/portsnap > > Well, it's doesn't seem broken here and mine is exactly like yours. > Are you using portsnap from the base distro or from the ports tree? > I was under the impression that portsnap from ports used > /usr/local/etc/portsnap.conf so you may try copying your > /etc/portsnap.conf there and see if that fixes something or any- > thing. > OK. I found the trick finally ;) There is a needless space before 'WORKDIR', which makes portsnap cannot read this line correctly. Now it works fine for me :-) -- Best Regards Yuan, Jue @ www.yuanjue.net