From 75a055895c06bd67c1a0d99e1da1a8a79f3929ea Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 9 Sep 2019 13:03:00 +0200 Subject: 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 --- lib/util/alloc.c | 2 +- lib/util/dirstack.c | 2 +- lib/util/mkdir_p.c | 2 +- lib/util/padd_file.c | 2 +- lib/util/read_data.c | 2 +- lib/util/read_data_at.c | 2 +- lib/util/str_table.c | 2 +- lib/util/write_data.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/util') 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 * -- cgit v1.2.3