blob: 717e303580be3f01d45793517ee1c3b5ea937f42 [file] [log] [blame]
Willy TARREAU3dc06442006-06-15 21:48:13 +02001HAPROXY's license - 2006/06/15
2
3Historically, haproxy has been covered by GPL version 2. However, an issue
4appeared in GPL which will prevent external non-GPL code from being built
5using the headers provided with haproxy. My long-term goal is to build a core
6system able to load external modules to support specific application protocols.
7
8Since some protocols are found in rare environments (finance, industry, ...),
9some of them might be accessible only after signing an NDA. Enforcing GPL on
10such modules would only prevent them from ever being implemented, while not
11providing anything useful to ordinary users.
12
13For this reason, I *want* to be able to support binary only external modules
14when needed, with a GPL core and GPL modules for standard protocols, so that
15people fixing bugs don't keep them secretly to try to stay over competition.
16
17The solution was then to apply the LGPL license to the exportable include
18files, while keeping the GPL for all the rest. This way, it still is mandatory
19to redistribute modified code under customer request, but at the same time, it
20is expressly permitted to write, compile, link and load non-GPL code using the
21LGPL header files and not to distribute them if it causes a legal problem.
22
23Of course, users are strongly encouraged to continue the work under GPL as long
24as possible, since this license has allowed useful enhancements, contributions
25and fixes from talented people around the world.
26
William Lallemand921507a2012-09-07 10:48:59 +020027Due to the incompatibility between the GPL and the OpenSSL licence, you must
28apply the GPL/LGPL licence with the following exception:
29This program is released under the GPL with the additional exemption that
30compiling, linking, and/or using OpenSSL is allowed.
31
Willy TARREAU3dc06442006-06-15 21:48:13 +020032The text of the licenses lies in the "doc" directory. All the files provided in
33this package are covered by the GPL unless expressly stated otherwise in them.
34Every patch or contribution provided by external people will by default comply
35with the license of the files it affects, or be rejected.
36
37Willy Tarreau - w@1wt.eu