Commit Graph

27 Commits (34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6)

Author SHA1 Message Date
Alexander Couzens c61a239514
add PKG_CPE_ID ids to package and tools
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>
7 years ago
Alex Maclean 4425fa84da tools/squashfs4: include sysmacros.h explicitly
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>
7 years ago
Felix Fietkau 720b99215d treewide: clean up download hashes
Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Hauke Mehrtens f97ad870e1 squashfs4: use upstream xz compression header format
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>
8 years ago
Felix Fietkau d437c72c21 tools/squashfs4: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47869
9 years ago
John Crispin fd1c1b4918 tools/squashfs: add argument -fixed-time to set all timestamps
-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
9 years ago
Jo-Philipp Wich f7e56763e1 tools: remove static linking support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44285
9 years ago
Felix Fietkau 7a59e5b368 squashfs4: make inline functions static to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38562
11 years ago
Felix Fietkau 1f77bfff96 build: BSD compile fixes
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
11 years ago
Jo-Philipp Wich 7304953292 convert remaining tools to $(HOST_STATIC_LINKING) (#12012)
SVN-Revision: 33148
12 years ago
Jo-Philipp Wich a361365858 squashfs4: link statically
SVN-Revision: 33106
12 years ago
Felix Fietkau 08c7eae8f6 tools/squashfs(4): use $(HOSTCC) to avoid building with clang on recent mac os x. the clang build fails with some linker errors
SVN-Revision: 32706
12 years ago
Jonas Gorski 90673a048c squashfs4: Add support for LZMA Magic to unsquashfs
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
13 years ago
Felix Fietkau fa9521ad91 squashfs4: fix a compile error on big-endian systems (patch from #9842)
SVN-Revision: 27851
13 years ago
Felix Fietkau de23984834 squashfs4: add missing include for freebsd (patch from #9842)
SVN-Revision: 27850
13 years ago
Felix Fietkau e6aa1cab00 tools/squashfs4: update to version 4.2 (adds support for xz compression)
Based on a patch by Jonas Gorski

SVN-Revision: 26422
13 years ago
Felix Fietkau 23ef9fcc6a squashfs4: make the lzma parameters configurable, and change the defaults for slightly improved compression on mips (mostly unchanged on other architectures)
SVN-Revision: 25530
13 years ago
Jo-Philipp Wich f8c3ebc7c6 squashfs4: fix compilation on FreeBSD
SVN-Revision: 22347
14 years ago
Felix Fietkau 67b4181c8a squashfs4: backport an upstream change to fix the file mode check to allow setuid/setgid binaries (thx, ermo) - fixes #7653
SVN-Revision: 22334
14 years ago
Felix Fietkau c79b439709 squashfs4: use our lzma props settings again instead of the defaults (smaller images on arm/mips)
SVN-Revision: 18273
15 years ago
Felix Fietkau 2ecc782491 squashfs4: refresh the cygwin patch
SVN-Revision: 18272
15 years ago
Felix Fietkau 6b09768275 squashfs4: fix build breakage
SVN-Revision: 18271
15 years ago
Imre Kaloz 4364bc210e sync mksquashfs4 with the CVS code to generate LZMA images
SVN-Revision: 18268
15 years ago
Matteo Croce 9f53073e97 fix error in mksquashfs4 when data can't be compressed
SVN-Revision: 17585
15 years ago
Florian Fainelli 8868aa88c8 build fixes for squashfs4 on cygwin
SVN-Revision: 17430
15 years ago
Felix Fietkau bc152ef2c5 squashfs4: add lzma support (kernel support still missing)
SVN-Revision: 15884
15 years ago
Gabor Juhos 01287654f2 add tool for squashfs4 image generation (w/o LZMA support)
SVN-Revision: 15864
15 years ago