Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2481 - Portage Domain Name aliases
Summary: Portage Domain Name aliases
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: Highest major (vote)
Assignee: Sandy McArthur
URL:
Whiteboard:
Keywords:
: 2554 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-05 19:23 UTC by Ryan Phillips (RETIRED)
Modified: 2011-10-30 22:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix-sf-urls.sh (fix-sf-urls.sh,1.19 KB, text/plain)
2002-05-08 00:10 UTC, Sandy McArthur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Phillips (RETIRED) gentoo-dev 2002-05-05 19:23:34 UTC
It appears sourceforge is supporting mirrors now...  Downloading from
prdownloads.sf.net doesn't work all the time, atleast for strace (#2449). 
Browsing to http://prdownloads.sourceforge.net/strace/ leads to SF asking for us
to select a mirror to download from.  A fix to the problem is select a mirror
(in my case I chose telia.dl.sf.net), and everything works fine.

A proposed long term solution is for portage to support domain name aliases, like:
${SOURCEFORGE_US_MIRROR}, or ${SOURCEFORGE_AUS_MIRROR} etc.  karltk proposed the
mirror file could be located in /etc/make.profile/mirrors.  The file can get
sourced in the same environment as the ebuild.
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2002-05-05 19:35:13 UTC
oops.  It should be ${SOURCEFORGE_MIRROR} in ebuilds, and within the
/etc/make.profile/mirrors the user should be able to set the mirror location.
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2002-05-07 22:02:44 UTC
*** Bug 2554 has been marked as a duplicate of this bug. ***
Comment 3 Sandy McArthur 2002-05-07 22:38:29 UTC
I'm currently working on a script to fix this.
Comment 4 Sandy McArthur 2002-05-08 00:10:06 UTC
Created attachment 890 [details]
fix-sf-urls.sh

Download to: "fix-sf-urls.sh". make it executable with `chmod a+x
fix-sf-urls.sh` . Then run it like: `/path/to/fix-sf-urls.sh /usr/portage /tmp`
Comment 5 Ryan Phillips (RETIRED) gentoo-dev 2002-05-24 01:31:47 UTC
I believe this bug has been resolved... true?
Comment 6 Sandy McArthur 2002-05-24 09:06:50 UTC
Yes, or at least a fix is being tested and will be available soon.