You are not logged in.

#1 2006-12-16 11:59:31

lang2
Member
Registered: 2006-02-10
Posts: 386

sourceforge download problem?

I used to use http://dl.sourceforge.net/sourceforge/foo/foo.tar.gz but it is not working anymore. Anybody having the same problem?


lang2

Offline

#2 2006-12-16 12:19:23

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: sourceforge download problem?

Everyone - try searching the forums

Offline

#3 2006-12-16 12:28:44

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: sourceforge download problem?

I often get problems when building packages from sourceforge .. I will have to find out the correct way to grab files ...

Looking at Pkgbuilds on forums I cannot see anything wrong with using above..

Not a problem I just go and grab tarballs ;-)


Mr Green

Offline

#4 2006-12-17 02:02:58

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: sourceforge download problem?

It didn't used to be a problem until SourceForge changed the way they forward to mirrors.  It no longer works just specifying <code>dl.sourceforge.net</code>, you actually have to specify a mirror.  There was a bug report sent to them at one point, but I believe that SourceForge wrote back and basically said that was just the way it worked now.  So I believe the "standard" way of writing PKGBUILDs is to just put <code>dl.sourceforge.net</code> and then the user has to change it to their preferred mirror, or put an entry in their <code>/etc/hosts</code> file to automatically go to their mirror's IP address...neither of which is a very elegant solution.

As dtw said, search for sourceforge and your should find plenty of threads about it...

Offline

#5 2006-12-17 10:47:54

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: sourceforge download problem?

Oh, I think the hosts way is a good solution myself - isn't that what hosts is for?

Offline

#6 2006-12-17 11:17:40

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: sourceforge download problem?

dtw wrote:

Oh, I think the hosts way is a good solution myself - isn't that what hosts is for?

i just hardcode my mirror in my packages. after all, nobody is going to build them more than me -- if anyone builds them at all.

though I guess AUR is a tad different.

James

Offline

#7 2006-12-17 11:28:32

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: sourceforge download problem?

well maybe thats the deal ... what to put in them for AUR ?

emm maybe a new feature for makepkg pull mirror ?


Mr Green

Offline

#8 2006-12-17 12:34:32

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: sourceforge download problem?

Mr Green wrote:

well maybe thats the deal ... what to put in them for AUR ?

emm maybe a new feature for makepkg pull mirror ?

i think it's a non issue, just pick a mirror and put it in, *most* source files from sourceforge aren't all too big -- a majority would be under 5mb, so at that size, mirror won't make an important difference.

James

Offline

#9 2006-12-17 15:41:22

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: sourceforge download problem?

ok lol .... just a thought ..


Mr Green

Offline

#10 2006-12-17 21:39:22

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: sourceforge download problem?

dtw wrote:

Oh, I think the hosts way is a good solution myself - isn't that what hosts is for?

I think the complaint that other people came up with for using the hosts file, is that the IP address for your particular mirror isn't guaranteed to stay the same all the time and you have to specify an IP address, not a FQDN in the hosts file.

I agree that just specifying a mirror in the PKGBUILD itself is the most simple method since that way the builds don't break and force the user to customize it before building.  I don't remember why exactly (I'd have to search the old threads), but I think most people were against that.  If you look at some of the comments in the AUR, you'll still see people recommending to remove specific mirrors and just use dl.sourceforge.net...meh, probably doesn't make a huge difference, but since SourceForge is such a large resource for packages, it wouldn't be a bad idea to standardize one way or the other.

Offline

#11 2006-12-18 08:07:37

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: sourceforge download problem?

it wouldn't be a bad idea to standardize one way or the other.

exactly   smile


Mr Green

Offline

#12 2006-12-18 20:32:03

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,919

Re: sourceforge download problem?

makepkg-sf

See forum topic for details


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#13 2006-12-19 08:17:02

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: sourceforge download problem?

well there you go .... 8)  should be added to makepkg  wink


Mr Green

Offline

#14 2006-12-19 21:23:54

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,919

Re: sourceforge download problem?

Unfortunately Phrakture feels the /etc/hosts solution is the preferred way and has decided the patch from T-Dawg will not be included in pacman 3.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#15 2006-12-19 22:04:40

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: sourceforge download problem?

Well, I don't see why not just use whatever the default mirror that SourceForge decides on for each individual project since it's really up to them to manage thier spreading out of resources.  Since that is the "official" way to download packages from them, why bother trying to build a system around it rather than just specifying a mirror, and if someone has a major speed problem with it, they can just edit it manually as they would have to do anyway if they downloaded a plain db.sourceforge.net pkgbuild without adding a custom entry to the hosts file.

Offline

#16 2006-12-20 07:39:15

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: sourceforge download problem?

/me must stop using aurbuild

Its not an issue for me, maybe I'll mess around with hosts


Mr Green

Offline

#17 2006-12-20 07:55:16

attila
Member
Registered: 2006-11-14
Posts: 293

Re: sourceforge download problem?

lang2 wrote:

I used to use http://dl.sourceforge.net/sourceforge/foo/foo.tar.gz but it is not working anymore. Anybody having the same problem?

I have good experiences with taking the long version "download" instead of the shorter "dl" so your example looks im my case in this form:

http://download.sourceforge.net/sourcef … foo.tar.gz

But sometimes sourceforge mirrors haven't the file if you want to update your own package directly after seen the message about it on freshmeat. In this case nothing helps.-)

Offline

Board footer

Powered by FluxBB