Date: Fri, 26 Jun 1998 16:43:28 -0700 (PDT) From: asami@FreeBSD.ORG (Satoshi Asami) To: seggers@semyam.dinoco.de Cc: ac199@hwcn.org, seggers@semyam.dinoco.de, freebsd-ports@FreeBSD.ORG Subject: Re: Concurrent package making allowed? Message-ID: <199806262343.QAA09289@vader.cs.berkeley.edu> In-Reply-To: <199806262003.WAA00689@semyam.dinoco.de> (message from Stefan Eggers on Fri, 26 Jun 1998 22:03:18 %2B0200)
next in thread | previous in thread | raw e-mail | index | archive | help
FWIW, this is how I think it should be done: (1) A new mandatory file pkg/SIZE, containing the number of bytes required by the installation, to be submitted by the porter. Like files/md5, there is a target in bsd.port.mk to create it (probably via pkg_create, like you suggested). Maybe another target in bsd.port.mk to verify it, but it has to ignore a difference of a few bytes (few Kbytes?). (2) A new field in ports/INDEX containing all the sizes of all ports. (3) New option to pkg_create to calculate the size and print it out to stdout. Also another option to put the size file in the package itself. A new option to pkg_info to print the size out (in bytes) to stdout, as well as maybe mods to pretty-print it with the rest of the stuff. (4) sysinstall uses new field in ports/INDEX to do whatever nice things for the user (for instance, to warn they are about to exhaust their disk space by installing ktamaga which pulls in a whole bunch of kde stuff). 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?199806262343.QAA09289>