From owner-freebsd-ports Fri Jun 26 16:43:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA00287 for freebsd-ports-outgoing; Fri, 26 Jun 1998 16:43:46 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA00269 for ; Fri, 26 Jun 1998 16:43:34 -0700 (PDT) (envelope-from asami@vader.cs.berkeley.edu) Received: (from asami@localhost) by vader.cs.berkeley.edu (8.8.7/8.7.3) id QAA09289; Fri, 26 Jun 1998 16:43:28 -0700 (PDT) Date: Fri, 26 Jun 1998 16:43:28 -0700 (PDT) Message-Id: <199806262343.QAA09289@vader.cs.berkeley.edu> To: seggers@semyam.dinoco.de CC: ac199@hwcn.org, seggers@semyam.dinoco.de, freebsd-ports@FreeBSD.ORG In-reply-to: <199806262003.WAA00689@semyam.dinoco.de> (message from Stefan Eggers on Fri, 26 Jun 1998 22:03:18 +0200) Subject: Re: Concurrent package making allowed? From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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