Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2006 09:26:10 +1100 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/94661: [patch] bsd.sites.mk - be able to define favourite sourceforge download site
Message-ID:  <20060318222610.0E4AB26D@k7.mavetju>
Resent-Message-ID: <200603182230.k2IMUH4F020514@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94661
>Category:       ports
>Synopsis:       [patch] bsd.sites.mk - be able to define favourite sourceforge download site
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 18 22:30:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386


>Description:

This is an reactment:

-------------------------- 8< ----------------
I'm sooooooooooooo tired of the sooooooooooo slow downloadspeed
from the heanet sourceforge site, I would like to use the waaaaaaaaaay
fast and local xxx site first.

Why can't I just add MASTER_SITE_SOURCEFORGE_PREFERED=xxx to
/etc/make.conf and be over with it?
-------------------------- 8< ----------------

I know about IGNORE_MASTER_SITE_SOURCEFORGE, but I don't want to
keep track of new sites which have been added. All I want to do to
specify to try my local one first.

>How-To-Repeat:
>Fix:

Index: bsd.sites.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.sites.mk,v
retrieving revision 1.354
diff -u -r1.354 bsd.sites.mk
--- bsd.sites.mk	22 Feb 2006 10:56:53 -0000	1.354
+++ bsd.sites.mk	18 Mar 2006 22:21:46 -0000
@@ -947,7 +947,7 @@
 .endif
 
 .if !defined(IGNORE_MASTER_SITE_SOURCEFORGE)
-.for mirror in heanet nchc optusnet kent ufpr surfnet jaist umn osdn
+.for mirror in ${MASTER_SITE_SOURCEFORGE_PREFERED} heanet nchc optusnet kent ufpr surfnet jaist umn osdn
 MASTER_SITE_SOURCEFORGE+= \
 	http://${mirror}.dl.sourceforge.net/sourceforge/%SUBDIR%/
 .endfor
>Release-Note:
>Audit-Trail:
>Unformatted:



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