[haiku-development] Re: Couple of questions about PM

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 07 Oct 2013 15:52:51 +0200

On 10/07/2013 02:55 AM, John Scipione wrote:
On Sun, Oct 6, 2013 at 7:48 PM, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
On 10/06/2013 05:31 AM, John Scipione wrote:
2. Does the package manager provide a means for requiring the user to
agree to a license as a pre-requisite for installing a package? I'm
thinking to create a package to install MS Web Fonts, but, to install
them you must first agree to an EULA.

The package format supports a B_PACKAGE_FLAG_APPROVE_LICENSE flag, but so
far the package managers ignore it. I'm also not quite sure whether a global
flag per package is sufficient, or whether this might be needed per license.
Or maybe there even needs to be a text separate from the license?

I'm thinking if the B_PACKAGE_FLAG_APPROVE_LICENSE flag is set then
pop up a dialog that lists the license in a text field with Agree and
Disagree buttons below.

That was the plan, yes.

At least for my purposes a single flag would
be enough. We could specify the license text in the package?

Yes. In the package meta a list of license names that refer to license file included with the system ("MIT", "GPL v*", etc.) or included in the package itself (in data/licenses).

CU, Ingo


Other related posts: