Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2002 21:53:29 -0500 (EST)
From:      Peter Leftwich <Hostmaster@Video2Video.Com>
To:        Greg 'groggy' Lehey <grog@FreeBSD.ORG>
Cc:        Kris Kennaway <kris@obsecurity.org>, FreeBSD Questions LIST <FreeBSD-Questions@FreeBSD.ORG>
Subject:   Re: Ports base? [hear me roar]
Message-ID:  <Pine.BSF.4.50.0211252145020.26262-100000@earl-grey.cloud9.net>
In-Reply-To: <20021125010146.GF90600@wantadilla.lemis.com>
References:  <20021124000210.A219-100000@dhcp-407-32.san.rr.com> <20021124081251.GA60642@rot13.obsecurity.org> <20021125001831.GD90600@wantadilla.lemis.com> <20021125005107.GA64948@rot13.obsecurity.org> <20021125010146.GF90600@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Nov 2002, Greg 'groggy' Lehey wrote:
> On Sunday, 24 November 2002 at 16:51:07 -0800, Kris Kennaway wrote:
> > On Mon, Nov 25, 2002 at 10:48:31AM +1030, Greg 'groggy' Lehey wrote:
> >> On Sunday, 24 November 2002 at  0:12:51 -0800, Kris Kennaway wrote:
> >>> On Sun, Nov 24, 2002 at 12:03:46AM -0800, Peter Leftwich wrote:
> >>>> I tried to install just the ports "base" using sysinstall but it
> >>>> started to download the entire ports collection, and my HD space is
> >>>> limited.
> >>>
> >>> I didn't think that sysinstall allowed you to install parts of the
> >>> ports collection, only the entire collection (which is about 9MB).
> >>
> >> Those were the days.  I've just checked out the ports tree, and it's
> >> 314 MB!  This is probably partially a consequence of the larger file
> >> system block size on modern systems, and also of course because of the
> >> CVS directories (each of which takes up 16 kB), for a total of 128 MB.
> >> Even without them, though, that leaves 186 MB.
> >
> > You're correct I was underestimating (I was thinking of the compressed
> > ports.tar.gz file), but my CVS ports tree is only 204MB including CVS
> > directories, so I think you're overestimating (perhaps you included
> > the distfiles/ directory?)
> Nope, as I said, I checked out a completely new tree from the
> repository.  FWIW, my real ports tree (including distfiles) runs to 3.1 GB.
>
> I'd guess that your file system block size is smaller than mine.  The
> default for new file systems is now 16 kB block and 2 kB fragments,
> and since nearly every file in the Ports Collection is smaller than
> the old 512 bytes fragment size, this means that they are now 1.5 kB
> larger.  My ports tree currently has 170,000 files in it (including
> distfiles, admittedly; I don't want to check out again), so that's in
> the right ball park. -Greg
> --
> See complete headers for address and phone numbers

You dunderheads :) are all missing the point.  Why isn't there something a
few notches above "pkg_add -r" and a few notches below knowing how to cvsup
and downloading a massive, obscenely extravagant ports tree?

Why can't someone write a shell script or binary that would prompt the user with:
	Hello, which port would you like?

User enters something like this at that point:
	/usr/ports/java/jdk13/

Then the script would fetch
ftp://ftp.freebsd.org/something/current/ports/java/jdk13.tgz and set to
work untarring then changing to that directory and running "make install
clean" and if there were a dependency or problem, offer the user some
feedback such as "java/jdk13 requires the following (not found):
javabeans.jvm
user.jvm
jvmlib
Would you like to install these too (y/n/interactive)?"

The same script or binary would be aware to the point that if the ports
base was not even present, it would prompt the user (who most likely is
running the script or binary for the first time) "would you like to
download and install the minimal ports base (13.3mb)?" or whatever...

Or am I just crazy, impossible to please, and cursed to be ever
dissatisfied and relegated to the land between sysinstall and the valley of
hard core programmers??

--
Peter Leftwich
President & Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.50.0211252145020.26262-100000>