From owner-freebsd-questions Thu Jan 31 15:17:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 8AE0137B404 for ; Thu, 31 Jan 2002 15:17:07 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.6/8.11.6) id g0VNH6R55230; Thu, 31 Jan 2002 17:17:06 -0600 (CST) (envelope-from dan) Date: Thu, 31 Jan 2002 17:17:05 -0600 From: Dan Nelson To: Joe & Fhe Barbish Cc: FBSD Subject: Re: Change default ftp site for pkg_add Message-ID: <20020131231705.GC39396@dan.emsphone.com> References: <20020131225343.GB39396@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jan 31), Joe & Fhe Barbish said: > Dan wrote: > > In the last episode (Jan 31), Joe & Fhe Barbish said: > > > How do I tell pkg_add to use a different default ftp site. > > > > man pkg_add, in the ENVIRONMENT section. > > I do not see anything in man page environment section > that talks about changing the default ftp location. > I read the man page first before posting question and > I have reread it and I still see nothing about ftp location. Please don't top post. From the pkg_add manpage, ENVIRONMENT section: The environment variable PACKAGEROOT specifies an alternate location for pkg_add to fetch from. The fetch URL is built using this environment variable and the automatic directory logic that pkg_add uses when the -r option is invoked. An example setting would be "ftp://ftp3.FreeBSD.org". The environment variable PACKAGESITE specifies an alternate location for pkg_add to fetch from. This variable subverts the automatic directory logic that pkg_add uses when the -r option is invoked. Thus it should be a complete URL to the remote package file(s). -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message