From owner-freebsd-doc Tue Jun 25 7:30:10 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 3F1E737B405 for ; Tue, 25 Jun 2002 07:30:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5PEU5N23504; Tue, 25 Jun 2002 07:30:05 -0700 (PDT) (envelope-from gnats) Date: Tue, 25 Jun 2002 07:30:05 -0700 (PDT) Message-Id: <200206251430.g5PEU5N23504@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org Cc: From: Niall Brady Subject: Re: docs/39796: Making ports fails behind ftp proxy without setenv Reply-To: Niall Brady 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 The following reply was made to PR docs/39796; it has been noted by GNATS. From: Niall Brady To: freebsd-gnats-submit@FreeBSD.org Cc: jonathan-dot-laventhol@imagination.com Subject: Re: docs/39796: Making ports fails behind ftp proxy without setenv Date: Tue, 25 Jun 2002 15:23:16 +0100 On Mon, 24 Jun 2002 11:05:02 PDT, Jonathan Laventhol said: > >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 You may want to add a para about adding these settings to /etc/make.conf as well in that case (FETCH_ENV, documented in /etc/defaults/make.conf). This makes it permanent for the system in a sensible way... If someone thinks it's appropriate to add to the handbook, I'll sgml-ize it later... although it may be more appropriate full-stop to just add it to the ports-trouble section? -- Niall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message