summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-09 13:03:00 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-09 13:46:35 +0200
commit75a055895c06bd67c1a0d99e1da1a8a79f3929ea (patch)
treeab302274ea14a77c3235978492bf7e3bc4e4656b /lib/util
parent8ef9f10b20e313db5edd0b9c11ecdd8690812b8d (diff)
Change license of libsquashfs.so
This this commit, the code that is compiled and linked to produce libsquashfs.so (and *only* libsquashfs.so) is released under the terms and conditions of the GNU Lesser General Public license, allowing 3rd party programs to dynamically link against it and still being able to release their programs under a license of their choosing. The libutil library is also relicensed, because it is statically linked into libsquashfs.so. This does not affect the command line programs that remain under the GPLv3. At the current time, the two libraries do not contain any 3rd party contributions and thus do not require anybodys consent other than mine to change the licensing terms (unlike e.g. libfstree.a). The libfstree.a and libsqfshelper.a utility libraries will also remain under the GPLv3 license. Going forward, some parts of libsqfshelper.a will be moved to libsquashfs.so. The parts absorbed by libsquashfs.so will then also have their licensing conditions changed *at that time*. For the public headers, this commit adds the full boiler-plate comment about the license, for the source files and internal headers, only the SPDX identifier is changed. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/alloc.c2
-rw-r--r--lib/util/dirstack.c2
-rw-r--r--lib/util/mkdir_p.c2
-rw-r--r--lib/util/padd_file.c2
-rw-r--r--lib/util/read_data.c2
-rw-r--r--lib/util/read_data_at.c2
-rw-r--r--lib/util/str_table.c2
-rw-r--r--lib/util/write_data.c2
8 files changed, 8 insertions, 8 deletions
diff --git a/lib/util/alloc.c b/lib/util/alloc.c
index eda0e63..924f8e8 100644
--- a/lib/util/alloc.c
+++ b/lib/util/alloc.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-3.0-or-later */
/*
* alloc.c
*
diff --git a/lib/util/dirstack.c b/lib/util/dirstack.c
index 84da3fb..8f7baf1 100644
--- a/lib/util/dirstack.c
+++ b/lib/util/dirstack.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-3.0-or-later */
/*
* dirstack.c
*
diff --git a/lib/util/mkdir_p.c b/lib/util/mkdir_p.c
index 1040453..f9d7730 100644
--- a/lib/util/mkdir_p.c
+++ b/lib/util/mkdir_p.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-3.0-or-later */
/*
* mkdir_p.c
*
diff --git a/lib/util/padd_file.c b/lib/util/padd_file.c
index 21950b4..8c7120b 100644
--- a/lib/util/padd_file.c
+++ b/lib/util/padd_file.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-3.0-or-later */
/*
* padd_file.c
*
diff --git a/lib/util/read_data.c b/lib/util/read_data.c
index 47058d0..f35d579 100644
--- a/lib/util/read_data.c
+++ b/lib/util/read_data.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-3.0-or-later */
/*
* read_data.c
*
diff --git a/lib/util/read_data_at.c b/lib/util/read_data_at.c
index e055433..058909a 100644
--- a/lib/util/read_data_at.c
+++ b/lib/util/read_data_at.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-3.0-or-later */
/*
* read_data_at.c
*
diff --git a/lib/util/str_table.c b/lib/util/str_table.c
index ab07738..5f6543e 100644
--- a/lib/util/str_table.c
+++ b/lib/util/str_table.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-3.0-or-later */
/*
* str_table.c
*
diff --git a/lib/util/write_data.c b/lib/util/write_data.c
index cc4947f..8b4c00d 100644
--- a/lib/util/write_data.c
+++ b/lib/util/write_data.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-3.0-or-later */
/*
* write_data.c
*