Various bug fixes and changes.

link: https://sourceforge.net/projects/squashfs/files/squashfs/squashfs4.6.1/
link: https://sourceforge.net/projects/squashfs/files/squashfs/squashfs4.6/

Changed make options to install prebuild man pages, so patch series is no 
longer needed.

Signed-off-by: Andreas Helmcke <[email protected]>
---
 .../0001-don-t-try-to-generate-manpages.patch | 21 -------------------
 patches/squashfs4.5.1/series                  |  4 ----
 rules/squashfs-tools.make                     |  9 +++++---
 3 files changed, 6 insertions(+), 28 deletions(-)
 delete mode 100644 
patches/squashfs4.5.1/0001-don-t-try-to-generate-manpages.patch
 delete mode 100644 patches/squashfs4.5.1/series

diff --git a/patches/squashfs4.5.1/0001-don-t-try-to-generate-manpages.patch 
b/patches/squashfs4.5.1/0001-don-t-try-to-generate-manpages.patch
deleted file mode 100644
index 1dd1d6c43..000000000
--- a/patches/squashfs4.5.1/0001-don-t-try-to-generate-manpages.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From: Michael Olbrich <[email protected]>
-Date: Thu, 15 Dec 2022 12:19:04 +0100
-Subject: [PATCH] don't try to generate manpages
-
-The script tries to execute mksquashfs which does not work for
-cross-compiling.
-
-Signed-off-by: Michael Olbrich <[email protected]>
----
- squashfs-tools/Makefile | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/squashfs-tools/Makefile b/squashfs-tools/Makefile
-index 8b80b8a68c1b..3d147735f506 100755
---- a/squashfs-tools/Makefile
-+++ b/squashfs-tools/Makefile
-@@ -422,4 +422,3 @@ install: mksquashfs unsquashfs
-       cp unsquashfs $(INSTALL_DIR)
-       ln -fs unsquashfs $(INSTALL_DIR)/sqfscat
-       ln -fs mksquashfs $(INSTALL_DIR)/sqfstar
--      ../generate-manpages/install-manpages.sh $(shell pwd)/.. 
"$(INSTALL_MANPAGES_DIR)"
diff --git a/patches/squashfs4.5.1/series b/patches/squashfs4.5.1/series
deleted file mode 100644
index 107a293f5..000000000
--- a/patches/squashfs4.5.1/series
+++ /dev/null
@@ -1,4 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-don-t-try-to-generate-manpages.patch
-# 44bb5fb8b1cd672d1996e5c3879b55b2  - git-ptx-patches magic
diff --git a/rules/squashfs-tools.make b/rules/squashfs-tools.make
index 91adfc2ee..7fc696f32 100644
--- a/rules/squashfs-tools.make
+++ b/rules/squashfs-tools.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_SQUASHFS_TOOLS) += squashfs-tools
 #
 # Paths and names
 #
-SQUASHFS_TOOLS_VERSION := 4.5.1
-SQUASHFS_TOOLS_MD5     := 399513f5dbfbf2ceec52db0b1b30f648
+SQUASHFS_TOOLS_VERSION := 4.6.1
+SQUASHFS_TOOLS_MD5     := db23a40fa0dc54b4d6d225fb20ee6555
 SQUASHFS_TOOLS         := squashfs$(SQUASHFS_TOOLS_VERSION)
 SQUASHFS_TOOLS_SUFFIX  := tar.gz
 SQUASHFS_TOOLS_URL     := $(call ptx/mirror, SF, 
squashfs/$(SQUASHFS_TOOLS).$(SQUASHFS_TOOLS_SUFFIX))
@@ -33,10 +33,13 @@ SQUASHFS_TOOLS_LICENSE_FILES := \
 SQUASHFS_TOOLS_MAKE_PAR := NO
 SQUASHFS_TOOLS_MAKE_ENV := \
        ZSTD_SUPPORT=$(call ptx/ifdef, PTXCONF_SQUASHFS_TOOLS_ZSTD_SUPPORT,1,0) 
\
-       $(CROSS_ENV)
+       $(CROSS_ENV) \
+       CONFIG=1 \
+       USE_PREBUILT_MANPAGES=y
 
 SQUASHFS_TOOLS_INSTALL_OPT := \
        INSTALL_DIR="$(SQUASHFS_TOOLS_PKGDIR)/usr/sbin" \
+       INSTALL_MANPAGES_DIR="$(SQUASHFS_TOOLS_PKGDIR)/usr/local/man/man1" \
        install
 
 # ----------------------------------------------------------------------------
-- 
2.43.0


Reply via email to