How do I change which server to download ports from?

Giorgos Keramidas keramida at
Mon Aug 29 08:27:03 GMT 2005

On 2005-08-28 21:58, "Gary W. Swearingen" <garys at> wrote:
>"Robert G." <rob5g at> 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/ sounds like what you want
> (to use in your "make").


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, which is a mirror that is network-wise close to
my FreeBSD machines here in Greece:


Note that the ``'' Ports makefile only *appends* to existing make
variables, so any override come first.  More than one MASTER_SITE_GNU sites
can be specified too:


More information about the freebsd-questions mailing list