Date: 21 Mar 2000 19:07:07 -0800 From: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) To: Kris Kennaway <kris@FreeBSD.org> Cc: Nik Clayton <nik@FreeBSD.org>, ports@FreeBSD.org Subject: Re: Feature request: Store dist file size somewhere Message-ID: <vqcln3bu2hw.fsf@silvia.hip.berkeley.edu> In-Reply-To: Kris Kennaway's message of "Tue, 21 Mar 2000 18:42:52 -0800 (PST)" References: <Pine.BSF.4.21.0003211840440.84343-100000@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* From: Kris Kennaway <kris@FreeBSD.org> * On Wed, 22 Mar 2000, Nik Clayton wrote: * * > A small feature request: would it be possible to store the size of the * > distfile(s) somewhere in the ports tree, files/size perhaps? * * It's surely possible :) Yes...in fact, there is some support in already in bsd.port.mk (disabled for now) to check the size at the ftp site and don't even try to fetch if the size doesn't match. Last time we discussed it, we haven't quite agreed what the semantics should be on a failure. * I think it would be a worthwhile idea..fairly easy to automatically add, * too. Something like the 'make makesum' target could generate the size list * for all the existing ports. See bsd.port.mk please. * An alternative idea is to add the ability to display the file size to * md5(1) at the source, and just switch bsd.port.mk to using the new flag * and storing the size in files/md5. By the way, don't worry about the name "files/md5", we're going to change it soon. I'm thinking "checksums" or "filelist". (No, "distfiles" won't be good, since it will confuse things like "find /usr/ports ! -name distfiles"). Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?vqcln3bu2hw.fsf>