Quote:
Originally Posted by pax
Hi all,
I want to set some kind of download speed limit when I'm installing ports, I think that it uses fetch to retrieve files from internet, so I think that there is way. I'm needing this because I'm downloading files from work, and the other employer have troubles using net because I occupy most of bandwidth... Is there anyway to do this, I already searched internet for some kind of solution, but I have not found anything useful...
|
I used wget when I had a need to limit my port-source download rate. install the ftp/wget port and then put this in /etc/make.conf:
Code:
FETCH_BINARY=/usr/local/bin/wget
FETCH_ARGS="-t 1 -c --limit-rate=10k"
adjust the "10k" to the desired download rate in kiloBYTES per second. that should preserve most of fetch's ports behaviour (keep partial files, no excessive retries).