From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 17 16:50:20 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1921716A447 for ; Thu, 17 Nov 2005 16:50:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0891543D5F for ; Thu, 17 Nov 2005 16:50:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAHGoHXC030696 for ; Thu, 17 Nov 2005 16:50:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAHGoHr8030695; Thu, 17 Nov 2005 16:50:17 GMT (envelope-from gnats) Resent-Date: Thu, 17 Nov 2005 16:50:17 GMT Resent-Message-Id: <200511171650.jAHGoHr8030695@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Xavier Beaudouin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32C6716A42C for ; Thu, 17 Nov 2005 16:48:55 +0000 (GMT) (envelope-from kiwi@kiwi.oav.net) Received: from kiwi.oav.net (kiwi.oav.net [82.225.248.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AA6C43D73 for ; Thu, 17 Nov 2005 16:48:50 +0000 (GMT) (envelope-from kiwi@kiwi.oav.net) Received: by kiwi.oav.net (Postfix, from userid 1000) id 59B462E02B; Thu, 17 Nov 2005 17:53:32 +0100 (CET) Message-Id: <20051117165332.59B462E02B@kiwi.oav.net> Date: Thu, 17 Nov 2005 17:53:32 +0100 (CET) From: Xavier Beaudouin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/89201: make fetchindex doesn't honore /etc/make.conf FETCH_ENV variable. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2005 16:50:20 -0000 >Number: 89201 >Category: ports >Synopsis: make fetchindex doesn't honore /etc/make.conf FETCH_ENV variable. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 17 16:50:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Xavier Beaudouin >Release: FreeBSD 5.4-RELEASE-p1 i386 >Organization: The Caudium Group / Association Kazar >Environment: System: FreeBSD proxy.home.oav.net 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #1: Sat May 14 15:27:19 CEST 2005 root@proxy.home.oav.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: When updating index files from a cvsup (with cd /usr/port && make fetchindex), the FETCH_ENV variables from /etc/make.conf are not used. This is very usefull when you are behind a bloody firewall that wants http accesseed only by a proxy. >How-To-Repeat: cd /usr/ports make fetchindex with a proxy configured in /etc/make.conf and a firewall that deny you direct access to the network. >Fix: Use the following patch : --- Makefile Thu Nov 17 17:49:33 2005 +++ Makefile.old Thu Nov 17 17:49:17 2005 @@ -74,7 +74,7 @@ @cd ${.CURDIR} && ${FETCHINDEX} ${MASTER_SITE_INDEX}/${INDEXFILE}.bz2 && bunzip2 -f ${INDEXFILE}.bz2 && chmod a+r ${INDEXFILE} MASTER_SITE_INDEX?= http://www.FreeBSD.org/ports/ -FETCHINDEX?= ${FETCH_ENV} fetch -am +FETCHINDEX?= fetch -am INDEX_JOBS?= 2 .if !defined(INDEX_VERBOSE) >Release-Note: >Audit-Trail: >Unformatted: