Bug #16820


LEGAL is out of sync

Added by shyouhei (Shyouhei Urabe) about 1 year ago. Updated 10 months ago.

Target version:


At the very beginning of LEGAL, it reads:

All the files in this distribution are covered under either the Ruby's
license (see the file COPYING) or public-domain except some files
mentioned below.

This means that the exception list must be comprehensive. If we miss someone else's software there, it would be automatically made belong to matz. This is very bad.

However this is happening now.

Unclear situation for benchmark

For instance, benchmark/so_concatenate.rb comes with no license agreements. Yet as we read its contents, there is almost no doubt that it is not covered by the Ruby's license.

The problem is that the URL that was once written inside the file is lost. Our git log tells nothing. This and other files under the directory have permanently lost their origin.

BSD licensed libraries

Take a look at this search result:

% git grep -i 'BSD-2-Clause' | wc -l

None of them are listed in LEGAL.

Programs owned by IBM

% git grep 'International Business Machines' | wc -l

The four occurrences of the name IBM does not include LEGAL. Also, I wonder if they are actually compatible with Ruby's license.

LGPL portions

% git grep 'the GNU LGPL' | wc -l

It seems racc is complicated.

  • racc.gemspec says s.licenses = ["MIT"].
  • It however has some files that are LGPL.
  • It also has some files that are under Ruby's license.

Which one should we believe? If we mix all of them, the library as a whole must be under LGPL. Am I right?

Related issues

Related to Ruby master - Misc #12529: LEGAL file covering all the license information within RubyClosedhsbt (Hiroshi SHIBATA)Actions
Related to Ruby master - Bug #12762: missing links in LEGALClosedhsbt (Hiroshi SHIBATA)Actions
Related to Ruby master - Bug #12598: List files with Unicode license in LEGAL fileClosedduerst (Martin Dürst)Actions
Related to Ruby master - Feature #12550: List files with SIL license in LEGAL fileClosedhsbt (Hiroshi SHIBATA)Actions
Related to Ruby master - Bug #12549: List files with CC0 license in LEGAL fileClosedhsbt (Hiroshi SHIBATA)Actions

Also available in: Atom PDF