Bug 145580 - [release] /usr/src/release/Makefile does not honor HTTP_PROXY when installing extra ports
Summary: [release] /usr/src/release/Makefile does not honor HTTP_PROXY when installing...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 7.3-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-09 17:10 UTC by Rudolf Polzer
Modified: 2017-12-31 22:34 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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