On 2000-Feb-10 07:59:48 +1100, Kai Voigt <[EMAIL PROTECTED]> wrote:
># du -sk /usr/ports
>71118   /usr/ports

Seems reasonable.  Last time I checked (1st June 1999), I found
79967 - of which 35215 was CVS-related files/directories.  There
were also nearly 62,000 inodes.  It'll get worse - PHK has changed
the FS defaults from 8K/1K to 16K/4K, which will roughly triple
the space.

>Am I the only one being little annoyed by this fact?

This comes up regularly.  The last I recall was a thread "a two-level
port system?" in -hackers last May/June.

My favourite solution (because it's mine) would be to replace the
existing each port skeleton directory with a single ar(5) file, which
is unpacked into the directory structure when you make the port.  (I
think ar(5) would be a good choice because (a) it is text, and so can
be easily managed by CVS; (b) it includes a tool - ar(1) - for easily
managing the files).

As an example, /usr/ports/cad currently looks like (without CVS):
/usr/ports/cad:
Makefile        felt/           magic/          qcad/           xcircuit/
acs/            geda/           mars/           sis/
chipmunk/       irsim/          pcb/            spice/
cider/          kaskade/        pkg/            tkgate/

It would turn into:
/usr/ports/cad:
ARCHIVE/        Makefile

./ARCHIVE:
acs.ar          geda.ar         mars.ar         sis.ar
chipmunk.ar     irsim.ar        pcb.ar          spice.ar
cider.ar        kaskade.ar      pkg.ar          tkgate.ar
felt.ar         magic.ar        qcad.ar         xcircuit.ar

Where the Makefile knew how to unpack/pack each ar into the existing
structure as necessary.

What's need to change the existing structure is:
1) A completely implemented replacement, including the tools necessary
   to manage the new structure.
2) Agreement from Asami-san (and maybe others) to implement the changed
   structure.

Peter


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to