Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Feb 2005 18:31:09 -0500
From:      Adam Weinberger <adamw@magnesium.net>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        ports@FreeBSD.org
Subject:   Re: Proposal: overridable bsd.sites.mk
Message-ID:  <4207FA3D.2040907@magnesium.net>
In-Reply-To: <20050207222701.GP34807@k7.mavetju>
References:  <4207E715.7060001@magnesium.net> <20050207221241.GU1175@k7.mavetju> <4207EA10.3090207@magnesium.net> <20050207222701.GP34807@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help
Edwin Groothuis wrote:
> On Mon, Feb 07, 2005 at 05:22:08PM -0500, Adam Weinberger wrote:
> 
>>Edwin Groothuis wrote:
>>
>>>On Mon, Feb 07, 2005 at 05:09:25PM -0500, Adam Weinberger wrote:
>>>
>>>
>>>>What do you guys think of changing the +='s in bsd.sites.mk to ?='s? The 
>>>>deal is this: say I have a specific AfterStep dist site that I want to 
>>>>use, and I don't want the default listed sites to be attempted at all.
>>>>
>>>>As it stands now, there are two current solutions that I see:
>>>>  * edit bsd.sites.mk after every cvsup
>>>>  * put like 100 entries for that site in MASTER_SITE_AFTERSTEP
>>>>    in /etc/make.conf and turn on RANDOMIZE_MASTER_SITES
>>>
>>>
>>>"say I have a specific AfterStep dist site that I want to use"
>>>
>>>That's *one* entry in /etc/make.conf.
>>>
>>>Edwin
>>>
>>
>>What one entry can you put in /etc/make.conf that forces 
>>MASTER_SITE_AFTERSTEP to consist of one site, and one site only?
> 
> 
> Oh, that way. This patch does:
> 
> +.if !defined(IGNORE_MASTER_SITE_XORG)
>  MASTER_SITE_XORG+= \
>         ftp://ftp.x.org/pub/%SUBDIR%/ \
> 	ftp://ftp.gwdg.de/pub/x11/x.org/pub/%SUBDIR%/ \
> [...]
> +.endif
> 
> Only 2x57 lines to be added, and it will not harm anybody else!
> 
> (I would use this too to get rid of heanet.courseforge.net)
> 
> Edwin

How is that better than just letting people set any MASTER_SITE_* they 
want explicitly?

# Adam


-- 
Adam Weinberger
adamw@magnesium.net || adamw@FreeBSD.org
adamw@vectors.cx    ||   adamw@gnome.org
http://www.vectors.cx



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