Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 2021 23:18:08 +0300
From:      Gleb Popov <arrowd@freebsd.org>
To:        FreeBSD ports list <freebsd-ports@freebsd.org>
Subject:   A tool to generate a plist for all OPTIONS combination
Message-ID:  <CALH631ni-SL5BysBSAS%2B5_zFGsxcCS5rVaWJ5XAZ3Ty6DKD-Yw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--0000000000009ccd5a05cfbfe173
Content-Type: text/plain; charset="UTF-8"

Hello fellow porters!

I wrote an utility called Panopticum [1] that uses Poudriere to build a
given port with every possible OPTIONS setting, generate a packing list
after each build and then combine multiple plists into a single one with
necessary OPTIONS_SUB prepended.

It turned out to be far from a simple task due to possible cases like
%%OPT1%%%%NOOPT2%%%%OPT3_OR_OPT4%%, but after cracking my head for a while
it seems to work correctly now.

The utility is already in the Ports tree under ports-mgmt/hs-panopticum
directory. If you're interested, go ahead and try it out. I'll be happy if
anyone finds it to be useful.

[1] https://foss.heptapod.net/bsdutils/panopticum/

--0000000000009ccd5a05cfbfe173--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631ni-SL5BysBSAS%2B5_zFGsxcCS5rVaWJ5XAZ3Ty6DKD-Yw>