On 8/28/2011 10:05 PM, Conrad J. Sabatier wrote:
> I'm wondering how other ports maintainers are dealing with their 
> definitions of MASTER_SITES=, DISTFILES=, DISTNAME=, etc. with
> regards to Sourceforge.
> 
> In browsing a number of projects recently on Sourceforge, I've
> noticed that the paths to project distfiles are now using the
> element "projects" rather than "project".
> 
> What I'm looking for is how to declare things in a clean and elegant 
> fashion in a port's Makefile to handle these cases, one that will 
> hopefully not require any revisions for later upgrades.  Is it
> necessary to just scrap the "SF" definition entirely and hardcode the
> URL?
> 
> In addition, I've run across a few projects that use slightly
> differing versions of the project name, either somewhere in the path
> or for the distfile name itself.  For example, looking at the
> "scidvspc" project earlier today, I noticed this:
> 
> The link for the distfile is defined as:
> 
> http://sourceforge.net/projects/scidvspc/files/source/scid_vs_pc-4.5.tgz/download
>
>  Clicking the download link, one is presented with alternatives in
> case the download doesn't start automatically.
> 
> The "mirror" link:
> 
> https://sourceforge.net/settings/mirror_choices?projectname=scidvspc&filename=source/scid_vs_pc-4.5.tgz
>
>  The "direct link":
> 
> https://downloads.sourceforge.net/project/scidvspc/source/scid_vs_pc-4.5.tgz?r=&ts=1314582468&use_mirror=superb-sea2
>
>  Frankly, I'm baffled as to how our current definition of 
> "MASTER_SITES=SF/<something>" is supposed to handle all of this.
> 
> Can anyone point me towards a source of enlightenment?  :-)
> 
> Thanks!
> 

Slightly related and unrelated at the same time. So sorry if I drifted
too far. I was discussing this very concept about a month ago with a
friend. I was trying to update my PortableApps.om installation and the
script I had written to fetch updated apps broke because I couldn't
figure out how to handle these new url's. It would see SF's idea of a
direct link is a redirect, thus obfuscating the real servers even more
and the path the project is in....


-- 
> Chris Brennan -- A: Yes.
>> Q: Are you sure?
>>> A: Because it reverses the logical flow of conversation.
>>>> Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/ 
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)
------------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to