Explain that the ports system (and pkg_add -r) use fetch/libfetch to

do their dirty work, and that the fetch(3) man page should be consulted
to see which environment variables can be set for things like HTTP
proxies.

PR:		docs/39796
Submitted by:	Jonathan Laventhol <jonathan-dot-laventhol@imagination.com>
This commit is contained in:
Nik Clayton 2002-06-29 20:33:17 +00:00
parent 9bc2bb82e3
commit 763a0a2990
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=13513

View file

@ -315,8 +315,14 @@ local: lsof-4.56.4.tgz remote: lsof-4.56.4.tgz
<primary><command>pkg_add</command></primary></indexterm>
<screen>&prompt.root; <userinput>pkg_add -r <replaceable>lsof-4.56.4</replaceable></userinput></screen>
<para>The example above would download the correct package and add it without
any further user intervention.</para>
<para>The example above would download the correct package and add
it without any further user intervention. &man.pkg.add.1; uses
&man.fetch.3; to download the files, which honours various
environment variables, including <envar>FTP_PASSIVE_MODE</envar>,
<envar>FTP_PROXY</envar>, and <envar>FTP_PASSWORD</envar>. You
may need to set one or more of these if you are behind a firewall,
or need to use an FTP/HTTP proxy. See &man.fetch.3; for the
complete list.</para></para>
<para>Package files are distributed in .tgz format. You can
find them at <ulink
@ -848,9 +854,12 @@ Receiving lsof_4.57D.freebsd.tar.gz (439860 bytes): 100%
<para>As you can see, the only difference is the line that tells
you where the system is fetching the port from.</para>
<para>That about does it for installing ports onto your
system. In the next section you will learn how to remove a
port from your system.</para>
<para>The ports system uses &man.fetch.1; to download the files,
which honours various environment variables, including
<envar>FTP_PASSIVE_MODE</envar>, <envar>FTP_PROXY</envar>,
and <envar>FTP_PASSWORD</envar>. You may need to set one or more
of these if you are behind a firewall, or need to use an FTP/HTTP
proxy. See &man.fetch.3; for the complete list.</para>
</sect3>
</sect2>