Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2006 13:08:24 -0400
From:      Pablo Mora Hinojosa <bidjan@gmail.com>
To:        Pablo Mora <bidjan@gmail.com>,  freebsd-questions@freebsd.org
Subject:   Re: limit bandwidth 'make fetch'
Message-ID:  <44636F88.7000107@gmail.com>
In-Reply-To: <20060511112429.273F4B81E@shodan.nognu.de>
References:  <cf841d6b0605101826l229b8561hd5c8cf0f1ebb4b38@mail.gmail.com> <20060511112429.273F4B81E@shodan.nognu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Frank Steinborn wrote:
> Pablo Mora wrote:
>> how i can limit bandwidth when i using 'make fetch' (make install in Ports)?
>>
>> thanks in advance.
> 
> You could use the following in your make.conf to use wget (which is
> capable of limiting bandwith) in your make.conf:
> 
> FETCH_CMD=/usr/local/bin/wget --limit-rate=20k     # Limits to 20k
> DISABLE_SIZE=YES
> 
> 
> DISABLE_SIZE is mandatory for wget, because it would get "-S <size of
> the file to fetch>" otherwise, which is only supported by fetch.
> 
> HTH,
> Frank
> 

Thanks Frank for your time. excellent tip!

regards.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44636F88.7000107>