2004-04-27 14:31:35 -04:00
|
|
|
License Mixing with apps, libcurl and Third Party Libraries
|
|
|
|
===========================================================
|
|
|
|
|
|
|
|
libcurl can be built to use a fair amount of various third party libraries,
|
|
|
|
libraries that are written and provided by other parties that are distributed
|
|
|
|
using their own licenses. Even libcurl itself contains code that may cause
|
|
|
|
problems to some. This document attempts to describe what licenses libcurl and
|
|
|
|
the other libraries use and what possible dilemmas linking and mixing them all
|
|
|
|
can lead to for end users.
|
|
|
|
|
|
|
|
I am not a lawyer and this is not legal advice!
|
|
|
|
|
2004-09-19 18:37:26 -04:00
|
|
|
One common dilemma is that GPL[1]-licensed code is not allowed to be linked
|
2004-04-27 14:31:35 -04:00
|
|
|
with code licensed under the Original BSD license (with the announcement
|
2005-07-07 01:43:04 -04:00
|
|
|
clause). You may still build your own copies that use them all, but
|
|
|
|
distributing them as binaries would be to violate the GPL license - unless you
|
|
|
|
accompany your license with an exception[2]. This particular problem was
|
|
|
|
addressed when the Modified BSD license was created, which does not have the
|
2007-03-29 17:01:07 -04:00
|
|
|
announcement clause that collides with GPL.
|
2004-04-27 14:31:35 -04:00
|
|
|
|
2016-02-01 18:24:30 -05:00
|
|
|
libcurl https://curl.haxx.se/docs/copyright.html
|
2004-04-27 14:31:35 -04:00
|
|
|
|
|
|
|
Uses an MIT (or Modified BSD)-style license that is as liberal as
|
2014-09-10 04:38:31 -04:00
|
|
|
possible.
|
2004-04-27 14:31:35 -04:00
|
|
|
|
2015-06-15 05:32:39 -04:00
|
|
|
OpenSSL https://www.openssl.org/source/license.html
|
2004-04-27 14:31:35 -04:00
|
|
|
|
2005-08-29 09:58:25 -04:00
|
|
|
(May be used for SSL/TLS support) Uses an Original BSD-style license
|
2007-03-29 17:01:07 -04:00
|
|
|
with an announcement clause that makes it "incompatible" with GPL. You
|
2005-08-29 09:58:25 -04:00
|
|
|
are not allowed to ship binaries that link with OpenSSL that includes
|
|
|
|
GPL code (unless that specific GPL code includes an exception for
|
|
|
|
OpenSSL - a habit that is growing more and more common). If OpenSSL's
|
2015-06-15 04:57:43 -04:00
|
|
|
licensing is a problem for you, consider using another TLS library.
|
2005-04-07 11:28:56 -04:00
|
|
|
|
|
|
|
GnuTLS http://www.gnutls.org/
|
|
|
|
|
2005-08-29 09:58:25 -04:00
|
|
|
(May be used for SSL/TLS support) Uses the LGPL[3] license. If this is
|
2015-06-15 04:57:43 -04:00
|
|
|
a problem for you, consider using another TLS library. Also note that
|
2005-08-29 09:58:25 -04:00
|
|
|
GnuTLS itself depends on and uses other libs (libgcrypt and
|
|
|
|
libgpg-error) and they too are LGPL- or GPL-licensed.
|
2004-04-27 14:31:35 -04:00
|
|
|
|
2015-06-15 05:32:39 -04:00
|
|
|
WolfSSL https://www.wolfssl.com/
|
2006-07-07 16:48:51 -04:00
|
|
|
|
2015-06-15 04:57:43 -04:00
|
|
|
(May be used for SSL/TLS support) Uses the GPL[1] license or a
|
|
|
|
propietary license. If this is a problem for you, consider using
|
|
|
|
another TLS library.
|
2006-07-07 16:48:51 -04:00
|
|
|
|
2015-06-15 05:32:39 -04:00
|
|
|
NSS https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS
|
2007-02-12 17:32:37 -05:00
|
|
|
|
|
|
|
(May be used for SSL/TLS support) Is covered by the MPL[4] license,
|
|
|
|
the GPL[1] license and the LGPL[3] license. You may choose to license
|
|
|
|
the code under MPL terms, GPL terms, or LGPL terms. These licenses
|
|
|
|
grant you different permissions and impose different obligations. You
|
|
|
|
should select the license that best meets your needs.
|
|
|
|
|
2011-01-21 17:27:10 -05:00
|
|
|
axTLS http://axtls.sourceforge.net/
|
|
|
|
|
|
|
|
(May be used for SSL/TLS support) Uses a Modified BSD-style license.
|
|
|
|
|
2015-06-15 04:57:43 -04:00
|
|
|
mbedTLS https://tls.mbed.org/
|
|
|
|
|
|
|
|
(May be used for SSL/TLS support) Uses the GPL[1] license or a
|
|
|
|
propietary license. If this is a problem for you, consider using
|
|
|
|
another TLS library.
|
|
|
|
|
|
|
|
BoringSSL https://boringssl.googlesource.com/
|
|
|
|
|
|
|
|
(May be used for SSL/TLS support) As an OpenSSL fork, it has the same
|
|
|
|
license as that.
|
|
|
|
|
|
|
|
libressl http://www.libressl.org/
|
|
|
|
|
|
|
|
(May be used for SSL/TLS support) As an OpenSSL fork, it has the same
|
|
|
|
license as that.
|
|
|
|
|
2016-02-02 19:45:21 -05:00
|
|
|
c-ares https://daniel.haxx.se/projects/c-ares/license.html
|
2004-04-27 14:31:35 -04:00
|
|
|
|
2005-08-29 09:58:25 -04:00
|
|
|
(Used for asynchronous name resolves) Uses an MIT license that is very
|
|
|
|
liberal and imposes no restrictions on any other library or part you
|
|
|
|
may link with.
|
2004-04-27 14:31:35 -04:00
|
|
|
|
2015-06-15 05:32:39 -04:00
|
|
|
zlib http://www.zlib.net/zlib_license.html
|
2004-04-27 14:31:35 -04:00
|
|
|
|
2005-08-29 09:58:25 -04:00
|
|
|
(Used for compressed Transfer-Encoding support) Uses an MIT-style
|
|
|
|
license that shouldn't collide with any other library.
|
2004-04-27 14:31:35 -04:00
|
|
|
|
2005-08-29 09:58:25 -04:00
|
|
|
MIT Kerberos http://web.mit.edu/kerberos/www/dist/
|
2004-04-27 14:31:35 -04:00
|
|
|
|
2005-08-29 09:58:25 -04:00
|
|
|
(May be used for GSS support) MIT licensed, that shouldn't collide
|
|
|
|
with any other parts.
|
|
|
|
|
2015-06-15 05:32:39 -04:00
|
|
|
Heimdal http://www.h5l.org
|
2005-08-29 09:58:25 -04:00
|
|
|
|
|
|
|
(May be used for GSS support) Heimdal is Original BSD licensed with
|
|
|
|
the announcement clause.
|
|
|
|
|
2015-06-15 05:32:39 -04:00
|
|
|
GNU GSS https://www.gnu.org/software/gss/
|
2005-08-29 09:58:25 -04:00
|
|
|
|
|
|
|
(May be used for GSS support) GNU GSS is GPL licensed. Note that you
|
|
|
|
may not distribute binary curl packages that uses this if you build
|
|
|
|
curl to also link and use any Original BSD licensed libraries!
|
2004-04-27 14:31:35 -04:00
|
|
|
|
2007-03-29 17:01:07 -04:00
|
|
|
libidn http://josefsson.org/libidn/
|
2004-04-27 14:31:35 -04:00
|
|
|
|
2005-08-29 09:58:25 -04:00
|
|
|
(Used for IDNA support) Uses the GNU Lesser General Public
|
2007-03-29 17:01:07 -04:00
|
|
|
License [3]. LGPL is a variation of GPL with slightly less aggressive
|
2005-08-29 09:58:25 -04:00
|
|
|
"copyleft". This license requires more requirements to be met when
|
|
|
|
distributing binaries, see the license for details. Also note that if
|
|
|
|
you distribute a binary that includes this library, you must also
|
|
|
|
include the full LGPL license text. Please properly point out what
|
|
|
|
parts of the distributed package that the license addresses.
|
2004-04-27 14:31:35 -04:00
|
|
|
|
|
|
|
OpenLDAP http://www.openldap.org/software/release/license.html
|
|
|
|
|
2005-08-29 09:58:25 -04:00
|
|
|
(Used for LDAP support) Uses a Modified BSD-style license. Since
|
|
|
|
libcurl uses OpenLDAP as a shared library only, I have not heard of
|
|
|
|
anyone that ships OpenLDAP linked with libcurl in an app.
|
2004-04-27 14:31:35 -04:00
|
|
|
|
2016-04-06 05:57:48 -04:00
|
|
|
libssh2 https://www.libssh2.org/
|
2007-03-29 17:01:07 -04:00
|
|
|
|
|
|
|
(Used for scp and sftp support) libssh2 uses a Modified BSD-style
|
|
|
|
license.
|
2004-04-27 14:31:35 -04:00
|
|
|
|
2015-06-15 05:32:39 -04:00
|
|
|
[1] = GPL - GNU General Public License: https://www.gnu.org/licenses/gpl.html
|
|
|
|
[2] = https://www.gnu.org/licenses/gpl-faq.html#GPLIncompatibleLibs details on
|
2004-09-19 18:37:26 -04:00
|
|
|
how to write such an exception to the GPL
|
2005-04-07 11:28:56 -04:00
|
|
|
[3] = LGPL - GNU Lesser General Public License:
|
2015-06-15 05:32:39 -04:00
|
|
|
https://www.gnu.org/licenses/lgpl.html
|
2007-02-12 17:32:37 -05:00
|
|
|
[4] = MPL - Mozilla Public License:
|
2015-06-15 05:32:39 -04:00
|
|
|
https://www.mozilla.org/MPL/
|