Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addressable license compatibility with libidn #432

Closed
ojab opened this issue Sep 2, 2021 · 1 comment
Closed

Addressable license compatibility with libidn #432

ojab opened this issue Sep 2, 2021 · 1 comment
Labels

Comments

@ojab
Copy link
Contributor

ojab commented Sep 2, 2021

I created an issue in ruby-idn repo, but since I don't use this gem directly, makes sense to copy here, I guess, since addressable depends on libidn [in some configurations].

libidn COPYING says

The source code for the C library (libidn.a or libidn.so), the C#
library (Libidn.dll) and the Java library (libidn-*.jar) are licensed
under the terms of either the GNU General Public License version 2.0
or later (see the file COPYINGv2) or the GNU Lesser General Public
License version 3.0 or later (see the file COPYING.LESSERv3), or both
in parallel as here.

The author of the Java library has agreed to also distribute it under
the Apache License Version 2.0 (see the file java/LICENSE-2.0).

and libidn2 says

The source code for the C library (libidn2.a or libidn.so) are
licensed under the terms of either the GNU General Public License
version 2.0 or later (see the file COPYINGv2) or the GNU Lesser
General Public License version 3.0 or later (see the file
COPYING.LESSERv3), or both in parallel as here.

We cannot depend on GPL libarary for sure and (IANAL) ASF puts LGPL in category X, which means that it couldn't be used in apache-licensed project. Googling (example) confirms this.

Looks like this gem couldn't be licensed under Apache License 2.0.

@dentarg
Copy link
Collaborator

dentarg commented Nov 20, 2021

Closing this as the idn-ruby repo closed that issue: deepfryed/idn-ruby#8 (comment), also, you can use Addressable without using libidn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants