Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2006 17:16:27 -0400 (EDT)
From:      Andy Reitz <reitz@eecs.cwru.edu>
To:        Michael S <msherman77@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: portupgrade question
Message-ID:  <Pine.SOL.4.53.0606071714130.18076@brak>
In-Reply-To: <d5f57b9c0606070638w73878bdfu8933ba1527bc915d@mail.gmail.com>
References:  <d5f57b9c0606070638w73878bdfu8933ba1527bc915d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




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