<preamble>
You will see "I think it is not needed" versus "It is needed" Please also see "I think A doesn't need a virtual package" and "I'm sure that stalwart is better with virtual package stalwart-webadmin". </preamble> On Thu, Dec 03, 2026 at 08:29:01PM +0100, Ansgar 🙀 wrote: > > > Server software has web user interface. > > > Upstream has them in separate source trees. > > > Upon server start is webui downloaded from Internet. > > > > > > The webui is not realy needed. > > > Not needed during normal operating. > > > Also exists a command line interface. > > > > > > For offering choice for wether or not a webui > > > is the plan to make the server depend on a virtual package. > > If package A can optionally use features by package B, > then A should not Depends: B, but use Recommends: or Suggests: instead. Package A expects that /usr/lib/A/webui.zip is present at startup. > I don't understand why a virtual package would be required for offering > choice whether B is installed or not? The 'If package A can optionally use features by package B' is **false** for stalwart, at several levels. On hindsight should "offering choice for wether or not a webui" have been expressed differently. I'm refering to: > > > For offering choice for wether or not a webui Regarding: > > > Upstream has them in separate source trees. > > > Upon server start is webui downloaded from Internet. That tells what upstream does. Debian version will **not** download > If there are only two alternative implementations B1, B2 of B, Another "If" .... > then just using Recommends/Suggests: B1 | B2 is probably also good enough. For stalwart Depends: minimalistic-stalwart-webadmin | stalwart-webadmin A minimalistic stalwart-webadmin package is in development and will remain minimalistic. Virtual package stalwart-webadmin is for making a full version possible. Plus branded versions possible. Yes, there will be more as just B1 and B2. Groeten Geert Stappers -- Silence is hard to parse

