From owner-freebsd-doc Mon Jun 24 11:11:29 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 70A2D37B4E1 for ; Mon, 24 Jun 2002 11:10:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5OIA1l84313; Mon, 24 Jun 2002 11:10:01 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 1690737B49D for ; Mon, 24 Jun 2002 11:05:08 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g5OI52hG001184 for ; Mon, 24 Jun 2002 11:05:02 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g5OI52ia001183; Mon, 24 Jun 2002 11:05:02 -0700 (PDT) Message-Id: <200206241805.g5OI52ia001183@www.freebsd.org> Date: Mon, 24 Jun 2002 11:05:02 -0700 (PDT) From: Jonathan Laventhol To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: docs/39796: Making ports fails behind ftp proxy without setenv Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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