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/sqfs/comp/compressor.c | 2 +- lib/sqfs/comp/gzip.c | 2 +- lib/sqfs/comp/internal.h | 2 +- lib/sqfs/comp/lz4.c | 2 +- lib/sqfs/comp/lzo.c | 2 +- lib/sqfs/comp/xz.c | 2 +- lib/sqfs/comp/zstd.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'lib/sqfs/comp') diff --git a/lib/sqfs/comp/compressor.c b/lib/sqfs/comp/compressor.c index c938fe2..765558f 100644 --- a/lib/sqfs/comp/compressor.c +++ b/lib/sqfs/comp/compressor.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * compressor.c * diff --git a/lib/sqfs/comp/gzip.c b/lib/sqfs/comp/gzip.c index bec217a..b18d5f7 100644 --- a/lib/sqfs/comp/gzip.c +++ b/lib/sqfs/comp/gzip.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * gzip.c * diff --git a/lib/sqfs/comp/internal.h b/lib/sqfs/comp/internal.h index 29b875f..f57f2ce 100644 --- a/lib/sqfs/comp/internal.h +++ b/lib/sqfs/comp/internal.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * internal.h * diff --git a/lib/sqfs/comp/lz4.c b/lib/sqfs/comp/lz4.c index e96ab45..ef4ab99 100644 --- a/lib/sqfs/comp/lz4.c +++ b/lib/sqfs/comp/lz4.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * lz4.c * diff --git a/lib/sqfs/comp/lzo.c b/lib/sqfs/comp/lzo.c index e4a7ca6..8589dfb 100644 --- a/lib/sqfs/comp/lzo.c +++ b/lib/sqfs/comp/lzo.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * lzo.c * diff --git a/lib/sqfs/comp/xz.c b/lib/sqfs/comp/xz.c index 24602ec..b26e6f1 100644 --- a/lib/sqfs/comp/xz.c +++ b/lib/sqfs/comp/xz.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * xz.c * diff --git a/lib/sqfs/comp/zstd.c b/lib/sqfs/comp/zstd.c index 5434e1f..312679a 100644 --- a/lib/sqfs/comp/zstd.c +++ b/lib/sqfs/comp/zstd.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * zstd.c * -- cgit v1.2.3