2007-01-16 00:37:53 +01:00
|
|
|
#
|
2012-01-22 17:01:40 +01:00
|
|
|
# spec file for package squashfs
|
2007-01-16 00:37:53 +01:00
|
|
|
#
|
Accepting request 963333 from home:dirkmueller:Factory
- update to 4.5.1 (bsc#1190531, CVE-2021-41072):
* This release adds Manpages for Mksquashfs(1), Unsquashfs(1),
Sqfstar(1) and Sqfscat(1).
* The -help text output from the utilities has been improved
and extended as well (but the Manpages are now more
comprehensive).
* CVE-2021-41072 which is a writing outside of destination
exploit, has been fixed.
* The number of hard-links in the filesystem is now also
displayed by Mksquashfs in the output summary.
* The number of hard-links written by Unsquashfs is now
also displayed in the output summary.
* Unsquashfs will now write to a pre-existing destination
directory, rather than aborting.
* Unsquashfs now allows "." to used as the destination, to
extract to the current directory.
* The Unsquashfs progress bar now tracks empty files and
hardlinks, in addition to data blocks.
* -no-hardlinks option has been implemented for Sqfstar.
* More sanity checking for "corrupted" filesystems, including
checks for multiply linked directories and directory loops.
* Options that may cause filesystems to be unmountable have
been moved into a new "experts" category in the Mksquashfs
help text (and Manpage).
* Maximum cpiostyle filename limited to PATH_MAX. This
prevents attempts to overflow the stack, or cause system
calls to fail with a too long pathname.
* Don't always use "max open file limit" when calculating
length of queues, as a very large file limit can cause
Unsquashfs to abort. Instead use the smaller of max open
OBS-URL: https://build.opensuse.org/request/show/963333
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=50
2022-04-08 09:47:51 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2007-01-16 00:37:53 +01:00
|
|
|
#
|
2009-02-26 12:56:39 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-03-21 17:44:21 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:37:53 +01:00
|
|
|
#
|
|
|
|
|
2012-05-26 10:46:18 +02:00
|
|
|
|
2007-01-16 00:37:53 +01:00
|
|
|
Name: squashfs
|
Accepting request 963333 from home:dirkmueller:Factory
- update to 4.5.1 (bsc#1190531, CVE-2021-41072):
* This release adds Manpages for Mksquashfs(1), Unsquashfs(1),
Sqfstar(1) and Sqfscat(1).
* The -help text output from the utilities has been improved
and extended as well (but the Manpages are now more
comprehensive).
* CVE-2021-41072 which is a writing outside of destination
exploit, has been fixed.
* The number of hard-links in the filesystem is now also
displayed by Mksquashfs in the output summary.
* The number of hard-links written by Unsquashfs is now
also displayed in the output summary.
* Unsquashfs will now write to a pre-existing destination
directory, rather than aborting.
* Unsquashfs now allows "." to used as the destination, to
extract to the current directory.
* The Unsquashfs progress bar now tracks empty files and
hardlinks, in addition to data blocks.
* -no-hardlinks option has been implemented for Sqfstar.
* More sanity checking for "corrupted" filesystems, including
checks for multiply linked directories and directory loops.
* Options that may cause filesystems to be unmountable have
been moved into a new "experts" category in the Mksquashfs
help text (and Manpage).
* Maximum cpiostyle filename limited to PATH_MAX. This
prevents attempts to overflow the stack, or cause system
calls to fail with a too long pathname.
* Don't always use "max open file limit" when calculating
length of queues, as a very large file limit can cause
Unsquashfs to abort. Instead use the smaller of max open
OBS-URL: https://build.opensuse.org/request/show/963333
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=50
2022-04-08 09:47:51 +02:00
|
|
|
Version: 4.5.1
|
2012-01-22 17:01:40 +01:00
|
|
|
Release: 0
|
2007-01-16 00:37:53 +01:00
|
|
|
Summary: A Read-Only File System with Efficient Compression
|
2018-08-02 09:06:39 +02:00
|
|
|
License: GPL-2.0-or-later
|
2012-01-22 17:01:40 +01:00
|
|
|
Group: System/Filesystems
|
2022-01-03 11:36:00 +01:00
|
|
|
URL: https://github.com/plougher/squashfs-tools
|
Accepting request 963333 from home:dirkmueller:Factory
- update to 4.5.1 (bsc#1190531, CVE-2021-41072):
* This release adds Manpages for Mksquashfs(1), Unsquashfs(1),
Sqfstar(1) and Sqfscat(1).
* The -help text output from the utilities has been improved
and extended as well (but the Manpages are now more
comprehensive).
* CVE-2021-41072 which is a writing outside of destination
exploit, has been fixed.
* The number of hard-links in the filesystem is now also
displayed by Mksquashfs in the output summary.
* The number of hard-links written by Unsquashfs is now
also displayed in the output summary.
* Unsquashfs will now write to a pre-existing destination
directory, rather than aborting.
* Unsquashfs now allows "." to used as the destination, to
extract to the current directory.
* The Unsquashfs progress bar now tracks empty files and
hardlinks, in addition to data blocks.
* -no-hardlinks option has been implemented for Sqfstar.
* More sanity checking for "corrupted" filesystems, including
checks for multiply linked directories and directory loops.
* Options that may cause filesystems to be unmountable have
been moved into a new "experts" category in the Mksquashfs
help text (and Manpage).
* Maximum cpiostyle filename limited to PATH_MAX. This
prevents attempts to overflow the stack, or cause system
calls to fail with a too long pathname.
* Don't always use "max open file limit" when calculating
length of queues, as a very large file limit can cause
Unsquashfs to abort. Instead use the smaller of max open
OBS-URL: https://build.opensuse.org/request/show/963333
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=50
2022-04-08 09:47:51 +02:00
|
|
|
Source0: https://github.com/plougher/squashfs-tools/archive/refs/tags/%{version}.tar.gz
|
2015-03-06 13:24:46 +01:00
|
|
|
Patch0: squashfs-64k.patch
|
2019-10-27 18:57:20 +01:00
|
|
|
Patch1: squashfs-thread-limit
|
2022-01-03 11:36:00 +01:00
|
|
|
BuildRequires: lzma-devel
|
|
|
|
BuildRequires: lzo-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
Supplements: filesystem(squashfs)
|
2016-01-21 17:45:53 +01:00
|
|
|
%if %{?suse_version} > 1315
|
2015-03-06 13:24:46 +01:00
|
|
|
BuildRequires: liblz4-devel
|
2016-01-21 17:45:53 +01:00
|
|
|
%endif
|
2020-09-14 17:35:36 +02:00
|
|
|
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100
|
|
|
|
BuildRequires: libzstd-devel
|
|
|
|
%endif
|
2007-01-16 00:37:53 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the userland utilities to create and read
|
|
|
|
squashfs images.
|
|
|
|
|
|
|
|
%prep
|
2022-01-03 11:36:00 +01:00
|
|
|
%autosetup -p1 -n squashfs-tools-%{version}
|
2007-01-16 00:37:53 +01:00
|
|
|
|
|
|
|
%build
|
2019-04-24 20:05:23 +02:00
|
|
|
%define _lto_cflags %{nil}
|
2022-01-03 11:36:00 +01:00
|
|
|
sed -i -e "s|-O2|%{optflags}|" squashfs-tools/Makefile
|
2022-05-16 10:16:12 +02:00
|
|
|
%make_build -C squashfs-tools LZMA_XZ_SUPPORT=1 XZ_SUPPORT=1 LZO_SUPPORT=1 \
|
2016-01-21 17:45:53 +01:00
|
|
|
%if %{?suse_version} > 1315
|
2020-09-14 17:35:36 +02:00
|
|
|
LZ4_SUPPORT=1 \
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100
|
|
|
|
ZSTD_SUPPORT=1
|
2016-01-21 17:45:53 +01:00
|
|
|
%endif
|
2007-01-16 00:37:53 +01:00
|
|
|
|
|
|
|
%install
|
2015-03-06 13:24:46 +01:00
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
install -m 755 squashfs-tools/{un,mk}squashfs %{buildroot}%{_bindir}
|
2007-01-16 00:37:53 +01:00
|
|
|
|
|
|
|
%files
|
2022-01-03 11:36:00 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc README-%{version} ACKNOWLEDGEMENTS CHANGES USAGE
|
2015-03-06 13:24:46 +01:00
|
|
|
%{_bindir}/*squashfs
|
2007-01-16 00:37:53 +01:00
|
|
|
|
2007-03-29 18:29:20 +02:00
|
|
|
%changelog
|