From owner-freebsd-questions Thu Jan 31 18:27:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.mango-bay.com (mail.mango-bay.com [208.206.15.12]) by hub.freebsd.org (Postfix) with ESMTP id E208C37B405 for ; Thu, 31 Jan 2002 18:27:35 -0800 (PST) Received: from barbish ([63.70.155.104]) by mail.mango-bay.com (Post.Office MTA v3.5.3 release 223 ID# 0-52377U2500L250S0V35) with SMTP id com; Thu, 31 Jan 2002 21:31:10 -0500 From: "Joe & Fhe Barbish" To: "Dan Nelson" Cc: "FBSD" Subject: RE: Change default ftp site for pkg_add Date: Thu, 31 Jan 2002 21:27:33 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20020131231705.GC39396@dan.emsphone.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal 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 I see the man page on my pc is really different than what is on the FBSD.org web site. So the web site man page talks about the environment variable PACKAGEROOT but as usual it does not say anything about where or how to set this environment variable. How do I set this environment variable? -----Original Message----- From: Dan Nelson [mailto:dnelson@allantgroup.com] Sent: Thursday, January 31, 2002 6:17 PM To: Joe & Fhe Barbish Cc: FBSD Subject: Re: Change default ftp site for pkg_add 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