From owner-freebsd-questions@FreeBSD.ORG Thu May 11 11:24:31 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E628416A403 for ; Thu, 11 May 2006 11:24:31 +0000 (UTC) (envelope-from steinex@nognu.de) Received: from shodan.nognu.de (shodan.nognu.de [85.14.216.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CBA943D60 for ; Thu, 11 May 2006 11:24:30 +0000 (GMT) (envelope-from steinex@nognu.de) Received: by shodan.nognu.de (Postfix, from userid 1002) id 273F4B81E; Thu, 11 May 2006 13:24:29 +0200 (CEST) Date: Thu, 11 May 2006 13:24:29 +0200 From: Frank Steinborn To: Pablo Mora Mail-Followup-To: Pablo Mora , freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: mutt-ng/devel-r804 (FreeBSD) Message-Id: <20060511112429.273F4B81E@shodan.nognu.de> Cc: freebsd-questions@freebsd.org Subject: Re: limit bandwidth 'make fetch' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 11:24:32 -0000 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 " otherwise, which is only supported by fetch. HTH, Frank