You are not logged in.
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
Everyone - try searching the forums
Offline
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
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
Oh, I think the hosts way is a good solution myself - isn't that what hosts is for?
Offline
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
well maybe thats the deal ... what to put in them for AUR ?
emm maybe a new feature for makepkg pull mirror ?
Mr Green
Offline
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
ok lol .... just a thought ..
Mr Green
Offline
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
it wouldn't be a bad idea to standardize one way or the other.
exactly
Mr Green
Offline
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
well there you go .... 8) should be added to makepkg
Mr Green
Offline
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
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
/me must stop using aurbuild
Its not an issue for me, maybe I'll mess around with hosts
Mr Green
Offline
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