Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 11:05:02 -0700 (PDT)
From:      Jonathan Laventhol <jonathan-dot-laventhol@imagination.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/39796: Making ports fails behind ftp proxy without setenv
Message-ID:  <200206241805.g5OI52ia001183@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         39796
>Category:       docs
>Synopsis:       Making ports fails behind ftp proxy without setenv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 24 11:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Laventhol
>Release:        4.5-RELEASE
>Organization:
Imagination Ltd
>Environment:
>Description:
The ports process (often) gets distfiles by ftp using fetch(1),
which, if you have an ftp proxy, requires you to set the environment
variable FTP_PROXY.  The documentation needs to say so.

>How-To-Repeat:
On a system with no direct connection to the internet but with
an ftp proxy, use /stand/sysinstall to install the ports collection.
Then cd /usr/ports/astro/jday ; make
Problem manifests as 'Attempting to fetch from ...', (15 seconds timeout)
then 'fetch: jday-1.2.tar.gz: No route to host'
>Fix:
Add a paragraph to the manual at
http://www.freebsd.org/handbook/ports-using.html#PORTS-INET

"The ports mechanism uses fetch(1) which can use web and FTP proxies
if you set appropriate environment variables, as documented in fetch(3).
For example using root's default csh(1), you do
  setenv FTP_PROXY ftp://myproxy.mycompany.co.uk"

NB: If you're not using csh environment variables are set differently.
If you don't have fetch(1) then the Makefile uses ftp(1) which uses
different environment variables.  This is probably a subject for
the page http://www.freebsd.org/handbook/ports-trouble.html
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206241805.g5OI52ia001183>