Date: Thu, 18 Jun 1998 07:59:36 +0200 (MET DST) From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de> To: freebsd-ports@FreeBSD.ORG Subject: Re: Size of a port... Message-ID: <199806180559.HAA18593@rfhs8028.fh-regensburg.de>
next in thread | raw e-mail | index | archive | help
In article <199806160519.OAA24788@cain.gsoft.com.au> you wrote: > > 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 > > be added to bsd.port.mk to create such a file. Please let me know what you > > think. > This would be a bit useless for an ftp install.. > You have to have it before you can see how big it will be :) > A seperate info file about each package would be better.. Maybe.. How about generating pkg_create generate this information automatically and putting it into the port's +CONTENTS file. Then teach pkg_info some "give me the size of a port" option to retrieve it, which will then work for installed and uninstalled packages, of the latter not caring if they are on the local machine or available via some ftp:// URL. For the ftp-install, you'd have to "pkg_info -s ftp://.../foo.tgz" instead of downloading the size-file manually, which I think would be acceptable. Also, associating a port with any size of some (compiled binary) package seems a bit misleading to me, as the size may vary if e.g. some dependant (static) lib changes, or you might not even know what compiler-toolchain the building user's using (or even which architecture :-). - Hubert -- Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de> 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?199806180559.HAA18593>