From owner-freebsd-ports@FreeBSD.ORG Mon Feb 7 23:39:29 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94F5716A4D0 for ; Mon, 7 Feb 2005 23:39:29 +0000 (GMT) Received: from mail2out.barnet.com.au (mail2out.barnet.com.au [202.83.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4EA943D54 for ; Mon, 7 Feb 2005 23:39:28 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail2out.barnet.com.au (Postfix, from userid 27) id 0F638707444; Tue, 8 Feb 2005 10:39:27 +1100 (EST) X-Viruscan-Id: <4207FC2E0000510FAAD53D@BarNet> Received: from mail2-auth.barnet.com.au (mail2.barnet.com.au [202.83.176.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Authority" (verified OK)) by mail2.barnet.com.au (Postfix) with ESMTP id C0C3670743E; Tue, 8 Feb 2005 10:39:26 +1100 (EST) Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Certificate Authority" (verified OK)) by mail2-auth.barnet.com.au (Postfix) with ESMTP id E75C470743C; Tue, 8 Feb 2005 10:39:25 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id C0EBA61C3; Tue, 8 Feb 2005 10:39:24 +1100 (EST) Date: Tue, 8 Feb 2005 10:39:24 +1100 From: Edwin Groothuis To: Adam Weinberger Message-ID: <20050207233924.GQ34807@k7.mavetju> References: <4207E715.7060001@magnesium.net> <20050207221241.GU1175@k7.mavetju> <4207EA10.3090207@magnesium.net> <20050207222701.GP34807@k7.mavetju> <4207FA3D.2040907@magnesium.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4207FA3D.2040907@magnesium.net> User-Agent: Mutt/1.5.6i cc: ports@FreeBSD.org Subject: Re: Proposal: overridable bsd.sites.mk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2005 23:39:29 -0000 On Mon, Feb 07, 2005 at 06:31:09PM -0500, Adam Weinberger wrote: > 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? Because I don't want to add all fourty other distsites if I just have preferences over one to be tried first. With the proposed change: You: IGNORE_MASTER_SITE_XORG=yes MASTER_SITE_XORG=http://z.x.y/ Me: MASTER_SITE_XORG=http://z.x.y/ Easy! Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/