From 763a0a2990b70d8a446e4e43a742a85c861b2c50 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Sat, 29 Jun 2002 20:33:17 +0000 Subject: [PATCH] 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 --- .../books/handbook/ports/chapter.sgml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/ports/chapter.sgml b/en_US.ISO8859-1/books/handbook/ports/chapter.sgml index 0a4452cf62..223f1303a8 100644 --- a/en_US.ISO8859-1/books/handbook/ports/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/ports/chapter.sgml @@ -315,8 +315,14 @@ local: lsof-4.56.4.tgz remote: lsof-4.56.4.tgz pkg_add &prompt.root; pkg_add -r lsof-4.56.4 - The example above would download the correct package and add it without - any further user intervention. + 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 FTP_PASSIVE_MODE, + FTP_PROXY, and FTP_PASSWORD. 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. Package files are distributed in .tgz format. You can find them at As you can see, the only difference is the line that tells you where the system is fetching the port from. - 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. + The ports system uses &man.fetch.1; to download the files, + which honours various environment variables, including + FTP_PASSIVE_MODE, FTP_PROXY, + and FTP_PASSWORD. 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.