Proposal: overridable bsd.sites.mk

Brooks Davis brooks at one-eyed-alien.net
Tue Feb 8 05:55:58 PST 2005


On Mon, Feb 07, 2005 at 07:42:55PM -0500, 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?

I want to add one or two to the top of the list so I can try to use my
local mirrors when possible without having to reconfigure my make.conf
if they get screwed up or out of sync.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050208/0370adb0/attachment.bin


More information about the freebsd-ports mailing list