Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2006 13:24:29 +0200
From:      Frank Steinborn <steinex@nognu.de>
To:        Pablo Mora <bidjan@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: limit bandwidth 'make fetch'
Message-ID:  <20060511112429.273F4B81E@shodan.nognu.de>
In-Reply-To: <cf841d6b0605101826l229b8561hd5c8cf0f1ebb4b38@mail.gmail.com>
References:  <cf841d6b0605101826l229b8561hd5c8cf0f1ebb4b38@mail.gmail.com>

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



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