Date: Thu, 28 Apr 2022 11:10:40 +0300 From: Gleb Popov <arrowd@freebsd.org> To: FreeBSD ports list <freebsd-ports@freebsd.org> Subject: Re: A tool to generate a plist for all OPTIONS combination Message-ID: <CALH631kn-g1grg3C_OX%2BMjb4rUyNgpZQTjNVWRBuM-OK84-cgQ@mail.gmail.com> In-Reply-To: <CALH631ni-SL5BysBSAS%2B5_zFGsxcCS5rVaWJ5XAZ3Ty6DKD-Yw@mail.gmail.com> References: <CALH631ni-SL5BysBSAS%2B5_zFGsxcCS5rVaWJ5XAZ3Ty6DKD-Yw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000cbad5105ddb2773f Content-Type: text/plain; charset="UTF-8" On Mon, Nov 1, 2021 at 11:18 PM Gleb Popov <arrowd@freebsd.org> wrote: > 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/ > Just a heads-up, I have updated ports-mgmt/hs-panopticum port to the newest version. This version now correctly handles even complex combinations of SINGLE, RADIO and MULTI option groups, as well as OPT_IMPLIES, OPT_PREVENTS OPT_IGNORE and OPT_BROKEN. I Hope this will be useful. --000000000000cbad5105ddb2773f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Mon, Nov 1, 2021 at 11:18 PM Gleb = Popov <<a href=3D"mailto:arrowd@freebsd.org">arrowd@freebsd.org</a>> = wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0= px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir= =3D"ltr"><div>Hello fellow porters!</div><div><br></div><div>I wrote an uti= lity called Panopticum [1] that uses Poudriere to build a given port with e= very possible OPTIONS setting, generate a packing list after each build and= then combine multiple plists into a single one with necessary OPTIONS_SUB = prepended.</div><div><br></div><div>It turned out to be far from a simple t= ask due to possible cases like %%OPT1%%%%NOOPT2%%%%OPT3_OR_OPT4%%, but afte= r cracking my head for a while it seems to work correctly now.</div><div><b= r></div><div>The utility is already in the Ports tree under ports-mgmt/hs-p= anopticum directory. If you're interested, go ahead and try it out. I&#= 39;ll be happy if anyone finds it to be useful.<br></div><div><br></div><di= v>[1] <a href=3D"https://foss.heptapod.net/bsdutils/panopticum/" target=3D"= _blank">https://foss.heptapod.net/bsdutils/panopticum/</a></div></div></blo= ckquote><div><br></div><div>Just a heads-up, I have updated ports-mgmt/hs-p= anopticum port to the newest version. This version now correctly handles ev= en complex combinations of SINGLE, RADIO and MULTI option groups, as well a= s OPT_IMPLIES, OPT_PREVENTS OPT_IGNORE and OPT_BROKEN.</div><div><br></div>= <div>I Hope this will be useful.<br></div></div></div> --000000000000cbad5105ddb2773f--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631kn-g1grg3C_OX%2BMjb4rUyNgpZQTjNVWRBuM-OK84-cgQ>