From owner-freebsd-ports Mon Jun 22 07:24:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA07105 for freebsd-ports-outgoing; Mon, 22 Jun 1998 07:24:35 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from tim.xenologics.com (tim.xenologics.com [194.77.5.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA07092 for ; Mon, 22 Jun 1998 07:24:25 -0700 (PDT) (envelope-from seggers@semyam.dinoco.de) Received: (from uucp@localhost) by tim.xenologics.com (8.8.5/8.8.8) with UUCP id QAA07169; Mon, 22 Jun 1998 16:18:43 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by semyam.dinoco.de (8.8.8/8.8.8) with ESMTP id PAA04632; Mon, 22 Jun 1998 15:41:30 +0200 (CEST) (envelope-from seggers@semyam.dinoco.de) Message-Id: <199806221341.PAA04632@semyam.dinoco.de> To: "Justin M. Seger" cc: ports@FreeBSD.ORG, asami@cs.berkeley.edu, seggers@semyam.dinoco.de Subject: Re: Size of a port... In-reply-to: Your message of "Mon, 15 Jun 1998 22:44:00 EDT." <199806160244.WAA26468@freebsd.scds.com> Date: Mon, 22 Jun 1998 15:41:29 +0200 From: Stefan Eggers Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > A few people have expressed interest in a file being stored with every port > that contains the size of the installed port. Here are a few lines that coul d > be added to bsd.port.mk to create such a file. Please let me know what you I just finished a patch to pkg_create which puts a file +SIZE in the tar ball. The new pkg_add knows that this belongs into the package database. And finally the new pkg_info knows where to get this info and how to display it. Only bad thing is that pkg_info doesn't do any fancy formatting, yet. It just prints the size in bytes from the file w/o any change. That looks a bit ugly. As supportive feature for future additions pkg_create also can put the estimated size into a file named on the command line. The next thing to do is adding some support to bsd.port.(%|subdir.)mk to put the size estimations created by pkg_create together to a large table a la INDEX. After doing that sysinstall will have to get a bit more functionality in the package management to actually show the sizes from this table. Then the support should be complete. Stefan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message