Date: Mon, 22 Jun 1998 15:41:29 +0200 From: Stefan Eggers <seggers@semyam.dinoco.de> To: "Justin M. Seger" <jseger@freebsd.scds.com> Cc: ports@FreeBSD.ORG, asami@cs.berkeley.edu, seggers@semyam.dinoco.de Subject: Re: Size of a port... Message-ID: <199806221341.PAA04632@semyam.dinoco.de> In-Reply-To: Your message of "Mon, 15 Jun 1998 22:44:00 EDT." <199806160244.WAA26468@freebsd.scds.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806221341.PAA04632>