Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2006 21:43:56 -0500 (CDT)
From:      Philip Hallstrom <freebsd@philip.pjkh.com>
To:        Pablo Mora <bidjan@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: limit bandwidth 'make fetch'
Message-ID:  <20060510212545.B59324@bravo.pjkh.com>
In-Reply-To: <cf841d6b0605101826l229b8561hd5c8cf0f1ebb4b38@mail.gmail.com>
References:  <cf841d6b0605101826l229b8561hd5c8cf0f1ebb4b38@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> how i can limit bandwidth when i using 'make fetch' (make install in Ports)?

I wrote a patch to fetch awhile back that does exactly this.  That was 
with 4.x, but it might apply cleanly in 6.  I ended up not using it, well 
cause once I had everything installed it didn't seem to matter so much.

http://www.pjkh.com/~philip/fetch/

Basically it adds a "-L" option that takes the b/s to throttle it at...

Then tweak um.. FETCH_ARGS or something close to that (man ports for info) 
to get the ports to pick it up automatically.

-philip



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