Subject: Re: fetching after an interupted or corrupted download
To: None <tech-pkg@netbsd.org>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: tech-pkg
Date: 02/23/2002 23:21:56
On Fri, Feb 22, 2002 at 08:36:17AM -0600, Frederick Bruckman wrote:
> On Fri, 22 Feb 2002, Lubomir Sedlacik wrote:
> 
> > what you want is to have more intelligent 'fetch' target and i can only
> > agree with you. although, i don't see a reason why should we create a
> > new target for re-downloading corrupted archives. this should be handled
> > with 'extract' target and fall back to 'distclean' && 'fetch'.
> 
> Would it make sense to overload FAILOVER_FETCH to delete a corrupted
> archive that already exists? It already does that for freshly downloaded

Arg, please not.

There are a lot of big distfiles in pkgsrc and doing a touch $DISTFILE
makes it possible to still do a make fetch in pkgsrc, without fetching this
big files.

Bernd