planetmirror sites

2007-04-11 Thread Marcin Simonides
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 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.

--
Marcin Simonides
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: planetmirror sites

2007-04-11 Thread RW
On Wed, 11 Apr 2007 21:39:09 +0200
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 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 ;)
> 

Setting

MASTER_SORT_REGEX=  ^ftp://

in make.conf might be a good workaround.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: planetmirror sites

2007-04-11 Thread Scot Hetzel

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]"

Re: planetmirror sites

2007-04-12 Thread Marcin Simonides

Scot Hetzel napisaƂ(a):


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 


Heh, why haven't I thought of that? :)


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.


Thanks.
Unfortunately, the guys at planetmirror have thought of that: the client 
is redirected back to public.planetmirror.com on the first download 
attempt (the next one succeeds, there must be some logic to allow 
download after the url starting with public has been accessed).


I guess I'll file a PR anyway, just with the suggestion of removing 
these sites. Unless there's something else I could try/test.


Here's how it looks (using portupgrade, but that's irrelevant), the next 
site on the list is tried:


[...]
=> Attempting to fetch from 
http://downloads.planetmirror.com/pub/gnome/sources/libbonoboui/2.18/.
fetch: 
http://downloads.planetmirror.com/pub/gnome/sources/libbonoboui/2.18/libbonoboui-2.18.0.tar.bz2: 
Moved Temporarily
=> Attempting to fetch from 
http://public.planetmirror.com/pub/gnome/sources/libbonoboui/2.18/.
fetch: 
http://public.planetmirror.com/pub/gnome/sources/libbonoboui/2.18/libbonoboui-2.18.0.tar.bz2: 
size unknown
fetch: 
http://public.planetmirror.com/pub/gnome/sources/libbonoboui/2.18/libbonoboui-2.18.0.tar.bz2: 
size of remote file is not known

libbonoboui-2.18.0.tar.bz2  25 kB   14 kBps
===>  Extracting for libbonoboui-2.18.0
=> MD5 Checksum mismatch for gnome/libbonoboui-2.18.0.tar.bz2.
=> SHA256 Checksum mismatch for gnome/libbonoboui-2.18.0.tar.bz2.
[...]

--
Marcin Simonides
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"