aboutsummaryrefslogtreecommitdiffstats
path: root/tools/squashfs4
Commit message (Collapse)AuthorAgeFilesLines
* tools/squashfs4: backport OpenWrt extended options patchChristian Marangi2023-04-203-1/+900
| | | | | | | | | | | | | Due to us keeping a patch around for years and never proposing it to squashfs4 repository, we resulted in having the same squashfs4 version but with different supported options. (openwrt patched -- upstream) To workaround this problem, a non-standard option was required. To not have surprise on tool bump, backport the patch and add the new config option required to enable these extended non-standard options. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* tools/squashfs4: refresh multiple lzma configuration option patchChristian Marangi2023-04-122-25/+45
| | | | | | | | Refresh multiple lzma configuration option patch with new version proposed upstream. (Reintroduce -Xe option and add more checks and general better code quality) Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* tools/squashfs4: bump to 4.6.1Linhui Liu2023-04-0110-506/+4
| | | | | | | | | | | | | | | | | Changelogs: https://github.com/plougher/squashfs-tools/blob/4.6.1/CHANGES Removed upstreamed patches: - 001-Unsquashfs-Add-and-make-some-header-includes-conditi.patch - 002-Mksquashfs-Make-sysinfo-conditional.patch - 003-Only-use-available-CPUs.patch - 004-action-rework-strdupa-with-POSIX-strdup-and-free.patch - 005-Don-t-use-sigwaitinfo-sigtimedwait-if-not-supported.patch - 006-Move-sysinfo.h-into-the-linux-only-section-should-fi.patch - 007-Unsquashfs-fix-compilation-error-for-missing-sysctl..patch - 100-portability.patch Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/squashfs4: enable parallel buildsLinhui Liu2023-04-011-1/+3
| | | | | | | | | | | | | | Run `time make tools/squashfs4/{clean,compile} -j$(nproc)` Before: real 0m8.803s user 0m12.415s sys 0m1.317s After: real 0m13.781s user 0m13.290s sys 0m1.528s Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/squashfs4: fix PKG_MIRROR_HASHDaniel Golle2023-02-251-1/+1
| | | | | | | | | | | The hash currently matches neither the SHA256 of the Github download nor the hash of the archive generated by the OpenWrt build system. (and yes, they differ...) Set hash of Github-generated tarball. Fixes: 30f2d516ba ("tools/squashfs4: add new tool for squashfs4 images") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* tools/squashfs4: add new tool for squashfs4 imagesChristian Marangi2023-02-2010-0/+710
| | | | | | | | | | | | | | squashfs tool is finally reborn and correctly maintained. Introduce the new version as a replacement for squasfs4kit as it was a fork and also abandoned. Add additional patch to add the missing feature present in squashfskit4 but still missing on this new project. Backport each required patch that fix compilation error on macos. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* tools: migrate from squashfs4 to squashfskit4Alexander Couzens2019-02-2811-1439/+0
| | | | | | | | | squashfskit is a fork of the squashfs-tools. squashfskit creates reproducible filesystems and includes many of the distro patches. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Tested-by: Paul Spooren <mail@aparcar.org>
* tools/zlib: move zlib build to toolsHauke Mehrtens2018-04-281-1/+1
| | | | | | | | | | | | | This allows us to link the other tools against our libz and we do not need the system zlib any more. Only the static linked library is copied to the staging directory so we have a statically linked library on all systems and not only on Linux. This also adds the new dependencies of the packages which are depending on zlib. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* add PKG_CPE_ID ids to package and toolsAlexander Couzens2017-11-171-0/+1
| | | | | | | | | | | CPE ids helps to tracks CVE in packages. https://cpe.mitre.org/specification/ Thanks to swalker for CPE to package mapping and keep tracking CVEs. Acked-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* tools/squashfs4: include sysmacros.h explicitlyAlex Maclean2017-10-275-16/+36
| | | | | | | | | | | | glibc is moving to remove the include of sys/sysmacros.h from sys/types.h, and some distros have done this early. Other libcs may already lack this include. Include sysmacros.h explicitly. Fixes: FS#1017 Signed-off-by: Alex Maclean <monkeh@monkeh.net> [refresh patches] Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* squashfs4: use upstream xz compression header formatHauke Mehrtens2016-06-221-1/+1
| | | | | | | | | | | | | | | | | In the upstream kernel and the upstream squashfs4 tools the xz compression header looks the following: struct disk_comp_opts { __le32 dictionary_size; __le32 flags; }; We added some other members and also moved some existing members. Place the members which are already in upstream header at the same position as in that kernel and add our own at the end. The kernel should not have a problem when there are some additional members and just ignore them. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools/squashfs4: refresh patchesFelix Fietkau2015-12-114-13/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47869
* tools/squashfs: add argument -fixed-time to set all timestampsJohn Crispin2015-12-111-0/+84
| | | | | | | | | -fixed-time <timestamp> set mkfs-timestamp and file-mtime to this timestamp. Reproducible builds requires the removal of all timestamp or setting all to a specific one. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 47858
* tools: remove static linking supportJo-Philipp Wich2015-02-061-1/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44285
* squashfs4: make inline functions static to fix build errorsFelix Fietkau2013-10-281-0/+36
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38562
* build: BSD compile fixesFelix Fietkau2013-03-071-0/+26
| | | | | | | | | | | | | | | | following patch allows to build images for Qemu ARM on OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64. Mostly small pieces of code changes to get things right on the specific platform. Updated the README to describe better, which tools on the host are required. Added some kind of prepare scripts to install needed tools on BSD via packages. Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de> SVN-Revision: 35900
* convert remaining tools to $(HOST_STATIC_LINKING) (#12012)Jo-Philipp Wich2012-08-121-1/+1
| | | | SVN-Revision: 33148
* squashfs4: link staticallyJo-Philipp Wich2012-08-101-1/+2
| | | | SVN-Revision: 33106
* tools/squashfs(4): use $(HOSTCC) to avoid building with clang on recent mac ↵Felix Fietkau2012-07-131-0/+1
| | | | | | os x. the clang build fails with some linker errors SVN-Revision: 32706
* squashfs4: Add support for LZMA Magic to unsquashfsJonas Gorski2011-10-191-0/+72
| | | | | | | | Some vendor firmwares use a different super block magic to indicate LZMA compression. This patches adds support for detecting this and enable extraction for those firmware's root filesystems. SVN-Revision: 28489
* squashfs4: fix a compile error on big-endian systems (patch from #9842)Felix Fietkau2011-07-311-1/+1
| | | | SVN-Revision: 27851
* squashfs4: add missing include for freebsd (patch from #9842)Felix Fietkau2011-07-311-1/+4
| | | | SVN-Revision: 27850
* tools/squashfs4: update to version 4.2 (adds support for xz compression)Felix Fietkau2011-04-039-2374/+1025
| | | | | | Based on a patch by Jonas Gorski SVN-Revision: 26422
* squashfs4: make the lzma parameters configurable, and change the defaults ↵Felix Fietkau2011-02-132-11/+91
| | | | | | for slightly improved compression on mips (mostly unchanged on other architectures) SVN-Revision: 25530
* squashfs4: fix compilation on FreeBSDJo-Philipp Wich2010-07-221-0/+10
| | | | SVN-Revision: 22347
* squashfs4: backport an upstream change to fix the file mode check to allow ↵Felix Fietkau2010-07-211-0/+11
| | | | | | setuid/setgid binaries (thx, ermo) - fixes #7653 SVN-Revision: 22334
* squashfs4: use our lzma props settings again instead of the defaults ↵Felix Fietkau2009-11-021-0/+11
| | | | | | (smaller images on arm/mips) SVN-Revision: 18273
* squashfs4: refresh the cygwin patchFelix Fietkau2009-11-021-30/+24
| | | | SVN-Revision: 18272
* squashfs4: fix build breakageFelix Fietkau2009-11-021-3/+1
| | | | SVN-Revision: 18271
* sync mksquashfs4 with the CVS code to generate LZMA imagesImre Kaloz2009-11-021-358/+2124
| | | | SVN-Revision: 18268
* fix error in mksquashfs4 when data can't be compressedMatteo Croce2009-09-151-33/+51
| | | | SVN-Revision: 17585
* build fixes for squashfs4 on cygwinFlorian Fainelli2009-08-271-0/+154
| | | | SVN-Revision: 17430
* squashfs4: add lzma support (kernel support still missing)Felix Fietkau2009-05-173-0/+471
| | | | SVN-Revision: 15884
* add tool for squashfs4 image generation (w/o LZMA support)Gabor Juhos2009-05-151-0/+36
SVN-Revision: 15864