portupgrade question

Andrey Slusar anrays at gmail.com
Wed Jun 7 20:11:04 UTC 2006


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.


More information about the freebsd-questions mailing list