![](https://secure.gravatar.com/avatar/5fbfdcc9fece431e1ca05e46e42255d6.jpg?s=120&d=mm&r=g)
On Wed, Jun 16, 2010 at 01:12:26PM +0900, Alan wrote: Hi Alan,
We have many ports with sourceforge URLs that don't work reliably (for whatever reason), and its always a pain to build these ports.
So I propose that everybody change their URLs to the one that has always worked for me:
thanks for your suggestion, but as you can see in your example below, this only redirects to a different URL which seems to be the 'new' layout of sourceforge: http://downloads.sourceforge.net/project/<project_name>/<sub_project_name>/<version>/<file_name> I've noticed the first time yesterday that the pattern we are currently using in most of our ports dosn't work anymore, though your suggestion still does. Dunno why, but one point is that prdownloads.sf.net, which is a CNAME to downloads.sf.net, is a different server (216.34.181.129) than downloads.sourceforge.net (216.34.181.59) or dl.sourceforge.net (216.34.181.138) The mirror has finally a URL like http://heanet.dl.sourceforge.net/... At all I'm against to change everything to a different URL, which is quite a lot of work, and in a few months we have to do that again. I'd suggest we try to get reliable informations from the sourceforge admins how to do it best. Volunteers? Best regards Juergen
Example:
[root@ares2 libid3tag]# sudo -H -u pkgmk fakeroot pkgmk -do =======> Downloading 'http://dl.sourceforge.net/mad/libid3tag-0.15.1b.tar.gz'. --2010-06-16 13:05:11-- http://dl.sourceforge.net/mad/libid3tag-0.15.1b.tar.gz Resolving dl.sourceforge.net... 216.34.181.138 Connecting to dl.sourceforge.net|216.34.181.138|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://sourceforge.net/downloads/mad/libid3tag-0.15.1b.tar.gz [following] --2010-06-16 13:05:11-- http://sourceforge.net/downloads/mad/libid3tag-0.15.1b.tar.gz Resolving sourceforge.net... 216.34.181.60 Connecting to sourceforge.net|216.34.181.60|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2010-06-16 13:05:11 ERROR 404: Not Found.
=======> ERROR: Downloading 'http://dl.sourceforge.net/mad/libid3tag-0.15.1b.tar.gz' failed.
[root@ares2 libid3tag]# sed -i -e 's|http://dl.sourceforge.net/| http://prdownloads.sf.net/|g' Pkgfile
[root@ares2 libid3tag]# sudo -H -u pkgmk fakeroot pkgmk -do =======> Downloading 'http://prdownloads.sf.net/mad/libid3tag-0.15.1b.tar.gz'. =======> Partial download found, trying to resume --2010-06-16 13:05:28-- http://prdownloads.sf.net/mad/libid3tag-0.15.1b.tar.gz Resolving prdownloads.sf.net... 216.34.181.129 Connecting to prdownloads.sf.net|216.34.181.129|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://downloads.sourceforge.net/project/mad/libid3tag/0.15.1b/libid3tag-0.1... [following] --2010-06-16 13:05:28-- http://downloads.sourceforge.net/project/mad/libid3tag/0.15.1b/libid3tag-0.1... Resolving downloads.sourceforge.net... 216.34.181.59 Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://hivelocity.dl.sourceforge.net/project/mad/libid3tag/0.15.1b/libid3tag... [following] --2010-06-16 13:05:29-- http://hivelocity.dl.sourceforge.net/project/mad/libid3tag/0.15.1b/libid3tag... Resolving hivelocity.dl.sourceforge.net... 74.50.111.26 Connecting to hivelocity.dl.sourceforge.net|74.50.111.26|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 338143 (330K) [application/x-gzip] Saving to: `/usr/ports/dist/libid3tag-0.15.1b.tar.gz.partial'
100%[=======================================================>] 338,143 115K/s in 2.9s
2010-06-16 13:05:32 (115 KB/s) - `/usr/ports/dist/libid3tag-0.15.1b.tar.gz.partial' saved [338143/338143]
-- Alan _______________________________________________ CRUX mailing list CRUX@lists.crux.nu http://lists.crux.nu/mailman/listinfo/crux
-- Juergen Daubert | mailto:jue@jue.li Korb, Germany | http://jue.li/crux