Added COPYING and README.patch files to xen/common and xen/tools
authorLars Kurth <lars.kurth@citrix.com>
Mon, 26 Sep 2016 16:06:49 +0000 (17:06 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 30 Sep 2016 11:14:59 +0000 (12:14 +0100)
This patch adds information related to non-GPL licenses and code
imports from 3rd party projects. The aim of this patch, is to
make it easier for future contributors, to perform a review
of the codebase.

Signed-off-by: Lars Kurth <lars.kurth@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
[ wei: remove all trailing whitespaces ]
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
xen/common/COPYING [new file with mode: 0644]
xen/common/README.source [new file with mode: 0644]
xen/tools/kconfig/README.source [new file with mode: 0644]

diff --git a/xen/common/COPYING b/xen/common/COPYING
new file mode 100644 (file)
index 0000000..dbfb26b
--- /dev/null
@@ -0,0 +1,16 @@
+Most files in this directory are covered by version 2 of the
+GNU General Public License except where explicitly stated.
+See the main COPYING file in xen.git for more information.
+
+The following files and directories are notable exceptions
+and cover code which has been imported into the Xen codebase.
+For more information on the origin of these files and their
+licenses, see README.source
+
+bunzip2.c
+unizma.c
+xmalloc_tlsf.c
+libelf/*
+libfdt/*
+lz4/decompress.c
+xz/*
\ No newline at end of file
diff --git a/xen/common/README.source b/xen/common/README.source
new file mode 100644 (file)
index 0000000..732b945
--- /dev/null
@@ -0,0 +1,50 @@
+About
+=====
+This file documents the upstream sources for files and directories
+in this part of the Xen source tree. Note that the list may not
+be complete: in particular for code that has been imported from
+the Linux Kernel underr a GPLv2 license.
+
+bunzip2.c
+---------
+Originally from https://www.landley.net/code/bunzip-4.1.c
+The file is licensed under LGPLv2 (or later)
+
+unizma.c
+--------
+This file was originally imported from the Linux tree
+at kernel/git/torvalds/linux.git, path: lib/decompress_unlzma.c
+The file is licensed under LGPLv2.1 (or later)
+
+xmalloc_tlsf.c
+--------------
+This file was originally imported from the compcache project at
+https://code.google.com/archive/p/compcache/source, path
+compcache/sub-projects/allocators/tlsf-kmod
+The file is dually licensed under GPLv2.0 and LGPLv2.1
+
+libelf
+------
+This directory was opriginally imported from the libelf
+project at http://www.mr511.de/software/english.html
+This directory is licensed under LGPLv2.1 (see COPYING file)
+
+libfdt
+------
+This directory was originally imported from the Device Tree
+Compiler at https://github.com/dgibson/dtc/tree/master/libfdt
+This directory is dually licensed as GPLv2.0 or later
+and a BSD 2-clause license
+
+lz4/decompress.c
+-----------------
+This file was originally imported from the LZ4 project
+( http://www.lz4.org). The source is available from
+https://github.com/Cyan4973/lz4
+The file is licensed under a BSD 2-clause license
+
+xz
+--
+This directory was imported from the XZ Utils project
+and is available under http://tukaani.org/xz/
+The imported code is in the public domain
diff --git a/xen/tools/kconfig/README.source b/xen/tools/kconfig/README.source
new file mode 100644 (file)
index 0000000..44631f6
--- /dev/null
@@ -0,0 +1,9 @@
+About
+=====
+This file documents the upstream sources for files and directories
+in this part of the Xen source tree.
+
+xen/tools/kconfig
+-----------------
+The kconfig directory was originally imported from the linux kernel
+git tree at kernel/git/torvalds/linux.git, path: scripts/kconfig