public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Bruno Haible <bruno@clisp.org>
To: Anthony Green <green@moxielogic.com>
Cc: libffi-discuss@sourceware.org
Subject: Re: additional license file in libffi source distribution?
Date: Tue, 01 May 2018 12:09:00 -0000	[thread overview]
Message-ID: <3845804.Kvep2sx6kA@omega> (raw)
In-Reply-To: <CACxje59q1YsvQ5K1A30cox0iT1eeA35W1D-Jv2WLr8eLrdaJ4g@mail.gmail.com>

Hi Anthony,

> msvcc.sh and
> testsuite/libffi.bhaible are both covered by licensing terms that are
> different from the libffi license, and that we need to (a) remove them, or
> (b) include the license text.

Correct. Including the license text is sufficient because
  - build tools like msvcc.sh do not store copyrightable contents in the
    generated binaries,
  - the presence or absence of a test suite does not have an effect on the
    generated binaries.

> I'd rather include the license text (GPLv2),
> as they are convenient to bundle and maintain along with the libffi source
> code.   To that end, I just added a LICENSE-BUILDTOOLS file with the GPLv2
> license,

Regarding the libffi.bhaible: For the files
  test-call.c
  test-callback.c
  testcases.c
you may use
  * GPLv2+ with Copyright 1993-2017 Bill Triggs, Bruno Haible (as it is now),
or - at your choice -
  * the MIT/BSD license, as formulated in the LICENSE file, with
    "Copyright (c) 1996-2014  Anthony Green, Red Hat, Inc and others"
    replaced with
    "Copyright 1993-2017 Bill Triggs, Bruno Haible"

Bill Triggs and I are agreeing on this relaxed license on 2017-10-23, following
my offer in <https://sourceware.org/ml/libffi-discuss/2017/msg00023.html>.

However, the file alignof.h is from gnulib, thus under LGPLv2+ [1]. If you would
want it to be MIT/BSD licensed as well, you need to ask for it on the bug-gnulib
mailing list (relevant authors are Paul Eggert and me).

And then there's still the msvcc.sh...

> msvcc.sh an testsuite/libffi.bhaible are both distributed under the
> terms of the GNU GPL version 2, as below.

Inside testsuite/libffi.bhaible:
  - The *.c and *.h files are distributed under GNU GPL version 2 or later
    (GPLv2+).
  - The .exp file that you added is under GNU GPL version 3 or later (GPLv3+).

> I wonder about this because some tools, like config.sub and ltmain.sh say
> they are GPLv2 _except_ when bundled with other programs, in which case
> they assume the other program's license.   Why do they need to do that?

I think the FSF formulated it like this so that
  * on one hand, the licensing for packages that use Autoconf & Automake is
    clear to everyone, without need to consult a lawyer,
  * on the other hand, if config.sub and ltmain.sh ever get integrated in
    a new generation of build system, this new build system must be under GPL.
    It is one of the policies of the FSF to increase the use of the GPL
    whenever possible.

Bruno

[1] https://www.gnu.org/software/gnulib/manual/html_node/Copyright.html

  reply	other threads:[~2018-05-01 12:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-01 11:03 Anthony Green
2018-05-01 12:09 ` Bruno Haible [this message]
     [not found]   ` <e2249e25dec9ae764b3c18d066fa840e@mail.kylheku.com>
2018-05-03 14:55     ` Anthony Green

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=3845804.Kvep2sx6kA@omega \
    --to=bruno@clisp.org \
    --cc=green@moxielogic.com \
    --cc=libffi-discuss@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).