Commit Graph

19 Commits

Author SHA1 Message Date
Fabrice Fontaine 9e770d6c1d utils/squashfs-tools: fix PKG_CPE_ID
There is not a single CVE linked to phillip_lougher:squashfs so use
squashfs-tools_project:squashfs-tools instead:
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3🅰️squashfs-tools_project:squashfs-tools

Fixes: 299e5b0a9b (treewide: add PKG_CPE_ID for better cvescanner coverage)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-02 22:36:42 +01:00
Alexandru Ardelean 295244efad squashfs-tools: bump to version 4.6.1
Also, enable xattr support.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-04-03 09:51:28 +03:00
Alexandru Ardelean f0d45ba340 squashfs-tools: enable zstd compression by default
Requested via:
  https://github.com/openwrt/packages/issues/19111

PKG_RELEASE is set to AUTORELEASE, so no need to bump.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-05 09:48:33 +03:00
Alexandru Ardelean f86d5849b0 squashfs-tools: bump to version 4.5.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-04-07 15:32:25 -07:00
Alexandru Ardelean 399bb7f992 squashfs-tools: bump to version 4.5
Drop GCC 10 build patch
Adds 2 more utilities which are symlinks to mksquashfs,unsquashfs.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-26 11:22:54 +03:00
Daniel Golle 94e1ae9b79 squashfs-tools: build with xz by default
squashfs-tools aren't of much use without xz compression support
on OpenWrt, as we build kernel with squashfs supporting only xz.
Enabled support for xz compression by default.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-06-13 22:39:14 +01:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Rosen Penev 98c4ab3784
squashfs-tools: fix compilation with GCC10
Upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-01 15:14:20 -07:00
Alexandru Ardelean 2af0b9d303 squashfs-tools: bump to version 4.4
All patches are not needed anymore. squashfs-tools has implemented them in
one way or another.

Converted to download release tarballs. This should work better to get
notified of a newer release.

Also adds support for ZSTD compression:
  https://facebook.github.io/zstd/

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-17 12:21:19 +03:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Eneas U de Queiroz 7f4420baa2
squashfs-tools: need to include sys/sysmacros.h
The inclusion of <sys/sysmacros.h> by <sys/types.h> was deprecated and
removed.  This is causing major, minor, and makedev to be undefined.

The patch is an upstream commit fixing it.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-08-15 09:41:28 -03:00
Alexandru Ardelean 401b376b75 squashfs-tools: pull newer version from git repo
squashfs-tools does not provide tar-balls.
It looks like a good time to pull a newer version
that obsoletes a few accepted patches.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-10-27 09:55:23 +03:00
Colby Whitney 5917d336fa squashfs-tools: fix segfault
Unsquashfs was segfaulting.  When examining in gdb the stack was corrupt.
I found that converting the variable length arrays to malloc caused the
stack corruption to not happen and the segfault went away.  This is due to
the musl pthread stack size being 80k by default.  So the chance of a stack
overflow is high.

Signed-off-by: Colby Whitney <colby.whitney@luxul.com>
2017-09-11 08:55:55 -06:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Florian Fainelli 5374d8635d squashfs-tools: Pass down TARGET_CFLAGS, CPPFLAGS and LDFLAGs
This fixes build errors with external toolchains that don't
automatically search for headers in STAGING_DIR:

mipsel-linux-gnu-gcc   -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT   -c -o
gzip_wrapper.o gzip_wrapper.c
gzip_wrapper.c:27:18: fatal error: zlib.h: No such file or directory
 #include <zlib.h>
                  ^
compilation terminated.
make[3]: *** [gzip_wrapper.o] Error 1

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-05 17:18:51 -07:00
Alberto Bursi 478d35459c squashfs-tools: move to Filesystems submenu
Part of a wider housekeeping effort on the packages repository.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
2016-10-23 23:53:43 +02:00
Alexandru Ardelean dcd86b9f47 squashfs-tools: change default compression options to n
Otherwise it will pull all compression libraries to install
(on newly configured targets) when maybe 1 or 2 are needed.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-06-09 18:44:22 +03:00
Alexandru Ardelean 918485e18f squashfs-tools: get inline functions work with both gnu11 and gnu89
Seems that this issue with squashfs-tools was fixed by the guys
at openembedded.
See patch here:
https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-mksquashfs.c-get-inline-functions-work-with-C99.patch

I think in my case, this issue appeared because I wrote the Makefile
some time ago and it worked, then when I did the PR for it,
it wasn't working anymore, and I assumed it was still working.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-04-05 09:26:35 +03:00
Alexandru Ardelean d96328eae1 squashfs-tools: bring back package
Picked up the old Makefile at 4.2.
Upgraded at 4.3 (repo move to github now: https://github.com/plougher/squashfs-tools/)
Added musl compatibility.
Enabled LZ4 compression support by default

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-01-07 17:52:31 +02:00