this adds support for sourceforge's own mirror redirector and keeps
the others in as a fallback. (the rest of the list should probably
be verified and at least some of the /sourceforge/ URLs should
switch to /project/ to avoid extra redirects, but I don't have
time to look at that right now).

since sourceforge do geolocation, this gets people using a
local mirror by default when fetching distfiles from ports.

ok?


Index: templates/network.conf.template
===================================================================
RCS file: /cvs/ports/infrastructure/templates/network.conf.template,v
retrieving revision 1.133
diff -u -p -r1.133 network.conf.template
--- templates/network.conf.template     4 Jun 2009 14:43:40 -0000       1.133
+++ templates/network.conf.template     24 Aug 2009 12:35:15 -0000
@@ -105,6 +105,7 @@ MASTER_SITE_SUNSITE+=       \
        ftp://ftp.chg.ru/pub/Linux/sunsite/
 
 MASTER_SITE_SOURCEFORGE+=      \
+       http://downloads.sourceforge.net/project/ \
        http://easynews.dl.sourceforge.net/sourceforge/ \
        http://puzzle.dl.sourceforge.net/sourceforge/ \
        http://optusnet.dl.sourceforge.net/sourceforge/ \

Reply via email to