From aeb9ef6697a7c2cff3bbaed36d827f91da5a42b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Sat, 25 Nov 2023 08:32:13 +0100 Subject: [PATCH] Fix license (#309) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libev can also be used in terms of GPL-2.0-or-later And use SPDX identifiers. Signed-off-by: Vít Ondruch * Include all licenses in .gemspec The gem ships not just MIT licensed code but also bundles libev, with disctinc 'BSD-2-Clause OR GPL-2.0-or-later' license. Don't hide this information. Signed-off-by: Vít Ondruch --------- Signed-off-by: Vít Ondruch --- license.md | 3 ++- nio4r.gemspec | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/license.md b/license.md index 67690d0..f71176a 100644 --- a/license.md +++ b/license.md @@ -69,7 +69,8 @@ SOFTWARE. ## libev -Released under the BSD license. See [ext/libev/LICENSE] for details. +Released under the BSD-2-Clause OR GPL-2.0-or-later license. +See [ext/libev/LICENSE] for details. Copyright, 2007-2019, by Marc Alexander Lehmann. diff --git a/nio4r.gemspec b/nio4r.gemspec index 312c179..f54c724 100644 --- a/nio4r.gemspec +++ b/nio4r.gemspec @@ -6,7 +6,7 @@ Gem::Specification.new do |spec| spec.authors = ["Tony Arcieri"] spec.email = ["bascule@gmail.com"] spec.homepage = "https://github.com/socketry/nio4r" - spec.license = "MIT" + spec.license = "MIT AND (BSD-2-Clause OR GPL-2.0-or-later)" spec.summary = "New IO for Ruby" spec.description = <<-DESCRIPTION.strip.gsub(/\s+/, " ") Cross-platform asynchronous I/O primitives for scalable network clients