From owner-freebsd-questions@FreeBSD.ORG Tue Mar 9 15:41:53 2004 Return-Path: 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 39D8316A4CE for ; Tue, 9 Mar 2004 15:41:53 -0800 (PST) Received: from relay03.roc.ny.frontiernet.net (relay03.roc.ny.frontiernet.net [66.133.131.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB74343D3F for ; Tue, 9 Mar 2004 15:41:52 -0800 (PST) (envelope-from drew@mykitchentable.net) Received: (qmail 25681 invoked from network); 9 Mar 2004 23:41:51 -0000 Received: from unknown (HELO blacklamb.mykitchentable.net) ([67.51.117.104]) (envelope-sender ) by relay03.roc.ny.frontiernet.net (FrontierMTA 2.3.7a) with SMTP for ; 9 Mar 2004 23:41:51 -0000 Received: from mykitchentable.net (unknown [165.107.42.177]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTP id A2EEB3BF4A0; Tue, 9 Mar 2004 15:41:50 -0800 (PST) Message-ID: <404E5640.9030808@mykitchentable.net> Date: Tue, 09 Mar 2004 15:41:52 -0800 From: Drew Tomlinson User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <404DEE2F.3080909@mykitchentable.net> <20040309212939.GA73681@xor.obsecurity.org> In-Reply-To: <20040309212939.GA73681@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Questions Subject: Re: How To Set PKG_PATH? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 23:41:53 -0000 Kris Kennaway told a big fish story including the following on 3/9/2004 1:29 PM: >On Tue, Mar 09, 2004 at 08:17:51AM -0800, Drew Tomlinson wrote: > > >>Sorry if this has been covered before but I have not been able to find >>the answer. Where do I set PKG_PATH so portupgrade will install >>packages from a local drive instead of attempting to 'fetch'? I tried >>adding 'PKG_PATH=/usr/ports/packages' to /etc/make.conf but that doesn't >>work. Portupgrade still tries to 'fetch'? >> >> > >It's an environment variable, set it in your environment :-) Typically >this is done in a script read by your shell at login time: ~/.cshrc or >~/.tcshrc for csh or tcsh, ~/.profile for sh. > > Thanks for your reply. I added 'set env PKG_PATH=/usr/ports/packages' to /root/.cshrc. However when this didn't change anything, I double-checked the contents of /usr/ports/packages and found the package was not there and that's why portupgrade is trying to fetch. Dumb mistake on my part. :-) I'm still learning how all of this fits together and am trying to get away from keeping a ports tree on each machine. It's turning out to be more difficult than I expected. Thanks, Drew