Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 2009 12:43:54 -0300
From:      "Carlos A. M. dos Santos" <unixmania@gmail.com>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>
Cc:        makc@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: SourceForge changing file distribution scheme!
Message-ID:  <e71790db0908110843rdb23fabwb6a7dffe88ccbbd4@mail.gmail.com>
In-Reply-To: <20090811152054.GB50944@hades.panopticon>
References:  <20090811152054.GB50944@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 11, 2009 at 12:20 PM, Dmitry Marakasov<amdmi3@amdmi3.ru> wrote:
> Hi!
>
> I've noticed that SF is changing file distribution scheme significantly,
[...]
> As you can see, the distfile now redirects to another path and also
> another mirror. As fetch doesn't follow redirects by default, this won't
> work. My idea is that in addition to [old scheme]
>
> MASTER_SITE_SOURCEFORGE+= \
>        http://${mirror}.dl.sourceforge.net/sourceforge/%SUBDIR%/
>
> we'll need to add
>
> MASTER_SITE_SOURCEFORGE_NEW+= \
>        http://${mirror}.dl.sourceforge.net/project/%SUBDIR%/
>
> with coresponding macro (SF -> SFNEW)
>
> and we'll have to add pretty complex MASTER_SITE_SUBDIR to each updated
> port from SF.
>
> Any comments?

I found the same problem when attempted to fetch the new files for
Ayttm. Also noticed that the files are missing on some mirrors. As a
workaround, I replaced "SF" in MASTER_SITES by

PORTNAME=       ayttm
PORTVERSION=    0.5.0.111
CATEGORIES=     net-im
.for mirror in nchc kent ufpr heanet switch puzzle osdn ovh
MASTER_SITES+=http://${mirror}.dl.sourceforge.net/project/ayttm/ayttm/${PORTVERSION:R}-${PORTVERSION:E}/
.endfor
DISTNAME=       ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}

-- 
My preferred quotation of Robert Louis Stevenson is "You cannot
make an omelette without breaking eggs". Not because I like the
omelettes, but because I like the sound of eggs being broken.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e71790db0908110843rdb23fabwb6a7dffe88ccbbd4>