]> git.meshlink.io Git - meshlink-tiny/blob - COPYING.README
Add a metering test.
[meshlink-tiny] / COPYING.README
1 # License obligations
2
3 The source code of the MeshLink library itself is licensed under the GNU
4 General Public License version 2 or later (see the file COPYING for the
5 complete license). However, the MeshLink library depends on other libraries as
6 well, which each have their own license. This document summarizes your
7 obligations when you are releasing binaries that link with the MeshLink library
8 and any dependent libraries, for both open source and closed source software.
9
10 Please note that this document is not to be interpreted as a license itself.
11
12 ## List of libraries that MeshLink depends on
13
14 * Ed25519 (zlib license)
15 * Chacha20-Poly1305 (public domain)
16
17 ## Obligations for closed source software
18
19 With closed source software, we mean any software that is distributed only in
20 binary form. Note that there is no distinction between software that is sold,
21 rented out, or is gratis. You are not allowed to distribute closed source
22 software linked to the MeshLink library unless you have obtained a commercial
23 license for the MeshLink library. If you do distribute closed source software
24 linked to MeshLink without a commercial license, you are violating
25 international copyright law. In this case, please contact the MeshLink
26 author(s) as soon as possible in order to remedy this situation.
27
28 If you do have a commercial license for the MeshLink library, then apart from
29 the obligations set out in the commercial license, you are also obligated to
30 follow the rules set out in the licenses of the libraries MeshLink depends on.
31 In particular, ensure you give credits to the library authors:
32
33 * Attribute Orson Peters as the author of the Ed25519 library.
34 * Attribute Daniel J. Bernstein as the author of the Chacha20-Poly1305 library.
35 * Attribute Guus Sliepen as the author of the MeshLink library.
36
37 ## Obligations for open source software
38
39 With open source software, we mean any software that is distributed in source
40 form, or is distributed in binary form with the exact source code used to
41 compile the binary form made publicly available, or with this source code
42 made available on request. Note that there is no distinction between software
43 that is sold, rented out, or is gratis.
44
45 If your software itself does not contain any copies or excerpts of the source
46 code of MeshLink, you are free to distribute that software under any license
47 you want. However, as soon as you distribute any binaries that are linked with
48 MeshLink, then the resulting binaries can only be distributed under the terms
49 of the GNU General Public License version 2 or later. In practice, this is not
50 a problem since if you make the source code available publicly, you are
51 fulfilling the obligations of the GPL, unless your software has a software
52 license that is incompatible with the GPL. Please check the following website
53 to find out if your open source software is compatible with MeshLink:
54
55 https://www.gnu.org/licenses/license-list.en.html#SoftwareLicenses
56
57 Apart from the obligations for the MeshLink library, set out in the GPL, you
58 are also obligated to follow the rules set out in the licenses of the libraries
59 MeshLink depends on.
60 In particular, ensure you give credits to the library authors:
61
62 * Attribute Orson Peters as the author of the Ed25519 library.
63 * Attribute Daniel J. Bernstein as the author of the Chacha20-Poly1305 library.
64 * Attribute Guus Sliepen as the author of the MeshLink library.
65
66 ## Recommended attribution text
67
68 Attribution for the libraries your software depends on should be added to any
69 written, printed or electronic documentation that comes with your software, as
70 well as displayed in any about dialogs, splash screens, and any other forms of
71 display that contain credits, license information and/or attribution. The
72 recommended text to display is:
73
74     This software makes use of the following libraries:
75
76     - MeshLink, copyright © 2014-2018 Guus Sliepen,
77       licensed under the GPL version 2 or later¹
78     - Chacha20-Poly1305, by Daniel J. Bernstein, public domain
79     - Ed25519, copyright © 2015 Orson Peters, licensed under the zlib license
80
81 ¹) omit the "licensed under" text if you have a commercial license  
82
83 The full text of the licenses of all libraries used should be included in the
84 documentation, and should be included in any forms or displays that contain
85 license information.