From owner-cvs-all@FreeBSD.ORG Wed Jan 28 06:11:21 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA98216A4D0 for ; Wed, 28 Jan 2004 06:11:21 -0800 (PST) Received: from rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16A7C43D45 for ; Wed, 28 Jan 2004 06:11:15 -0800 (PST) (envelope-from itetcu@apropo.ro) Received: (qmail 3384 invoked from network); 28 Jan 2004 13:54:33 -0000 Received: from unknown (HELO it.buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 28 Jan 2004 13:54:32 -0000 Date: Wed, 28 Jan 2004 15:55:58 +0200 From: Ion-Mihai Tetcu To: Trevor Johnson Message-Id: <20040128155558.3d33bed4@it.buh.cameradicommercio.ro> In-Reply-To: <20040128081934.U62139@blues.jpj.net> References: <200401272051.i0RKp7J6006306@repoman.freebsd.org> <53963718.1075241820@pouet.in.mat.cc> <1075238894.733.10.camel@gyros> <20040128085404.GE9290@voodoo.oberon.net> <20040128125646.GB20343@voodoo.oberon.net> <20040128081934.U62139@blues.jpj.net> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: cvs-ports@FreeBSD.org cc: Kirill Ponomarew cc: Erwin Lansing cc: cvs-all@FreeBSD.org cc: ports-committers@FreeBSD.org Subject: Re: 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 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 14:11:21 -0000 On Wed, 28 Jan 2004 08:24:13 -0500 (EST) Trevor Johnson 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