Reducing the size of the ports tree (brainstorm v2)

Erich Dollansky erichsfreebsdlist at
Sat Nov 1 00:36:45 UTC 2014


On Fri, 31 Oct 2014 19:56:21 +0100
Baptiste Daroussin <bapt at> wrote:

> tijl@ spotted an interesting point, distinfo and pkg-descr files files
> convenient are taking a lot of space for "free", we can reduce the
> size of the while ports tree by a factor 2 by simply merging them
> into one of the other files (Makefile and/or pkg-plist) from my
> testing it really devides significantly the size of the tree.
it is some 50 000 small files.

> Problem is how to merge them if we want to.
> What we do not want to loose:
> - Easyness of parsing distinfo
> - Easyness to get informations about the description
Could they be put into a single file with a format like:

descr="some text which can span
distinfo="SHA256 (firefox-33.0.source.tar.bz2) =
SIZE = "(firefox-33.0.source.tar.bz2) = 155177527"

It is a bit old fashioned but will fulfil the requirements but will add
just one new layer.


More information about the freebsd-ports mailing list