cvs commit: ports/archivers/9e distinfo ports/archivers/bzip distinfo ports/archivers/cabextract distinfo ports/archivers/dact distinfo ports/archivers/fastjar distinfo ports/archivers/gshar+gunsh

Ion-Mihai Tetcu itetcu at apropo.ro
Wed Jan 28 06:11:21 PST 2004


On Wed, 28 Jan 2004 08:24:13 -0500 (EST)
Trevor Johnson <trevor at jpj.net> wrote:

> Kirill Ponomarew wrote:
> 
> > *sigh* I'm thinking as before about /usr/ports/CHANGES...
> 
> How does this sound?
> 
> SIZE lines in distinfo files:  if you set USE_SIZE when you do "make
> makesum", the byte sizes of the distfiles will be listed in the distinfo
> file.  Then, if a distfile is replaced on its master site with one of a
> different size than that listed, "make fetch" will fail with a "size
> mismatch" error before downloading the file and the user will be asked to
> fetch the file by hand.

I think a separate make checksize target would be nice; it will allow
users to test if their local distfile has the same size with the one
listed in the distinfo and make fetch based on that. This could be
useful when using make fetch from scripts, as I do.

Of course, the make checksum will first test for the size, and only if
the downloaded file has the a good size will check the md5. On "bulk"
operation this saves resources.


-- 
IOnut
Unregistered ;) FreeBSD user


More information about the cvs-all mailing list