Date: Thu, 31 Jan 2002 17:17:05 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Joe & Fhe Barbish <barbish@a1poweruser.com> Cc: FBSD <freebsd-questions@FreeBSD.ORG> Subject: Re: Change default ftp site for pkg_add Message-ID: <20020131231705.GC39396@dan.emsphone.com> In-Reply-To: <LPBBIGIAAKKEOEJOLEGOEEDICGAA.barbish@a1poweruser.com> References: <20020131225343.GB39396@dan.emsphone.com> <LPBBIGIAAKKEOEJOLEGOEEDICGAA.barbish@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020131231705.GC39396>