From owner-freebsd-ports@FreeBSD.ORG Tue Aug 11 15:43:56 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C53371065672 for ; Tue, 11 Aug 2009 15:43:56 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 243728FC21 for ; Tue, 11 Aug 2009 15:43:55 +0000 (UTC) Received: by bwz2 with SMTP id 2so2576234bwz.43 for ; Tue, 11 Aug 2009 08:43:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=MySTmOvaX36blKwxzp/l55hH0+tsdynIKVJ72L/QVxI=; b=elx/QK3Jcr80SjeG+N38BfpQFQxMh9GrI30FO219M7cEecA3IAc4UC1z779QwGbm2h UEylUNjqXXCuf+EkGFz85IRXVOb8DO3ZST49XndJ4TrZTTRE6Jw4+fO3/vVZkOo5311W IY4csg9AfF/DJlyOMiM35YpKOIf9nJVd0xQlg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dgLvBigf35pJ8nC1t4XEEmPaF90PwRbzI/rmlH1T/QtGK/4OEMDKINDTgMlGxHiiEB aUJ7q0zo6LIPov2lZdgaifZI9L08J3uxezlZSLu33chSxGG1gdLk7lIHX/5JYydPo9XN GurY35/Inkzs11RDTBkLQcAAmJgefRwftXHQA= MIME-Version: 1.0 Received: by 10.239.159.3 with SMTP id w3mr560349hbc.96.1250005434762; Tue, 11 Aug 2009 08:43:54 -0700 (PDT) In-Reply-To: <20090811152054.GB50944@hades.panopticon> References: <20090811152054.GB50944@hades.panopticon> Date: Tue, 11 Aug 2009 12:43:54 -0300 Message-ID: From: "Carlos A. M. dos Santos" To: Dmitry Marakasov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: makc@freebsd.org, freebsd-ports@freebsd.org Subject: Re: SourceForge changing file distribution scheme! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2009 15:43:57 -0000 On Tue, Aug 11, 2009 at 12:20 PM, Dmitry Marakasov 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.