Feature #20437
openCould the licensing conditions be made less ambiguous?
Description
Current state¶
The current COPYING file says the following:
Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
You can redistribute it and/or modify it under either the terms of the
2-clause BSDL (see the file BSDL), or the conditions below:
1. You may make and give away verbatim copies of the source form of the
... snip ...
And this is quite ambiguous. Let me show a few examples:
Ambiguous examples¶
lib/net/protocol.rb¶
# This program is free software. You can re-distribute and/or
# modify this program under the same terms as Ruby itself,
# Ruby Distribute License or GNU General Public License.
So what is the license? Is it 2-clause BSDL + Ruby + GPL? Or is is just Ruby + GPL but not 2-clause BSDL?
Racc¶
Racc is distributed under the same terms of ruby.
(see the file COPYING).
where the COPYING contains just 2-clause BSDL.
Not even mentioning that Ruby used to be GPLv2 licensed:
https://github.com/ruby/racc/commit/cc7fe952a6b1fc2ef43477674fa13f2d9d99e818
Rubygems¶
https://github.com/rubygems/rubygems/blob/master/LICENSE.txt
The license is obviously modeled after Ruby COPYING file, but if it could say "licensed under MIT or Ruby", it would be much better.
Gettext¶
The license note is so old that it is not obvious what that means and what was the intention. Did the Ruby relicensing from "GPLv2 or Ruby" to "GPLv2 or BSD" influenced this project?
SPDX¶
https://spdx.org/licenses/Ruby.html
It quotes just the "conditions below" as a Ruby license, while referring to Ruby license file mentioning also 2-clause BSDL
Proposal¶
To me it seems that the whole world recognizes "Ruby" license, except Ruby. Therefore I think it would be nice if Ruby project recognized the "Ruby" license. There are two possibilities I can think of:
Refer the license by name¶
$ git diff
diff --git a/COPYING b/COPYING
index 48e5a96de7..a2d179a8a9 100644
--- a/COPYING
+++ b/COPYING
@@ -1,6 +1,6 @@
Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
You can redistribute it and/or modify it under either the terms of the
-2-clause BSDL (see the file BSDL), or the conditions below:
+2-clause BSDL (see the file BSDL), or the conditions of the Ruby license below:
1. You may make and give away verbatim copies of the source form of the
software without restriction, provided that you duplicate all of the
Extract the "conditions below" into "Ruby" license file¶
The "conditions below" text could be extracted into separate file (e.g. "RUBY_LICENSE") and the "COPYING" file rephrased to say:
Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
You can redistribute it and/or modify it under either the terms of the
2-clause BSDL (see the file BSDL), or Ruby license (see the file RUBY_LICENSE)