From owner-freebsd-ports Tue Mar 21 19: 8:52 2000 Delivered-To: freebsd-ports@freebsd.org Received: from smtp6.mindspring.com (smtp6.mindspring.com [207.69.200.110]) by hub.freebsd.org (Postfix) with ESMTP id CD57637BE09; Tue, 21 Mar 2000 19:08:45 -0800 (PST) (envelope-from asami@cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca6-109.ix.netcom.com [205.186.213.109]) by smtp6.mindspring.com (8.9.3/8.8.5) with ESMTP id WAA16083; Tue, 21 Mar 2000 22:08:16 -0500 (EST) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.3/8.6.9) id TAA05616; Tue, 21 Mar 2000 19:07:53 -0800 (PST) To: Kris Kennaway Cc: Nik Clayton , ports@FreeBSD.org Subject: Re: Feature request: Store dist file size somewhere References: From: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) Date: 21 Mar 2000 19:07:07 -0800 In-Reply-To: Kris Kennaway's message of "Tue, 21 Mar 2000 18:42:52 -0800 (PST)" Message-ID: Lines: 30 X-Mailer: Gnus v5.7/Emacs 20.6 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * From: Kris Kennaway * 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