Re: [OE-core] [PATCH v3] Add new recipe for squashfs-tools-ng

Luca Bocassi
2020-10-23T08:57:15Z

On Thu, 2020-10-22 at 12:10 -0700, Khem Raj wrote:
>
> On 10/22/20 4:30 AM, Luca Bocassi wrote:
> > From: Luca Boccassi <luca.boccassi@microsoft.com>
> >
> > The main difference with squashfs-tools is the availability
> > of a shared library and a programmatic interface, rather
> > than just command-line tools.
>
> Can you clarify which parts are under GPL-3.0+ & LGPL-3.0+ licenses.
> is it possible to ship traditional functionality from squashfs-tools
> without using code under these licenses.

It's all defined in COPYING.md - the library is under LGPL3+, the rest
of the code (command-line tools) under GPL3+.

# License of squashfs-tools-ng

The `libsquashfs` library is released under the terms and conditions of the
**GNU Lesser General Public License version 3 or later**. This applies to
all source code in the directories `lib/sqfs`, `lib/util` and `include/sqfs`
with the following exceptions:

- `lib/util/xxhash.c` contains a modified implementation of the xxhash32
algorithm. See `licenses/xxhash.txt` for copyright and licensing
information (2 clause BSD license).
- `lib/lz4` contains files extracted from the LZ4 compression library.
See `lib/lz4/README` for details and `licenses/LZ4.txt` for copyright and
licensing information (2 clause BSD license).
- `lib/zlib` contains files that have been extracted from the the zlib
compression library and modified. See `lib/zlib/README` for details
and `licenses/zlib.txt` for details.
- `lib/util/hash_table.c`, `include/hash_table.h` and
`lib/util/fast_urem_by_const.h` contain a hash table implementation (MIT
license). See `licenses/hash_table.txt` for details.

The rest of squashfs-tools-ng is released under the terms and conditions of
the **GNU General Public License version 3 or later**.

--
Kind regards,
Luca Boccassi