From owner-freebsd-questions@FreeBSD.ORG Wed Jun 7 23:47:00 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55533170332 for ; Wed, 7 Jun 2006 21:17:45 +0000 (UTC) (envelope-from reitz@eecs.cwru.edu) Received: from beta.eecs.cwru.edu (beta.EECS.CWRU.Edu [129.22.150.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id E291243D46 for ; Wed, 7 Jun 2006 21:17:44 +0000 (GMT) (envelope-from reitz@eecs.cwru.edu) Received: from brak ([::ffff:129.22.151.63]) (TLS: TLSv1/SSLv3,168bits,DES-CBC3-SHA) by beta.eecs.cwru.edu with esmtp; Wed, 07 Jun 2006 17:17:43 -0400 id 000ABEA1.44874277.0000543F Date: Wed, 7 Jun 2006 17:16:27 -0400 (EDT) From: Andy Reitz X-X-Sender: reitz@brak To: Michael S In-Reply-To: Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: portupgrade question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2006 23:47:01 -0000 On Wed, 7 Jun 2006, Michael S wrote: > Good day everyone! > > I have a portupgrade related question. I am behind a proxy and fetch > doesn't appear to cope with it very well. I installed wget and it > works great. I updated the pkgtools.conf to reflect that, however > portupgrade insists on using fetch for some reason. At first I thought > that portupgrade ignored its configuration file, however once or twice > I misstyped something and it did catch it. > Any hints? > > P.S. I am running 5.5 if it makes any difference, although I think it > shouldn't. Hi Michael, I don't think that portupgrade actually downloads source code from the internet. Rather, portupgrade is a bit of a wrapper around the normal FreeBSD ports code. According to the handbook, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html The ports system uses fetch(1) in order to download any files. I thought that there was a way to convince the ports to use a different file retreiver, but I don't see anything in the handbook. Have you tried setting the ftp_proxy and http_proxy environment variables, so that fetch can work with your proxy? HTH, -Andy Reitz.