From owner-freebsd-ports@FreeBSD.ORG Tue Feb 8 00:40:03 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 22A3416A4CE for ; Tue, 8 Feb 2005 00:40:03 +0000 (GMT) Received: from connectmail.carleton.ca (connectmail.carleton.ca [134.117.2.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7AA043D41 for ; Tue, 8 Feb 2005 00:40:02 +0000 (GMT) (envelope-from adamw@magnesium.net) Received: from [192.168.1.105] ([134.117.145.25]) by connectmail.carleton.ca (iPlanet Messaging Server 5.2 HotFix 2.02 (built Oct 21 2004)) with ESMTPSA id <0IBK00KH1HUP0O@connectmail.carleton.ca> for ports@FreeBSD.org; Mon, 07 Feb 2005 19:40:02 -0500 (EST) Date: Mon, 07 Feb 2005 19:42:55 -0500 From: Adam Weinberger In-reply-to: <20050207233924.GQ34807@k7.mavetju> To: Edwin Groothuis Message-id: <42080B0F.1030408@magnesium.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-ca, en-gb, en-us, en User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-CA; rv:1.7.5) Gecko/20050105 Thunderbird/1.0 OMFG PANTS References: <4207E715.7060001@magnesium.net> <20050207221241.GU1175@k7.mavetju> <4207EA10.3090207@magnesium.net> <20050207222701.GP34807@k7.mavetju> <4207FA3D.2040907@magnesium.net> <20050207233924.GQ34807@k7.mavetju> 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: Tue, 08 Feb 2005 00:40:03 -0000 Edwin Groothuis wrote: > 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 I'd suspect that more people would want to narrow down distsites to a specific couple of sites, not add more onto the list. People Out There: if you could control the list of which sites distfiles for, say, xorg stuff, are fetched from, would you rather add to the list that's already there, or isolate particular sites you prefer? # Adam -- Adam Weinberger adamw@magnesium.net || adamw@FreeBSD.org adamw@vectors.cx || adamw@gnome.org http://www.vectors.cx