misc/145580: /usr/src/release/Makefile does not honor HTTP_PROXY when installing extra ports

Rudolf Polzer rpolzer at mucke-novak.de
Fri Apr 9 16:10:12 UTC 2010


>Number:         145580
>Category:       misc
>Synopsis:       /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:
>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 at 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:


More information about the freebsd-bugs mailing list