ports/94661: [patch] bsd.sites.mk - be able to define favourite sourceforge download site
Edwin Groothuis
edwin at mavetju.org
Sat Mar 18 22:30:26 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list