CRUX

Your vote could not be added at this time.
Welcome to CRUX bug tracking.
Tasklist

FS#587 - Replacing dl.sourceforge.net with prdownloads.sourceforge.net in every Pkgfile

Attached to Project: CRUX
Opened by Sÿl (silversens) - Thursday, 13 May 2010, 16:29 GMT
Last edited by Juergen Daubert (jue) - Saturday, 09 October 2010, 14:07 GMT
Task Type Feature Request
Category ports → core/opt
Status Closed
Assigned To No-one
Operating System CRUX
Severity Low
Priority Normal
Reported Version 2.6
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Hi,

One thing which is quite bugging me out (and probably other ones) are downloads through sourceforge
that fails for no responding mirrors, 404 http codes, or so.
One thing that I'm doing since almost two years now is running after a "ports -u" a replace of "dl.sourceforge.net" with "prdownloads.sourceforge.net".
This fixes all the problems of that kind.

What do you think of using it in every core/opt/xorg Pkgfiles ?
This task depends upon

Closed by  Juergen Daubert (jue)
Saturday, 09 October 2010, 14:07 GMT
Reason for closing:  Fixed
Comment by Juergen Daubert (jue) - Friday, 14 May 2010, 08:17 GMT
The best way to solve the sourceforge problems is to preselect a mirror, see http://crux.nu/Wiki/FaqPortsSystem#ntoc8 or http://crux.nu/Wiki/PostInstallationNotes.
A list of available mirrors is here: http://sourceforge.net/apps/trac/sourceforge/wiki/Mirrors.
Comment by Sÿl (silversens) - Friday, 14 May 2010, 12:20 GMT
Thank you for your reply.

I already know that solution and I've been using it for a while, but it didn't fix my problems, see sometimes the mirror was down, or was taking minutes to timeout, which is really not appreciable.
The prdownloads solutions really rocks : it tries every mirror, redirecting one to another if it doesn't respond, gives a 404 or timeouts !

Plus that solution still allows the selection of a mirror the way you propose it.
Comment by Sÿl (silversens) - Saturday, 09 October 2010, 13:19 GMT
  • Field changed: Percent Complete (100% → 0%)
this issue was closed with reason for closing : fixed.

This is wrong, it is still not fixed in 2.7.
Could you please update its status for won't fix and explain a reason why it won't be fixed ?
Comment by Juergen Daubert (jue) - Saturday, 09 October 2010, 13:21 GMT
We fixed the issue recently for all core and opt ports. Did we miss some ports?
Comment by Sÿl (silversens) - Saturday, 09 October 2010, 13:28 GMT
I don't know, maybe I'm missing something : I updated yesterday to 2.7 and that command returns nothing :

$ cat /usr/ports/{core,opt}/*/Pkgfile | grep prdownloads

but this one does (see attached output)

$ cat /usr/ports/{core,opt}/*/Pkgfile | grep downloads.sourceforge
   tmp (3 KiB)
Comment by Juergen Daubert (jue) - Saturday, 09 October 2010, 13:42 GMT
yeah, that's correct. The desired solution was to change dl.sourceforge.net to downloads.sourceforge.net. Your preferred prdownloads.sourceforge.net is just a CNAME to downloads.sourceforge.net.

$:> dig prdownloads.sourceforge.net

; <<>> DiG 9.7.1 <<>> prdownloads.sourceforge.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31351
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;prdownloads.sourceforge.net. IN A

;; ANSWER SECTION:
prdownloads.sourceforge.net. 3600 IN CNAME downloads.sourceforge.net.
downloads.sourceforge.net. 2983 IN A 216.34.181.59
Comment by Sÿl (silversens) - Saturday, 09 October 2010, 13:57 GMT
Ok thank you, I didn't know that !

Loading...