From owner-freebsd-questions@FreeBSD.ORG Mon Aug 29 08:27:03 2005 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 6700A16A41F for ; Mon, 29 Aug 2005 08:27:03 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C33043D53 for ; Mon, 29 Aug 2005 08:27:01 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226]) by kane.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j7T8Qv9l031364; Mon, 29 Aug 2005 11:26:57 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) by orion.daedalusnetworks.priv (8.13.4/8.13.4) with ESMTP id j7T8QuZ2059659; Mon, 29 Aug 2005 11:26:56 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by orion.daedalusnetworks.priv (8.13.4/8.13.4/Submit) id j7T8QtJt059652; Mon, 29 Aug 2005 11:26:55 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) X-Authentication-Warning: orion.daedalusnetworks.priv: keramida set sender to keramida@ceid.upatras.gr using -f Date: Mon, 29 Aug 2005 11:26:55 +0300 From: Giorgos Keramidas To: "Robert G." , freebsd-questions@freebsd.org Message-ID: <20050829082655.GA16597@orion.daedalusnetworks.priv> References: <43127FE1.5050007@adelphia.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: Subject: Re: How do I change which server to download ports from? 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: Mon, 29 Aug 2005 08:27:03 -0000 On 2005-08-28 21:58, "Gary W. Swearingen" wrote: >"Robert G." writes: >> I'm not talking about SUPFILE= in /etc/make.conf to change which CVS server >> I download all the ports, I'm talking about when I download/install >> individual ports it seems to pick a random server. Sometimes the server is >> one in another country, and I download a 30MB file at 5KB/sec which takes >> some time (I have 6.5Mbps). Is there an option to change this to a server >> of my choice? > > MASTER_SITE_OVERRIDE in /usr/ports/Mk/bsd.ports.mk sounds like what you want > (to use in your "make"). Exactly. There are other ports-related ``make.conf'' options that one can use. See the ports(7) manpage for some of them and the /usr/ports/Mk/*.mk files for the rest. I have the following in my ``/etc/make.conf'' file, to make sure GNU software is picked up from ftp.ntua.gr, which is a mirror that is network-wise close to my FreeBSD machines here in Greece: MASTER_SITE_GNU= ftp://ftp.ntua.gr/pub/gnu/%SUBDIR%/ Note that the ``bsd.sites.mk'' Ports makefile only *appends* to existing make variables, so any override come first. More than one MASTER_SITE_GNU sites can be specified too: MASTER_SITE_GNU= ftp://ftp.ntua.gr/pub/gnu/%SUBDIR%/ \ ftp://ftp.duth.gr/pub/gnu/%SUBDIR%/