Reducing the size of the ports tree (brainstorm v2)

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


Hi,

On Fri, 31 Oct 2014 19:56:21 +0100
Baptiste Daroussin <bapt at FreeBSD.org> 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:

[/usr/ports/www/firefox]
descr="some text which can span
line"
distinfo="SHA256 (firefox-33.0.source.tar.bz2) =
1018c2fae8c54c8a45f5a3ce348a2617a3f8039a789b09b7cfa5a27be069b229"
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.

Erich


More information about the freebsd-ports mailing list