[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lang/egcs (gcc 3.2)



John R. Shannon (john_(_at_)_johnrshannon_(_dot_)_com) wrote:

> I'm encountering a problem building gcc 3.2. The make output shows:
[snip: egcs mirror-list is out of date]

I made this patch to fix that. I unleashed the power of regexps on this
url: http://www.gnu.org/order/ftp.html 

Perhaps it is an idea to comment out all mirrors and add a message  like
``edit the makefile and uncomment a few mirrors in your vicinity''

Or something else totally briliant.



Groetjes, Han.
-- 
http://www.xs4all.nl/~hanb/software
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/egcs/stable/Makefile,v
retrieving revision 1.68
diff -u -r1.68 Makefile
--- Makefile	30 Sep 2002 20:52:45 -0000	1.68
+++ Makefile	1 Oct 2002 00:11:33 -0000
@@ -73,72 +73,142 @@
 #### fetch section
 
 V=3.2
-DIRECTORY=releases/${DISTNAME}/
-DISTNAME=   gcc-$V
-
+DIRECTORY=	gcc/${DISTNAME}/
+DISTNAME=	gcc-$V
 # getting the right archives where they should be
 MASTER_SITE_SUBDIR=${LATEST_DATE}
 
-DIST_SUBDIR=egcs
+DIST_SUBDIR=	gcc
 
-DISTFILES=  gcc-3.2.tar.bz2
+DISTFILES=	gcc-3.2.tar.gz
 
 SITES=	
 
-SITES+= ftp://ftp.uvsq.fr/pub/gcc/${DIRECTORY}
-SITES+= ftp://ftp.grolier.fr/pub/egcs/${DIRECTORY}
-SITES+= ftp://gd.tuwien.ac.at/gnu/gcc/${DIRECTORY}
-SITES+= ftp://chardonnay.elis.rug.ac.be/pub/mirrors/gcc.cygnus.com/pub/gcc/${DIRECTORY}
-SITES+= ftp://gd.tuwien.ac.at/gnu/gcc/${DIRECTORY}
-SITES+=	ftp://egcs.cygnus.com/pub/egcs/${DIRECTORY} 
-SITES+= ftp://ftp.goof.com/pub/pcg/egcs/${DIRECTORY}
-SITES+= ftp://go.cygnus.com/pub/ftp.cygnus.com/egcs/${DIRECTORY}
-SITES+= ftp://cambridge.cygnus.com/pub/egcs/${DIRECTORY}
-SITES+= ftp://sunsite.doc.ic.ac.uk/Mirrors/egcs.cygnus.com/pub/egcs/${DIRECTORY}
-
-SITES+= ftp://ftp.gts.cz/pub/MIRRORS/ftp.cygnus.com/pub/egcs/${DIRECTORY}
-SITES+= ftp://sunsite.auc.dk/pub/egcs/${DIRECTORY}
-SITES+= ftp://ftp.fu-berlin.de/unix/languages/egcs/egcs/${DIRECTORY}
-SITES+= ftp://ftp.gwdg.de/pub/cygnus/egcs/${DIRECTORY}
-SITES+= ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/egcs.cygnus.com/egcs/${DIRECTORY}
-SITES+= ftp://ftp.uni-trier.de/pub/languages/c/implementation/egcs/${DIRECTORY}
-SITES+= ftp://ftp.sunet.se/pub/gnu/egcs/${DIRECTORY}
-SITES+= ftp://ftp.unicamp.br/pub/gnu/=EXTRA=/cygnus/egcs/${DIRECTORY}
-SITES+= ftp://ftp.lbi.ro/mirrors/ftp.cygnus.com/pub/egcs/${DIRECTORY}
-SITES+= ftp://ftp.ntua.gr/pub/gnu/egcs/${DIRECTORY}
-SITES+= ftp://ftp.nluug.nl/pub/languages/egcs/${DIRECTORY}
-SITES+= ftp://ftp.dti.ad.jp/pub/lang/egcs/${DIRECTORY}
-SITES+= ftp://ftp.win.or.jp/pub/lang/egcs/${DIRECTORY}
-SITES+= ftp://ftp.telewaynet.ad.jp/pub/lang/egcs/${DIRECTORY}
-SITES+= ftp://ftp.lab.kdd.co.jp/lang/egcs/${DIRECTORY}
-SITES+= ftp://ftp.crc.ca/pub/packages/egcs/${DIRECTORY}
-SITES+= ftp://ftp.nc.orc.ru/pub/egcs/${DIRECTORY}
-SITES+= ftp://ftp.u-aizu.ac.jp/pub/lang/C/pcg/egcs/${DIRECTORY}
-SITES+= ftp://ftp.maisel.int-evry.fr/pub/linux/pentium/egcs/${DIRECTORY}
-SITES+= ftp://ftp.yggdrasil.com/mirrors/site/egcs.cygnus.com/pub/egcs/${DIRECTORY}
-SITES+= ftp://unix.hensa.ac.uk/mirrors/egcs.cygnus.com/pub/egcs/${DIRECTORY}
-
-# Can't contact those, maybe they work ?
-SITES+= ftp://sunsite.mff.cuni.cz/pub/GNU/egcs/${DIRECTORY}
-SITES+= ftp://sunsite.icm.edu.pl/pub/programming/egcs/${DIRECTORY}
-SITES+= ftp://ftp.task.gda.pl/mirror/egcs.cygnus.com/pub/egcs/${DIRECTORY}
-SITES+= ftp://ftp.lca.uevora.pt/pub/egcs/${DIRECTORY}
-SITES+= ftp://cair-archive.kaist.ac.kr/pub/gnu/egcs/${DIRECTORY}
-SITES+= ftp://linux.ihep.su/pub/cygnus/egcs/${DIRECTORY}
-SITES+= ftp://linux.cis.nctu.edu.tw/pub/packages/pcg/egcs/${DIRECTORY}
-SITES+= ftp://ftp.ninemoons.com/pub/mirrors/egcs/${DIRECTORY}
-
-# Only contains empty gcc-3.0 directory - maybe it gets updated at 
-# some point?
-SITES+= ftp://ftp.funet.fi/mirrors/ftp.cygnus.com/pub/egcs/${DIRECTORY}
-
-# Bad mirrors (no snapshot)
-# ftp.lip6.fr, ftp.ilog.fr, ftp.irisa.fr
-# No route to host
-# mirrors.aarnet.edu.au
-#SITES+=	ftp://ftp.lip6.fr/pub/egcs/${DIRECTORY}
-#SITES+= ftp://ftp.ilog.fr/pub/Mirrors/egcs/${DIRECTORY}
-#SITES+= ftp://ftp.irisa.fr/pub/mirrors/egcs.cygwin.com/gcc/${DIRECTORY}
+# US
+SITES+= ftp://gatekeeper.dec.com/pub/GNU/${DIRECTORY}
+SITES+= ftp://ftp.keystealth.org/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.cise.ufl.edu/pub/mirrors/GNU/${DIRECTORY}
+SITES+= ftp://uiarchive.cso.uiuc.edu/pub/ftp/ftp.gnu.org/gnu/${DIRECTORY}
+SITES+= ftp://ftp.in-span.net/pub/mirrors/ftp.gnu.org/${DIRECTORY}
+SITES+= ftp://gnu.ms.uky.edu/pub/mirrors/gnu/${DIRECTORY}
+SITES+= ftp://ftp.algx.net/pub/gnu/${DIRECTORY}
+SITES+= ftp://aeneas.mit.edu/pub/gnu/${DIRECTORY}
+SITES+= ftp://libre.oit.umass.edu/gnu.org/${DIRECTORY}
+SITES+= ftp://ftp.egr.msu.edu/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.wayne.edu/gnu_mirror/${DIRECTORY}
+SITES+= ftp://wuarchive.wustl.edu/mirrors/gnu/${DIRECTORY}
+SITES+= ftp://gnu.teleglobe.net/ftp.gnu.org/${DIRECTORY}
+SITES+= ftp://ftp.cs.columbia.edu/archives/gnu/prep/${DIRECTORY}
+SITES+= ftp://ftp.ece.cornell.edu/pub/mirrors/gnu/${DIRECTORY}
+SITES+= ftp://ftp.cis.ohio-state.edu/mirror/gnu/${DIRECTORY}
+SITES+= ftp://boron.club.cc.cmu.edu/gnu/${DIRECTORY}
+SITES+= ftp://ftp.sunsite.utk.edu/pub/gnu/ftp/${DIRECTORY}
+SITES+= ftp://thales.memphis.edu/pub/gnu/${DIRECTORY}
+SITES+= ftp://mirror.telentente.com/pub/gnu/${DIRECTORY}
+SITES+= ftp://gnu.wwc.edu/${DIRECTORY}
+SITES+= ftp://ftp.twtelecom.net/pub/GNU/${DIRECTORY}
+
+# africa
+SITES+= ftp://ftp.sun.ac.za/mirrorsites/ftp.gnu.org/pub/gnu/${DIRECTORY}
+
+# america
+SITES+= ftp://ftp.unicamp.br/pub/gnu/${DIRECTORY}
+SITES+= ftp://master.softaplic.com.br/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.matrix.com.br/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.cs.ubc.ca/mirror2/gnu/${DIRECTORY}
+SITES+= ftp://ftp.inf.utfsm.cl/pub/gnu/${DIRECTORY}
+SITES+= ftp://sunsite.ulatina.ac.cr/Mirrors/GNU/${DIRECTORY}
+SITES+= ftp://www.gnu.unam.mx/pub/gnu/software/${DIRECTORY}
+SITES+= ftp://gnu.cem.itesm.mx/pub/mirrors/gnu.org/${DIRECTORY}
+SITES+= ftp://ftp.azc.uam.mx/mirrors/gnu/${DIRECTORY}
+
+# australia
+SITES+= ftp://mirror.aarnet.edu.au/pub/gnu/${DIRECTORY}
+SITES+= ftp://gnu.mirror.pacific.net.au/gnu/${DIRECTORY}
+
+# asia
+SITES+= ftp://ftp.cs.cuhk.edu.hk/pub/gnu/gnu/${DIRECTORY}
+SITES+= ftp://sunsite.ust.hk/pub/gnu/${DIRECTORY}
+SITES+= ftp://www.imtech.res.in/mirror/gnuftp/${DIRECTORY}
+SITES+= ftp://sapi.vlsm.org/gnu/${DIRECTORY}
+SITES+= ftp://ftp.cs.huji.ac.il/mirror/GNU/${DIRECTORY}
+SITES+= ftp://tron.um.u-tokyo.ac.jp/pub/GNU/prep/${DIRECTORY}
+SITES+= ftp://core.ring.gr.jp/pub/GNU/${DIRECTORY}
+SITES+= ftp://ftp.ring.gr.jp/pub/GNU/${DIRECTORY}
+SITES+= ftp://mirrors.hbi.co.jp/gnu/${DIRECTORY}
+SITES+= ftp://ftp.ayamura.org/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.cs.titech.ac.jp/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftpmirror.hanyang.ac.kr/GNU/${DIRECTORY}
+SITES+= ftp://ftp.linux.sarang.net/mirror/gnu/gnu/${DIRECTORY}
+SITES+= ftp://ftp.xgate.co.kr/pub/mirror/gnu/${DIRECTORY}
+SITES+= ftp://ftp.isu.net.sa/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.nctu.edu.tw/UNIX/gnu/${DIRECTORY}
+SITES+= ftp://coda.nctu.edu.tw/UNIX/gnu/${DIRECTORY}
+SITES+= ftp://ftp1.sinica.edu.tw/pub3/GNU/gnu/${DIRECTORY}
+SITES+= ftp://ftp.nectec.or.th/pub/mirrors/gnu/${DIRECTORY}
+
+# europe
+SITES+= ftp://ftp.gnu.vbs.at/${DIRECTORY}
+SITES+= ftp://ftp.univie.ac.at/packages/gnu/${DIRECTORY}
+SITES+= ftp://gd.tuwien.ac.at/gnu/gnusrc/${DIRECTORY}
+SITES+= ftp://ftp.fi.muni.cz/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.dkuug.dk/pub/gnu/${DIRECTORY}
+SITES+= ftp://sunsite.dk/mirrors/gnu/${DIRECTORY}
+SITES+= ftp://ftp.funet.fi/pub/gnu/prep/${DIRECTORY}
+SITES+= ftp://ftp.irisa.fr/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.medasys-digital-systems.fr/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.cs.univ-paris8.fr/mirrors/ftp.gnu.org/${DIRECTORY}
+SITES+= ftp://ftp.cs.tu-berlin.de/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.leo.org/pub/comp/os/unix/gnu/${DIRECTORY}
+SITES+= ftp://ftp.informatik.rwth-aachen.de/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.de.uu.net/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.freenet.de/pub/ftp.gnu.org/gnu/${DIRECTORY}
+SITES+= ftp://ftp.cs.uni-bonn.de/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.gnu.org/${DIRECTORY}
+SITES+= ftp://ftp.stw-bonn.de/pub/mirror/ftp.gnu.org/${DIRECTORY}
+SITES+= ftp://ftp.math.uni-bremen.de/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.forthnet.gr/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.ntua.gr/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.duth.gr/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.physics.auth.gr/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.esat.net/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.lugroma2.org/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.gnu.inetcosmos.org/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.digitaltrust.it/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.nluug.nl/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.mirror.nl/pub/mirror/gnu/${DIRECTORY}
+SITES+= ftp://ftp.nl.uu.net/pub/gnu/${DIRECTORY}
+SITES+= ftp://mirror.widexs.nl/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.easynet.nl/mirror/gnu/${DIRECTORY}
+SITES+= ftp://ftp.win.tue.nl/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.gnu.no/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.uninett.no/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.task.gda.pl/pub/gnu/${DIRECTORY}
+SITES+= ftp://sunsite.icm.edu.pl/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.ist.utl.pt/pub/GNU/gnu/${DIRECTORY}
+SITES+= ftp://ftp.telepac.pt/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.timisoara.roedu.net/mirrors/ftp.gnu.org/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.chg.ru/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.msu.ru/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.arnes.si/software/gnu/${DIRECTORY}
+SITES+= ftp://ftp.etsimo.uniovi.es/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.rediris.es/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.chl.chalmers.se/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.isy.liu.se/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.luth.se/pub/unix/gnu/${DIRECTORY}
+SITES+= ftp://ftp.stacken.kth.se/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.sunet.se/pub/gnu/${DIRECTORY}
+SITES+= ftp://sunsite.cnlab-switch.ch/mirror/gnu/${DIRECTORY}
+SITES+= ftp://ftp.ulak.net.tr/gnu/${DIRECTORY}
+SITES+= ftp://mirddin.farlep.net/pub/GNU/${DIRECTORY}
+SITES+= ftp://ftp.mcc.ac.uk/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.mirror.ac.uk/sites/ftp.gnu.org/gnu/${DIRECTORY}
+SITES+= ftp://ftp.warwick.ac.uk/pub/gnu/${DIRECTORY}
+SITES+= ftp://ftp.hands.com/ftp.gnu.org/${DIRECTORY}
+SITES+= ftp://gnu.teleglobe.net/ftp.gnu.org/${DIRECTORY}
+SITES+= ftp://mirrors.kernel.org/gnu/${DIRECTORY}
+
+
 MASTER_SITES=${SITES:S/%DATE%/${LATEST_DATE}/}
 
 # add a possible next snapshot
@@ -336,4 +406,5 @@
 CONFIG=${MACHINE_ARCH}-unknown-openbsd${OSREV}
 SUBST_VARS=CONFIG V
 .include <bsd.port.mk>
+
 

Visit your host, monkey.org