Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 1998 21:50:40 +0200
From:      Stefan Eggers <seggers@semyam.dinoco.de>
To:        hackers@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG
Cc:        "Jordan K. Hubbard" <jkh@time.cdrom.com>, Stefan Eggers <seggers@semyam.dinoco.de>
Subject:   package sizes (was: Re: 2.2.6 CD-ROM : Package dependencies up the creek ? )
Message-ID:  <199806211950.VAA04047@semyam.dinoco.de>
In-Reply-To: Your message of "Sat, 20 Jun 1998 21:56:34 PDT." <24004.898404994@time.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > The most important question first: How is the opinion on doing this
> > with a precomputed package size table on the CD?  Would it be worth to

> Depends mostly on how well integrated the creation and actual usage of
> this table was, I guess!  Diffs are always happily reviewed, at least. :)

I am now investigating the possibility of pkg_create doing the size
calculations based on the packing list.  The patch suggested on the
ports mailing list with the "grep <PLIST -v @" obviously can't work
here (the @cwd statements get ignored so the file names are not right
at least for some of the packages) and I think the propper solution
would be this one.

Then I intend to make a file with the size in KByte somewhere.  I set
it to the directory of the port for my experiments and modelled it
after the targets readmes and readme.  That builds a table from the
size files by just concatenating the ones one level below.  The end
result is a table of package name and size in KByte.

And I think this information should be in the package, too as someone
had suggested putting it in the package db to allow estimating how
much space would be freed by deleting a package.

Maybe I get it to work one day.  :-)

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?199806211950.VAA04047>