Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Ceresoli <luca@lucaceresoli.net>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC 00/15] Automatically produce legal compliance info
Date: Thu, 02 Feb 2012 10:27:11 +0100	[thread overview]
Message-ID: <4F2A56EF.1030405@lucaceresoli.net> (raw)
In-Reply-To: <CAAXf6LU1jQEHr8bd4XwZ0Ao2jQD_riPSyuyAbfUrT4xWsNMxWQ@mail.gmail.com>

Thomas De Schampheleire wrote:
>> I think the best way is to just package BR itself in the legal-info
>> subdir. I'll have to check if/how it is feasible.
>> I'd also copy the current .config, which IMHO is part of the "scripts
>> used to control compilation".
>>
>> OTOH I don't think a pre-legal-package script would be a good idea, as
>> it would easily allow to trick and create a fake GPL-compliant release.
>> In other words, what I use for building must go directly in the stuff
>> to be released.
>
> I don't think we should attempt a guaranteed GPL-compliant release. We
> have no control over what someone did with its buildroot repository,
> whether or not they modified the LICENSE variables etc. A malicious
> company will be able to create a non-compliant tarball in many ways.
> By modifying buildroot itself, by using a pre-legal-package script,
> but also by post-processing the tarball. It's not something we should
> try to guard against IMO.
>
> Moreover, I think there are valid use cases. For example, in our case,
> we build a proprietary package from within buildroot. This means we
> need the sources available. A customer shouldn't get these sources.
> But our .config or defconfig does enable the package. As a result, if
> the customer does 'make', there will be an attempt to find the
> proprietary sources, and the build will fail.
> A pre-legal-package script could make such modifications to the
> defconfig file: disable the proprietary packages.
> Another use cas is where the pre-legal-package script could copy in
> binary proprietary applications from elsewhere.
> Or add a README file specific for the project.
> Or maybe modify the login banner to indicate in the target image that
> this is no official release, but one built by the customer.
> Or ...
>
> None of these are attempts to trick the customer or to be deviant from
> GPL or other license obligations.

After having slept on it, and after your clarifications, I think you're
probably right.

On one hand, it's not feasible to have Buildroot enforce a compliant
release, and I would not take the risk of saying it does even if it did.

On the other hand, there are ways a pre-legal-package script may be
useful, as your examples demonstrate.

By the law you must release the sources, but not necessarily make them
straightforward to use. So to fulfill legal obligations you probably
don't need such a script (provided that BR can package all the code that
must be released).

But there are also FOSS-friendly device vendors that might want to sell
a product with some proprietary software on them, while releasing the
open-source part in a way that is fully usable except for the absence
of the proprietary parts.

Bottom line: I think the script you suggest would be useful, but non
strictly necessary. So I consider it something that might be added
later, unless it's a simple addition to the current patchset.
I'd prefer to keep the first patchset thin, for better review/discussion
and to ease Peter's integration work.

Luca

  reply	other threads:[~2012-02-02  9:27 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-29 15:11 [Buildroot] [RFC 00/15] Automatically produce legal compliance info Luca Ceresoli
2012-01-29 15:11 ` [Buildroot] [RFC 01/15] legal-info: new target to echo basic per-package legal info Luca Ceresoli
2012-01-31 17:15   ` Arnout Vandecappelle
2012-02-01 21:07     ` Luca Ceresoli
2012-01-29 15:11 ` [Buildroot] [RFC 02/15] legal-info: produce a manifest file with licensing info Luca Ceresoli
2012-01-31 17:25   ` Arnout Vandecappelle
2012-02-01 21:29     ` Luca Ceresoli
2012-02-01 22:15       ` Thomas Petazzoni
2012-02-02  7:41       ` Thomas De Schampheleire
2012-01-29 15:11 ` [Buildroot] [RFC 03/15] legal-info: save source tarballs for all packages Luca Ceresoli
2012-01-31 22:10   ` Arnout Vandecappelle
2012-02-01 21:38     ` Luca Ceresoli
2012-01-29 15:11 ` [Buildroot] [RFC 04/15] legal-info: do not copy sources for proprietary packages Luca Ceresoli
2012-01-29 15:11 ` [Buildroot] [RFC 05/15] mpc: define license Luca Ceresoli
2012-01-29 15:11 ` [Buildroot] [RFC 06/15] linux: " Luca Ceresoli
2012-01-29 15:11 ` [Buildroot] [RFC 07/15] m4: " Luca Ceresoli
2012-01-29 15:11 ` [Buildroot] [RFC 08/15] busybox: " Luca Ceresoli
2012-01-29 15:11 ` [Buildroot] [RFC 09/15] bzip2: " Luca Ceresoli
2012-01-29 15:11 ` [Buildroot] [RFC 10/15] directfb: " Luca Ceresoli
2012-01-29 15:11 ` [Buildroot] [RFC 11/15] iostat: " Luca Ceresoli
2012-01-29 15:11 ` [Buildroot] [RFC 12/15] lzop: " Luca Ceresoli
2012-01-29 15:11 ` [Buildroot] [RFC 13/15] tslib: " Luca Ceresoli
2012-01-29 15:11 ` [Buildroot] [RFC 14/15] foobar: create a fake proprietary package (testing only) Luca Ceresoli
2012-01-29 15:26   ` Diego Iastrubni
2012-01-29 15:50     ` Michael S. Zick
2012-01-29 16:08       ` Diego Iastrubni
2012-01-30 11:51       ` Luca Ceresoli
2012-01-29 15:11 ` [Buildroot] [RFC 15/15] Create a test config " Luca Ceresoli
2012-01-31  7:15 ` [Buildroot] [RFC 00/15] Automatically produce legal compliance info Arnout Vandecappelle
2012-01-31 22:27 ` Yann E. MORIN
2012-02-01 15:25   ` Thomas De Schampheleire
2012-02-01 21:47     ` Luca Ceresoli
2012-02-02  8:32       ` Thomas De Schampheleire
2012-02-02  9:27         ` Luca Ceresoli [this message]
2012-02-02 11:19           ` Thomas De Schampheleire

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F2A56EF.1030405@lucaceresoli.net \
    --to=luca@lucaceresoli.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox