You are not logged in.

#1 2006-01-11 15:56:58

RobK
Member
Registered: 2005-12-07
Posts: 121

Specifying Download Location for Source at SourceForge.net

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

#2 2006-01-11 16:01:31

pikass
Member
From: Schwartz space
Registered: 2005-11-28
Posts: 85

Re: Specifying Download Location for Source at SourceForge.net

source=(http://dl.sourceforge.net/sourceforge/project/$pkgname-$pkgver.tar.gz)

Offline

#3 2006-01-11 16:02:06

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Specifying Download Location for Source at SourceForge.net

Just use 'dl.sourceforge.net'. It chooses "random" download location and that's the preferred way used in PKGBUILDs.

Offline

#4 2006-01-11 16:14:10

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Specifying Download Location for Source at SourceForge.net

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

#5 2006-01-11 19:47:43

RobK
Member
Registered: 2005-12-07
Posts: 121

Re: Specifying Download Location for Source at SourceForge.net

Thanks for all the input.  I will give it a try.

Rob

Offline

#6 2006-01-11 20:58:02

RobK
Member
Registered: 2005-12-07
Posts: 121

Re: Specifying Download Location for Source at SourceForge.net

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

#7 2006-01-11 22:04:40

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Specifying Download Location for Source at SourceForge.net

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

#8 2006-01-11 23:09:14

RobK
Member
Registered: 2005-12-07
Posts: 121

Re: Specifying Download Location for Source at SourceForge.net

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

Board footer

Powered by FluxBB