]> wimlib.net Git - wimlib/blobdiff - COPYING
win32_apply.c: better workaround for access denied bug when creating ADS
[wimlib] / COPYING
diff --git a/COPYING b/COPYING
index 81af0c4e748983e0aadb9777b93b23dba7b1a8a7..c26af332a990696e75a452abbd43f278ccdcc503 100644 (file)
--- a/COPYING
+++ b/COPYING
@@ -1,12 +1,28 @@
-Unless otherwise specified, wimlib and all programs and scripts distributed with
-it, including 'wimlib-imagex', are released under the GNU GPL (General Public
-License), version 3.  See COPYING.GPLv3 for the full text of this license.
-
-However, as of version 1.7.0, the following exception applies to wimlib itself
---- that is, the shared library or DLL file:  If you do not use the libntfs-3g
-support in wimlib --- that is, your application never uses the flags
-WIMLIB_EXTRACT_FLAG_NTFS or WIMLIB_ADD_FLAG_NTFS, or wimlib is not linked to
-libntfs-3g at all, such as is the case for the Windows builds distributed on
-sourceforge.net --- you are also granted the rights of the GNU LGPL (Lesser
-General Public License), version 3.  See COPYING.LGPLv3 for the full text of
-this additional license.
+Unless otherwise specified, wimlib and its associated programs, scripts,
+documentation, and other files may be redistributed and/or modified under the
+terms of the GNU General Public License; either version 3 of the License, or (at
+your option) any later version.  There is NO WARRANTY, to the extent permitted
+by law.  See the file COPYING.GPLv3 for more details.
+
+Alternatively, when not prohibited by conflict with a third-party software
+license, the library portion of wimlib may be redistributed and/or modified
+under the terms of the GNU Lesser General Public License; either version 3 of
+the License, or (at your option) any later version.  There is NO WARRANTY, to
+the extent permitted by law.  See the file COPYING.LGPLv3 for more details.
+
+----------------------------------------
+
+NOTE! The primary reason for the GPL/LGPL "dual licensing" for the library is
+that on UNIX-like systems, wimlib can optionally be linked to the third-party
+library "libntfs-3g", which is licensed GPLv2+.  Under some interpretations of
+the GPL, this would require that wimlib be licensed under the GPL as well.
+However, a binary copy of wimlib that was compiled without libntfs-3g support
+(for example; the exception may be applicable in other situations as well)
+logically cannot be affected by libntfs-3g's license and should therefore be
+free to be redistributed under the LGPL instead of the GPL.
+
+NOTE! The file COPYING.CC0 contains a public domain dedication.  This public
+domain dedication does not apply to wimlib as a whole, but rather to individual
+source code files which the author(s) have elected to place into the public
+domain, as noted in the corresponding file headers.  As usual, such code carries
+NO WARRANTY, to the extent permitted by law.  See COPYING.CC0 for more details.