From owner-freebsd-ports Tue Mar 21 18:42:54 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9026237BF4C; Tue, 21 Mar 2000 18:42:52 -0800 (PST) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id SAA84771; Tue, 21 Mar 2000 18:42:52 -0800 (PST) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Tue, 21 Mar 2000 18:42:52 -0800 (PST) From: Kris Kennaway To: Nik Clayton Cc: ports@freebsd.org Subject: Re: Feature request: Store dist file size somewhere In-Reply-To: <20000322000312.A53101@catkin.nothing-going-on.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: 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 :) > I'm in the middle of installing x11-wm/enlightenment on a fresh 4.0 > system, and the number of other files it depends on is somewhat excessive. > Being able to get some idea of how big the distfiles are beforehand (which > could be printed out as part of the fetch-list target) would suggest as to > whether or not it's a task to be postponed until there's more free time > to watch the modem. > > No patches yet, because I don't know if someone else is already planning > this, or what other people's ideas of the best way to implement it would > be. 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. 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. Kris ---- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message