From: David O. <go...@in...> - 2019-10-08 23:12:59
|
Hi, squashfs-tools-ng 0.7 is released. Tarball: https://infraroot.at/pub/squashfs/squashfs-tools-ng-0.7.tar.xz Signature: https://infraroot.at/pub/squashfs/squashfs-tools-ng-0.7.tar.xz.asc Signed tag: https://github.com/AgentD/squashfs-tools-ng.git v0.7 The major change in this version consists of exposing all of the SquashFS handling code through a library called libsquashfs. The library code itself has been re-licensed and is now made available under the terms and conditions of the LGPL version 3 or later. This allows dynamic linking with programs under different licenses, including proprietary ones. The rest of the tools and static helper libraries stay under the GPLv3. They also contain 3rd party contributions, so that's no longer my call anyway. The new library allows SquashFS to be used in a wide variety of applications. Not only applications that work with standard SquashFS images, but also ones that require a powerful, flexible, archive or package format that can be easily customized and embedded. In theory this refactoring should have been easy, since the code was already neatly structured in sub-components and helper libraries to begin with. In practice however, it required a little more time than anticipated to cleanly separate the generic stuff from the tool specific code, polishing the API and re-testing a lot of things. Changes from 0.6.1 to 0.7: Features: - LGPLv3 licensed, library `libsquashfs` containing all the SquashFS logic. - Legacy LZMA 1 compression support. - User configurable queue backlog for tar2sqfs and gensquashfs. - Make sqfsdiff continue comparing even if the types are different, but compatible (e.g. extended directory vs basic directory). - In gensquashfs & tar2sqfs, try to determine the number of available CPU cores and use the maximum by default. - Make "--keep-time" the default for tar2sqfs and use a flag to disable it. Fixed: - An off-by-one error in the directory index count. - Typo in configure fallback path searching for LZO library. - Typo that caused LZMA2 VLI filters to not be used at all. - Possible out-of-bounds access in LZO compressor constructor. - Inverted logic in sqfs2tar extended attributes processing. - Start numbering inodes at 1, instead of 2. - Omit the mode bits in the inodes, only store permissions. Removed: - Comparison with directory from sqfsdiff. Regards, David |