Date: Mon, 16 May 2011 11:41:25 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: David Demelier <demelier.david@gmail.com> Cc: freebsd-ports@FreeBSD.org Subject: Re: patch for force fetch Message-ID: <4DD0E335.7060601@FreeBSD.org> In-Reply-To: <4DD0DCD3.4030906@gmail.com> References: <4DD0CC21.5050305@FreeBSD.org> <4DD0DCD3.4030906@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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? -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DD0E335.7060601>