summaryrefslogtreecommitdiff
path: root/tools/squashfs4
Commit message (Collapse)AuthorAgeFilesLines
* 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