summaryrefslogtreecommitdiff
path: root/lib
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
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')
-rw-r--r--lib/sqfs/block_processor.c2
-rw-r--r--lib/sqfs/block_processor_parallel.c2
-rw-r--r--lib/sqfs/comp/compressor.c2
-rw-r--r--lib/sqfs/comp/gzip.c2
-rw-r--r--lib/sqfs/comp/internal.h2
-rw-r--r--lib/sqfs/comp/lz4.c2
-rw-r--r--lib/sqfs/comp/lzo.c2
-rw-r--r--lib/sqfs/comp/xz.c2
-rw-r--r--lib/sqfs/comp/zstd.c2
-rw-r--r--lib/sqfs/dir_writer.c2
-rw-r--r--lib/sqfs/id_table.c2
-rw-r--r--lib/sqfs/io.c2
-rw-r--r--lib/sqfs/meta_reader.c2
-rw-r--r--lib/sqfs/meta_writer.c2
-rw-r--r--lib/sqfs/process_block.c2
-rw-r--r--lib/sqfs/read_inode.c2
-rw-r--r--lib/sqfs/read_super.c2
-rw-r--r--lib/sqfs/read_table.c2
-rw-r--r--lib/sqfs/readdir.c2
-rw-r--r--lib/sqfs/super.c2
-rw-r--r--lib/sqfs/write_inode.c2
-rw-r--r--lib/sqfs/write_table.c2
-rw-r--r--lib/sqfs/xattr.c2
-rw-r--r--lib/sqfs/xattr_reader.c2
-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
32 files changed, 32 insertions, 32 deletions
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
*
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
*