On 4/11/07, Marcin Simonides <[EMAIL PROTECTED]> wrote:
Several ports (mainly gtk, gnome etc.) download distfiles from
public.planetmirror.com sites over HTTP. The problem is that this site
displays an HTML page ("This download will automatically commence
shortly...") and then a download is started as a second request.
This results in fetch fetching the HTML page instead of "real" files.
Here's an exemplary link:
http://public.planetmirror.com/pub/gnome/sources/pango/1.16/pango-1.16.1.tar.bz2
I had a look at the html source for the above page, and it contained a
URL to the file:
http://downloads.planetmirror.com/pub/gnome/sources/pango/1.16/pango-1.16.1.tar.bz2
I usually download the files by hand and, after I get fed up, remove all
planetmirror sites from bsd.sites.mk and am done till the next cvsup ;)
I just wanted to signal this so that appropriate action (whatever that
is, probably removing the sites from list) can be taken.
Attached is a patch that adds downloads.planetmirror.com to
bsd.sites.mk to all the sites that had public.planetmirror.com listed.
Try the patch and see if it fixes your problem, if it does submit a PR
with the patch.
Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
Index: bsd.sites.mk
===
RCS file: /home/ncvs/ports/Mk/bsd.sites.mk,v
retrieving revision 1.417
diff -u -r1.417 bsd.sites.mk
--- bsd.sites.mk 11 Apr 2007 07:42:33 - 1.417
+++ bsd.sites.mk 11 Apr 2007 20:14:10 -
@@ -209,6 +209,7 @@
MASTER_SITE_EXIM+= \
ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/%SUBDIR%/ \
ftp://ftp.exim.org/pub/exim/%SUBDIR%/ \
+ http://downloads.planetmirror.com/pub/exim/exim/%SUBDIR%/ \
http://public.planetmirror.com/pub/exim/exim/%SUBDIR%/ \
ftp://ftp.easynet.be/exim/exim/%SUBDIR%/ \
ftp://mirror.kn.vutbr.cz/pub/ftp.exim.org/exim/%SUBDIR%/ \
@@ -299,6 +300,7 @@
ftp://ftp.riken.go.jp/pub/Linux/fedora/core/%SUBDIR%/ \
http://ftp.isu.edu.tw/pub/Linux/Fedora/linux/core/%SUBDIR%/ \
ftp://ftp.isu.edu.tw/pub/Linux/Fedora/linux/core/%SUBDIR%/ \
+ http://downloads.planetmirror.com/pub/fedora/linux/core/%SUBDIR%/ \
http://public.planetmirror.com/pub/fedora/linux/core/%SUBDIR%/ \
ftp://ftp.planetmirror.com/pub/fedora/linux/core/%SUBDIR%/ \
http://www.las.ic.unicamp.br/pub/fedora/linux/core/%SUBDIR%/ \
@@ -383,6 +385,7 @@
http://gentoo.inode.at/%SUBDIR%/ \
http://ftp.rhnet.is/pub/gentoo/%SUBDIR%/ \
http://gentoo.mirror.sdv.fr/%SUBDIR%/ \
+ http://downloads.planetmirror.com/pub/gentoo/%SUBDIR%/ \
http://public.planetmirror.com/pub/gentoo/%SUBDIR%/ \
http://ftp.gentoo.or.kr/%SUBDIR%/ \
http://mirror.gentoo.gr.jp/%SUBDIR%/ \
@@ -442,6 +445,7 @@
ftp://ftp.dti.ad.jp/pub/X/gnome/%SUBDIR%/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,X/gnome/&,} \
ftp://ftp.kddlabs.co.jp/pub/GNOME/%SUBDIR%/ \
+ http://downloads.planetmirror.com/pub/gnome/%SUBDIR%/ \
http://public.planetmirror.com/pub/gnome/%SUBDIR%/ \
ftp://ftp.mirrorservice.org/sites/ftp.gnome.org/pub/GNOME/%SUBDIR%/ \
http://ftp.gnome.org/pub/GNOME/%SUBDIR%/
@@ -501,6 +505,7 @@
ftp://ftp.funet.fi/pub/mirrors/alpha.gnu.org/gnu/%SUBDIR%/ \
ftp://ftp.lublin.pl/mirror/alpha.gnu.org/gnu/%SUBDIR%/ \
ftp://ftp.ps.pl/mirrors/alpha.gnu.org/pub/gnu/%SUBDIR%/ \
+ http://downloads.planetmirror.com/pub/gnu-alpha/%SUBDIR%/ \
http://public.planetmirror.com/pub/gnu-alpha/%SUBDIR%/
.endif
@@ -643,6 +648,7 @@
ftp://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/%SUBDIR%/ \
http://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/%SUBDIR%/ \
ftp://ftp.planetmirror.com/pub/kde/%SUBDIR%/ \
+ http://downloads.planetmirror.com/pub/kde/%SUBDIR%/ \
http://public.planetmirror.com/pub/kde/%SUBDIR%/ \
ftp://ftp.ussg.iu.edu/pub/kde/%SUBDIR%/ \
http://ftp.ussg.iu.edu/kde/%SUBDIR%/ \
@@ -1152,6 +1158,7 @@
ftp://ftp.chg.ru/pub/Linux/SuSE/suse/%SUBDIR%/ \
http://mirror.pacific.net.au/linux/suse/%SUBDIR%/ \
ftp://ftp.planetmirror.com/pub/linux/suse/suse/%SUBDIR%/ \
+ http://downloads.planetmirror.com/pub/linux/suse/suse/%SUBDIR%/ \
http://public.planetmirror.com/pub/linux/suse/suse/%SUBDIR%/ \
ftp://mirror.aarnet.edu.au/pub/suse/%SUBDIR%/
.endif
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"