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/block_processor.c | 2 +- lib/sqfs/block_processor_parallel.c | 2 +- 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 +- lib/sqfs/dir_writer.c | 2 +- lib/sqfs/id_table.c | 2 +- lib/sqfs/io.c | 2 +- lib/sqfs/meta_reader.c | 2 +- lib/sqfs/meta_writer.c | 2 +- lib/sqfs/process_block.c | 2 +- lib/sqfs/read_inode.c | 2 +- lib/sqfs/read_super.c | 2 +- lib/sqfs/read_table.c | 2 +- lib/sqfs/readdir.c | 2 +- lib/sqfs/super.c | 2 +- lib/sqfs/write_inode.c | 2 +- lib/sqfs/write_table.c | 2 +- lib/sqfs/xattr.c | 2 +- lib/sqfs/xattr_reader.c | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) (limited to 'lib/sqfs') diff --git a/lib/sqfs/block_processor.c b/lib/sqfs/block_processor.c index 649e97f..3fa37fd 100644 --- a/lib/sqfs/block_processor.c +++ b/lib/sqfs/block_processor.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * block_processor.c * diff --git a/lib/sqfs/block_processor_parallel.c b/lib/sqfs/block_processor_parallel.c index b9a14c6..05c07f1 100644 --- a/lib/sqfs/block_processor_parallel.c +++ b/lib/sqfs/block_processor_parallel.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * block_processor.c * 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 * diff --git a/lib/sqfs/dir_writer.c b/lib/sqfs/dir_writer.c index aab5479..70c035e 100644 --- a/lib/sqfs/dir_writer.c +++ b/lib/sqfs/dir_writer.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * dir_writer.c * diff --git a/lib/sqfs/id_table.c b/lib/sqfs/id_table.c index 92a0039..55477dc 100644 --- a/lib/sqfs/id_table.c +++ b/lib/sqfs/id_table.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * id_table.c * diff --git a/lib/sqfs/io.c b/lib/sqfs/io.c index db60964..d0b2558 100644 --- a/lib/sqfs/io.c +++ b/lib/sqfs/io.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * io.c * diff --git a/lib/sqfs/meta_reader.c b/lib/sqfs/meta_reader.c index 7d56869..72d8db1 100644 --- a/lib/sqfs/meta_reader.c +++ b/lib/sqfs/meta_reader.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * meta_reader.c * diff --git a/lib/sqfs/meta_writer.c b/lib/sqfs/meta_writer.c index 4bd7e56..29fa183 100644 --- a/lib/sqfs/meta_writer.c +++ b/lib/sqfs/meta_writer.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * meta_writer.c * diff --git a/lib/sqfs/process_block.c b/lib/sqfs/process_block.c index 2c1395f..f8b4d6c 100644 --- a/lib/sqfs/process_block.c +++ b/lib/sqfs/process_block.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * process_block.c * diff --git a/lib/sqfs/read_inode.c b/lib/sqfs/read_inode.c index 56ea6a4..3efb1d8 100644 --- a/lib/sqfs/read_inode.c +++ b/lib/sqfs/read_inode.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * read_inode.c * diff --git a/lib/sqfs/read_super.c b/lib/sqfs/read_super.c index 23909e0..b2f363a 100644 --- a/lib/sqfs/read_super.c +++ b/lib/sqfs/read_super.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * read_super.c * diff --git a/lib/sqfs/read_table.c b/lib/sqfs/read_table.c index 129ecaf..e5461a4 100644 --- a/lib/sqfs/read_table.c +++ b/lib/sqfs/read_table.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * read_table.c * diff --git a/lib/sqfs/readdir.c b/lib/sqfs/readdir.c index 25d0438..9db316e 100644 --- a/lib/sqfs/readdir.c +++ b/lib/sqfs/readdir.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * readdir.c * diff --git a/lib/sqfs/super.c b/lib/sqfs/super.c index b3984d2..10d911b 100644 --- a/lib/sqfs/super.c +++ b/lib/sqfs/super.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * super.c * diff --git a/lib/sqfs/write_inode.c b/lib/sqfs/write_inode.c index 42ec58f..6e36544 100644 --- a/lib/sqfs/write_inode.c +++ b/lib/sqfs/write_inode.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * write_inode.c * diff --git a/lib/sqfs/write_table.c b/lib/sqfs/write_table.c index 8d20a74..3c718ea 100644 --- a/lib/sqfs/write_table.c +++ b/lib/sqfs/write_table.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * write_table.c * diff --git a/lib/sqfs/xattr.c b/lib/sqfs/xattr.c index dd8f2ee..985fc95 100644 --- a/lib/sqfs/xattr.c +++ b/lib/sqfs/xattr.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * write_xattr.c * diff --git a/lib/sqfs/xattr_reader.c b/lib/sqfs/xattr_reader.c index 1634be8..d0c8800 100644 --- a/lib/sqfs/xattr_reader.c +++ b/lib/sqfs/xattr_reader.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* SPDX-License-Identifier: LGPL-3.0-or-later */ /* * xattr_reader.c * -- cgit v1.2.3