Introduce PACKAGESITE envar and explain

how to set an alternative packagesite.

Approved by:    simon(mentor)
PR:             docs/54678
Submitted by:   josef
This commit is contained in:
Josef El-Rayes 2004-01-18 21:14:59 +00:00
parent 7dc593972a
commit dd34f13dc9
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=19728

View file

@ -330,7 +330,11 @@ local: lsof-4.56.4.tgz remote: lsof-4.56.4.tgz
<screen>&prompt.root; <userinput>pkg_add -r <replaceable>lsof</replaceable></userinput></screen>
<para>The example above would download the correct package and
add it without any further user intervention. &man.pkg.add.1;
add it without any further user intervention.
If you want to specify an alternative &os; Packages Mirror,
instead of the main distribution site, you have to set
<envar>PACKAGESITE</envar> accordingly, to
override the default settings. &man.pkg.add.1;
uses &man.fetch.3; to download the files, which honors various
environment variables, including
<envar>FTP_PASSIVE_MODE</envar>, <envar>FTP_PROXY</envar>, and