You are not logged in.
I would like to create a new package. The source code is located at prdownloads.sourceforge.net. Normally when you click the link, another web page opens asking you to specify a download location.
How should I specify the download link in the PKBUILD file in this case?
Rob
Offline
source=(http://dl.sourceforge.net/sourceforge/project/$pkgname-$pkgver.tar.gz)
Offline
Just use 'dl.sourceforge.net'. It chooses "random" download location and that's the preferred way used in PKGBUILDs.
Offline
if dl.sourceforge.net doesn't find anything you may want to alias it to something else in your hosts file. I have to alias it to the ip of unc.sourceforge.net.
Offline
Thanks for all the input. I will give it a try.
Rob
Offline
I got it to work but I had to specify a mirror as follows:
http://easynews.dl.sourceforge.net/sour … er.tar.gz)
I could not use the random mirror approach since it would appear that the file in question is not on all mirrors.
Rob
Offline
I doubt that - it's more likely that the random server approach is giving random results. I've often had very poor response using just dl.sf.net, and occasionally no response at all. For my personal use, I always change to my local sf mirror, but I still think it makes sense to use the random URL in PKGBUILDS.
Offline
No. The mirror responds fine but the file is NOT located on it. For example, I can download from the Phoenix mirror but not the Atlanta mirror.
When I try the random approach, I get the following message:
"You are requesting file: /linux-hotplug/fxload-2002_04_11.tar.gz
There was a problem downloading the file from sourceforge.irlab.pnap.net. Please try a different mirror."
I then try Atlanta. No go. and so on. Then I try Phoenix -- I can download the file fine.
The Atlanta mirror is responding fine. The file just is not there.
Rob
Offline