]> wimlib.net Git - wimlib/blob - COPYING
export_image.c: allow duplicate image names in source WIM
[wimlib] / COPYING
1 wimlib (meaning all programs, scripts, libraries, documentation, and other files
2 that are part of the wimlib project -- not just the "libwim" library) may be
3 redistributed and/or modified under the terms of the GNU General Public License;
4 either version 3 of the License, or (at your option) any later version.  A copy
5 of this license can be found in the file COPYING.GPLv3.
6
7 Also, when not prohibited by a third-party software license, libwim (the library
8 portion of wimlib) may be redistributed and/or modified under the terms of the
9 GNU Lesser General Public License; either version 3 of the License, or (at your
10 option) any later version.  A copy of this license can be found in the file
11 COPYING.LGPLv3.  This is offered as a "dual license", meaning that you can
12 choose either this LGPLv3+ option or the above-mentioned GPLv3+ option.
13
14 In either case there is NO WARRANTY, to the extent permitted by law.
15
16 --------------------------------------------------------------------------------
17
18 NOTE! The reason for the "when not prohibited by a third-party software license"
19 condition on the LGPL option for libwim is that libwim can optionally be linked
20 to the third-party library "libntfs-3g", which is licensed under the GPL.
21 Usually the GPL is interpreted in a way that means that any binary that uses a
22 GPL library must be licensed under the GPL as well, not (for example) the LGPL.
23
24 Therefore, if your build of libwim links to libntfs-3g, then you can't choose
25 the LGPL option.  You may choose the LGPL option for Windows builds of libwim,
26 since they don't link to libntfs-3g.  Likewise, you may choose the LGPL option
27 for UNIX builds of libwim that were built with './configure --without-ntfs-3g'.
28
29 NOTE! The file COPYING.CC0 contains a public domain dedication.  This public
30 domain dedication does not apply to wimlib as a whole, but rather to individual
31 source code files which the author(s) have elected to place into the public
32 domain, as noted in the corresponding file headers.  As usual, such code carries
33 NO WARRANTY, to the extent permitted by law.  See COPYING.CC0 for more details.