Bug 145580

Summary: [release] /usr/src/release/Makefile does not honor HTTP_PROXY when installing extra ports
Product: Base System Reporter: Rudolf Polzer <rpolzer>
Component: miscAssignee: freebsd-bugs mailing list <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: 7.3-RELEASE   
Hardware: Any   
OS: Any   

Description Rudolf Polzer 2010-04-09 17:10:11 UTC
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.

Fix: 

Also pass through the HTTP_PROXY and FTP_PROXY variables in these two lines.
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)
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:25 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped