From: Scott Rifenbark Date: Fri, 1 Apr 2016 18:15:28 +0000 (-0700) Subject: ref-manual: Updated verbiage on proxy handling X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=763ae4e191e09c60dd35faf569f56781515273ba;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git ref-manual: Updated verbiage on proxy handling Fixes [YOCTO #9313] Update the DL_DIR variable description to add a cross-reference to the wiki page that talks about working behind a firewall. Updated the 14.12 FAQ entry with new information about working behind the firewall. (From yocto-docs rev: 056e6881951023e62a7363ba60fe73cd6d2932b6) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- diff --git a/documentation/ref-manual/faq.xml b/documentation/ref-manual/faq.xml index 3137639d9a2..d2e4e8eb1b9 100644 --- a/documentation/ref-manual/faq.xml +++ b/documentation/ref-manual/faq.xml @@ -280,7 +280,7 @@ - + I'm behind a firewall and need to use a proxy server. How do I do that? @@ -288,24 +288,34 @@ Most source fetching by the OpenEmbedded build system is done by wget and you therefore need to specify - the proxy settings in a .wgetrc file - in your home directory. - Following are some example settings for different proxy types: + the proxy settings in a .wgetrc file, + which can be in your home directory if you are a single user + or can be in /usr/local/etc/wgetrc as + a global user file. + + + + Following is the applicable code for setting various proxy + types in the .wgetrc file. + By default, these settings are disabled with comments. + To use them, remove the comments: - Http/FTP proxy: - https_proxy = http://proxy.yoyodyne.com:18023/ - http_proxy = http://proxy.yoyodyne.com:18023/ - ftp_proxy = http://proxy.yoyodyne.com:18023/ - - socks proxy: - export SOCKS_SERVER=`server:port` - unset http_proxy - unset https_proxy - unset ftp_proxy + # You can set the default proxies for Wget to use for http, https, and ftp. + # They will override the value in the environment. + #https_proxy = http://proxy.yoyodyne.com:18023/ + #http_proxy = http://proxy.yoyodyne.com:18023/ + #ftp_proxy = http://proxy.yoyodyne.com:18023/ + + # If you do not want to use proxy at all, set this to off. + #use_proxy = on The Yocto Project also includes a - site.conf.sample file that shows how to - configure CVS and Git proxy servers if needed. + meta-poky/conf/site.conf.sample file that + shows how to configure CVS and Git proxy servers if needed. + For more information on setting up various proxy types and + configuring proxy servers, see the + "Working Behind a Network Proxy" + Wiki page. diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 45015a40960..fa652e57a13 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -3415,6 +3415,9 @@ see this specific question in the "FAQ" chapter. + You can also refer to the + "Working Behind a Network Proxy" + Wiki page.