Date: Mon, 7 Feb 2005 19:56:41 -0500 From: Michael Johnson <buhnux@gmail.com> To: Adam Weinberger <adamw@magnesium.net> Cc: Edwin Groothuis <edwin@mavetju.org> Subject: Re: Proposal: overridable bsd.sites.mk Message-ID: <4B4701EC-796C-11D9-A35A-000A95BB7150@ahze.net> In-Reply-To: <42080B0F.1030408@magnesium.net> 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> <42080B0F.1030408@magnesium.net>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Feb 7, 2005, at 7:42 PM, Adam Weinberger wrote: > 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? > add more, only because I pick a handful of the fastest ones I like and add them to /etc/make.conf. ie. I have MASTER_SITE_GNOME= http://ftp.gnome.org/pub/GNOME/%SUBDIR%/ in /etc/make.conf because it's the first updated mirror so I don't have to wait, and it's fast =) I have similar for MASTER_SITE_XORG and more. I think a good solution could be a tool similar to sysutils/fastest_cvsup that would go through each MASTER_SITE_XXX and print the fastest of each and could easily be added to your own /etc/make.conf. Michael > # Adam > > > -- > Adam Weinberger > adamw@magnesium.net || adamw@FreeBSD.org > adamw@vectors.cx || adamw@gnome.org > http://www.vectors.cx > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCCA5Jn4uqfTwEb9YRAgq2AJ9Pte73f3xDIROEPKxi537XP3rDCgCfQc0R /cilcVs5TV9SSKHOf108QmE= =J/yw -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B4701EC-796C-11D9-A35A-000A95BB7150>