From owner-freebsd-questions Fri Feb 1 12:20:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.tninet.se (sheridan.tninet.se [195.100.94.102]) by hub.freebsd.org (Postfix) with ESMTP id 7C77537B417 for ; Fri, 1 Feb 2002 12:20:24 -0800 (PST) Received: from there (bb-62-5-36-29.bb.tninet.se [62.5.36.29]) by sheridan.tninet.se (BMR ErlangTM/OTP 3.0) with ESMTP id 203150.594820.1012.0s5963105sheridan ; Fri, 01 Feb 2002 21:20:20 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Mark Rowlands To: "Joe & Fhe Barbish" Subject: Re: Change default ftp site for pkg_add Date: Fri, 1 Feb 2002 21:20:35 +0100 X-Mailer: KMail [version 1.3.2] Cc: "FBSD" References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020201202024.7C77537B417@hub.freebsd.org> 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 On Friday 01 February 2002 3:27 am, Joe & Fhe Barbish wrote: > 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). On Friday 01 February 2002 3:27 am, Joe & Fhe Barbish wrote: > 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? man environ man env -- A king's castle is his home. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message