Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2011 12:11:57 +0200
From:      David Demelier <demelier.david@gmail.com>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: patch for force fetch
Message-ID:  <4DD0F86D.7060404@gmail.com>
In-Reply-To: <4DD0E335.7060601@FreeBSD.org>
References:  <4DD0CC21.5050305@FreeBSD.org> <4DD0DCD3.4030906@gmail.com> <4DD0E335.7060601@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16/05/2011 10:41, Andriy Gapon wrote:
> on 16/05/2011 11:14 David Demelier said the following:
>> On 16/05/2011 09:02, Andriy Gapon wrote:
>>>
>>> I've noticed the following problem.
>>> If a distfile is updated by a distributor without renaming it (so that checksum
>>> and possibly size change), then more often than not the port build system would
>>> fail to fetch the distfile.
>>> An example:
> [snip]
>>> I think that this happens because the old version of the distfile is still
>>> present in download target location and fetch(1) thinks that it has a partially
>>> downloaded file and tries to be smart.
>>>
>>> The following patch simply tries to remove the stale distfile before calling
>>> fetch.  Maybe there is a smarter way about this, like e.g. passing some option
>>> to fetch.
> [snip]
>>
>> make -DNO_CHECKSUM=yes ... is probably what you want, I guess.
>
> I fail to see why.  Can you elaborate?
>

Sorry I misunderstood what you wanted.. Also I didn't see your 
@FreeBSD.org ;-)

Cheers,

-- 
David Demelier



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