You are not logged in.

#1 2006-06-07 13:19:00

jaboua
Member
Registered: 2005-11-05
Posts: 634

Specific sourceforge mirrors in PKGBUILDs

WillySilly sent me a message in AUR not long ago about wesnoth-dev, saying not to use specific sourceforge mirrors... The problem is that if I don't, the PKGBUILD won't work. I tried asking in AUR and PM-ing WillySilly, but I haven't gotten any answer.

This is the source accessed from the PKGBUILD (I changed $pkg* variables to their values in the links):
http://heanet.dl.sourceforge.net/source … 1.4.tar.gz

If I change it to this, it doesn't work - after testing with wget I found out that it's downloading a HTML page with the sourceforge mirrors instead...
http://dl.sourceforge.net/sourceforge/w … 1.4.tar.gz

I also tried this one, but still just downloads a mirrorlist:
http://prdownloads.sourceforge.net/wesn … .4.tar.gz/

So do anyone have a suggestion how not to use specific sourceforge mirror?

Offline

#2 2006-06-07 13:28:40

JGC
Developer
Registered: 2003-12-03
Posts: 1,659

Re: Specific sourceforge mirrors in PKGBUILDs

It's http://dl.sourceforge.net/projectname/filename

The problem I have with dl.sourceforge.net is that it always redirects me to a mirror that is down, so I change it to heanet if the dl.sf.net link doesn't start downloading files within 10 seconds.

Offline

#3 2006-06-07 13:56:38

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Offline

#4 2006-06-07 15:44:04

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: Specific sourceforge mirrors in PKGBUILDs

http://dl.sourceforge.net/wesnoth/wesnoth_1.1.4.tar.gz still downloads just a HTML file with mirrors?

Offline

#5 2006-06-08 00:30:24

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Specific sourceforge mirrors in PKGBUILDs

http://dl.sourceforge.net/sourceforge/w … 1.4.tar.gz works for me:

$ makepkg 
==> Entering fakeroot environment
==> Making package: wesnoth-dev 1.1.4-1 (Wed Jun  7 20:26:53 EDT 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Downloading wesnoth_1.1.4.tar.gz
--20:26:53--  http://dl.sourceforge.net/sourceforge/wesnoth/wesnoth_1.1.4.tar.gz
           => `wesnoth_1.1.4.tar.gz'
Resolving dl.sourceforge.net... 64.74.207.41, 128.101.240.209, 212.219.56.167, ...
Connecting to dl.sourceforge.net|64.74.207.41|:80... failed: Connection refused.
Connecting to dl.sourceforge.net|128.101.240.209|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 72,770,670 (69M) [application/x-gzip]

 4% [=>                                                    ] 3,416,416    525.03K/s    ETA 02:11/usr/bin/fakeroot: line 154: kill: (20480) - No such process

The fakeroot stuff at the end is beacause I pressed ^C to stop the download.

Offline

#6 2006-06-08 06:19:45

JGC
Developer
Registered: 2003-12-03
Posts: 1,659

Re: Specific sourceforge mirrors in PKGBUILDs

jaboua wrote:

http://dl.sourceforge.net/wesnoth/wesnoth_1.1.4.tar.gz still downloads just a HTML file with mirrors?

Could be, you're redirected to a broken mirror that doesn't have the file, so that redirects you to a page which allows you to choose a mirror.

Sourceforge uses wonderful system, doesn't it? tongue

Offline

#7 2006-06-08 09:33:15

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: Specific sourceforge mirrors in PKGBUILDs

JGC wrote:

Could be, you're redirected to a broken mirror that doesn't have the file, so that redirects you to a page which allows you to choose a mirror.

Yeah, makes sense now... I guess I have to use SF mainpage anyway then, I'll try the /etc/hosts trick mentioned in one of Dusty's links.

EDIT: with the hosts trick everything works for me too now, I'll upload the PKGBUILD with link to dl.sourceforge.net now.

Offline

#8 2013-08-28 14:49:36

grufo
Member
Registered: 2012-08-09
Posts: 64

Re: Specific sourceforge mirrors in PKGBUILDs

Offline

#9 2013-08-28 15:57:49

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,966

Re: Specific sourceforge mirrors in PKGBUILDs

So you're bumping 7 and 8 year old threads with a link to your 9 month old thread with a rejected idea? What did you hope to accomplish?

Online

#10 2013-08-28 16:37:53

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,687
Website

Re: Specific sourceforge mirrors in PKGBUILDs

While the linked discussion appears relevant, this thread is from 2006 and thus no longer relevant itself.

Closing...

Offline

Board footer

Powered by FluxBB