Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jun 2006 21:25:30 +0300
From:      Andrey Slusar <anrays@gmail.com>
To:        "Michael S" <msherman77@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: portupgrade question
Message-ID:  <8664jc7rhh.fsf@santinel.home.ua>
In-Reply-To: <d5f57b9c0606070638w73878bdfu8933ba1527bc915d@mail.gmail.com> (Michael S.'s message of "Wed, 7 Jun 2006 09:38:36 -0400")
References:  <d5f57b9c0606070638w73878bdfu8933ba1527bc915d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Wed, 7 Jun 2006 09:38:36 -0400, Michael S wrote:

> 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?

 echo 'FETCH_CMD=/etc/fetch_wget' >>/etc/make.conf
,----[ fetch_wget ]
| #!/bin/sh
| eval url=\${$#}
| echo "invoked as fetch_cmd $*"
| wget -c <some you proxy options> $url
`----

-- 
Regards,
Andrey.



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