From nobody@FreeBSD.org  Fri Apr  9 11:53:46 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 89024106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  9 Apr 2010 11:53:46 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 77DF98FC21
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  9 Apr 2010 11:53:46 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o39BrjFT060674
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 9 Apr 2010 11:53:45 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o39Brj7U060667;
	Fri, 9 Apr 2010 11:53:45 GMT
	(envelope-from nobody)
Message-Id: <201004091153.o39Brj7U060667@www.freebsd.org>
Date: Fri, 9 Apr 2010 11:53:45 GMT
From: Rudolf Polzer <rpolzer@mucke-novak.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /usr/src/release/Makefile does not honor HTTP_PROXY when installing extra ports
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         145580
>Category:       misc
>Synopsis:       [release] /usr/src/release/Makefile does not honor HTTP_PROXY when installing extra ports
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 09 16:10:11 UTC 2010
>Closed-Date:    
>Last-Modified:  Fri Apr 09 20:07:42 UTC 2010
>Originator:     Rudolf Polzer
>Release:        7.3-RELEASE
>Organization:
Mucke-Novak
>Environment:
FreeBSD build64-73.tnd.arcor.net 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Fri Mar 26 17:42:23 CET 2010     root@build64-73.tnd.arcor.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
As can be seen on http://www.freebsd.org/cgi/cvsweb.cgi/src/release/Makefile?rev=1.951, installation of MAKEINDEXPORTS prefixes the "make all install clean" by

	echo "		env -i FTP_PASSIVE_MODE=$${FTP_PASSIVE_MODE:-no} PATH=$${PATH} \\" >> ${_MK}

which clears all environment variables, including HTTP_PROXY and FTP_PROXY which in our internal network setup here are required for the port installation to succeed.
>How-To-Repeat:
Try to use the /usr/src/release/Makefile without the port lang/perl5.8 and with NO_PREFETCH_DISTFILES being set (causing the fetching to take place at runtime)
>Fix:
Also pass through the HTTP_PROXY and FTP_PROXY variables in these two lines.

>Release-Note:
>Audit-Trail:
>Unformatted:
