Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Apr 2010 11:53:45 GMT
From:      Rudolf Polzer <rpolzer@mucke-novak.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/145580: /usr/src/release/Makefile does not honor HTTP_PROXY when installing extra ports
Message-ID:  <201004091153.o39Brj7U060667@www.freebsd.org>
Resent-Message-ID: <201004091610.o39GABdJ003217@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004091153.o39Brj7U060667>