Name: squashfs-tools Version: 4.5 Release: 4 Summary: Utility for the squashfs filesystems License: GPLv2+ URL: http://squashfs.sourceforge.net/ Source0: http://downloads.sourceforge.net/squashfs/squashfs%{version}.tar.gz Patch1: 0001-CVE-2021-41072.patch Patch2: 0002-CVE-2021-41072.patch Patch3: 0003-CVE-2021-41072.patch Patch4: 0004-CVE-2021-41072.patch Patch5: 0005-CVE-2021-41072.patch Patch6: 0006-pseudo-fix-possible-dereference-of-NULL-pointer.patch BuildRequires: zlib-devel xz-devel libzstd-devel BuildRequires: lzo-devel libattr-devel lz4-devel gcc %description Squashfs is a highly compressed read-only filesystem for Linux. It uses either gzip/xz/lzo/lz4/zstd compression to compress both files, inodes and directories. %prep %autosetup -n squashfs-tools-%{version} -p1 %build CFLAGS="%{optflags}" XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1 ZSTD_SUPPORT=1 \ %make_build -C squashfs-tools %install install -D -m 755 squashfs-tools/mksquashfs %{buildroot}%{_sbindir}/mksquashfs install -D -m 755 squashfs-tools/unsquashfs %{buildroot}%{_sbindir}/unsquashfs %files %defattr(-,root,root) %doc ACKNOWLEDGEMENTS README-4.5 %license COPYING %{_sbindir}/mksquashfs %{_sbindir}/unsquashfs %changelog * Wed Nov 16 2022 wubo - 4.5-4 - The sw_64 is not define, Revert sw64 architecture. * Thu Oct 27 2022 wuzx - 4.5-3 - Add sw64 architecture * Thu Oct 20 2022 lihaoxiang - 4.5-2 - fix dereference of null pointer * Thu Nov 25 2021 yanglongkang - 4.5-1 - update to 4.5 * Tue Nov 9 2021 yanglongkang - 4.4-5 - Fix CVE-2021-40153 CVE-2021-41072 * Fri Jul 30 2021 chenyanpanHW - 4.4-4 - DESC: delete -S git from %autosetup, and delete BuildRequires git * Tue Jun 29 2021 zhouwenpei - 4.4-3 - add buildrequire gcc. * Mon Jul 13 2020 Zhiqiang Liu - 4.4-2 - backport upstream bugfix patches * Tue Oct 15 2019 zhanghaibo - 4.4-1 - Rebase to version 4.4 * Wed Jul 18 2018 openEuler Buildteam - 4.3-17 - Package init