Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2002 21:20:35 +0100
From:      Mark Rowlands <fuc952d@tninet.se>
To:        "Joe & Fhe Barbish" <barbish@a1poweruser.com>
Cc:        "FBSD" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Change default ftp site for pkg_add
Message-ID:  <20020201202024.7C77537B417@hub.freebsd.org>
In-Reply-To: <LPBBIGIAAKKEOEJOLEGOMEDNCGAA.barbish@a1poweruser.com>
References:  <LPBBIGIAAKKEOEJOLEGOMEDNCGAA.barbish@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020201202024.7C77537B417>