Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package squashfs for openSUSE:Factory checked in at 2022-01-05 13:39:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/squashfs (Old) and /work/SRC/openSUSE:Factory/.squashfs.new.1896 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "squashfs" Wed Jan 5 13:39:18 2022 rev:42 rq:943567 version:4.5 Changes: -------- --- /work/SRC/openSUSE:Factory/squashfs/squashfs.changes 2020-09-23 18:39:10.349253485 +0200 +++ /work/SRC/openSUSE:Factory/.squashfs.new.1896/squashfs.changes 2022-01-05 13:39:33.429516358 +0100 @@ -1,0 +2,27 @@ +Sat Dec 11 23:03:19 UTC 2021 - Dirk M??ller <dmuel...@suse.com> + +- update to 4.5: + * Mksquashfs now supports "Actions". + * New sqfstar command which will create a Squashfs image from a tar archive. + * Tar style handling of source pathnames in Mksquashfs. + * Cpio style handling of source pathnames in Mksquashfs. + * New option to throttle the amount of CPU and I/O. + * Mksquashfs now allows no source directory to be specified. + * New Pseudo file "R" definition which allows a Regular file + o be created with data stored within the Pseudo file. + * Symbolic links are now followed in extract files + * Unsquashfs now supports "exclude" files. + * Max depth traversal option added. + * Unsquashfs can now output a "Pseudo file" representing the + input Squashfs filesystem. + * New -one-file-system option in Mksquashfs. + * New -no-hardlinks option in Mksquashfs. + * Exit code in Unsquashfs changed to distinguish between + non-fatal errors (exit 2), and fatal errors (exit 1). + * Xattr id count added in Unsquashfs "-stat" output. + * Unsquashfs "write outside directory" exploit fixed. + * Error handling in Unsquashfs writer thread fixed. + * Fix failure to truncate destination if appending aborted. + * Prevent Mksquashfs reading the destination file. + +------------------------------------------------------------------- Old: ---- squashfs4.4.tar.gz New: ---- 4.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ squashfs.spec ++++++ --- /var/tmp/diff_new_pack.MNqk7W/_old 2022-01-05 13:39:34.085516874 +0100 +++ /var/tmp/diff_new_pack.MNqk7W/_new 2022-01-05 13:39:34.089516877 +0100 @@ -1,7 +1,7 @@ # # spec file for package squashfs # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,40 +17,37 @@ Name: squashfs -Version: 4.4 +Version: 4.5 Release: 0 Summary: A Read-Only File System with Efficient Compression License: GPL-2.0-or-later Group: System/Filesystems -URL: http://squashfs.sourceforge.net/ -Source0: http://sourceforge.net/projects/squashfs/files/squashfs/%{name}%{version}/%{name}%{version}.tar.gz +URL: https://github.com/plougher/squashfs-tools +Source0: https://github.com/plougher/squashfs-tools/archive/refs/tags/4.5.tar.gz Patch0: squashfs-64k.patch Patch1: squashfs-thread-limit +BuildRequires: lzma-devel +BuildRequires: lzo-devel +BuildRequires: zlib-devel +Supplements: filesystem(squashfs) %if %{?suse_version} > 1315 BuildRequires: liblz4-devel %endif %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100 BuildRequires: libzstd-devel %endif -BuildRequires: lzma-devel -BuildRequires: lzo-devel -BuildRequires: zlib-devel -Supplements: filesystem(squashfs) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains the userland utilities to create and read squashfs images. %prep -%setup -q -n squashfs%{version} -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 -n squashfs-tools-%{version} %build %define _lto_cflags %{nil} -sed -i -e "s|-O2|%{optflags} -fcommon|" squashfs-tools/Makefile -make %{?_smp_mflags} -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1 \ +sed -i -e "s|-O2|%{optflags}|" squashfs-tools/Makefile +%make_build -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1 \ %if %{?suse_version} > 1315 LZ4_SUPPORT=1 \ %endif @@ -63,8 +60,8 @@ install -m 755 squashfs-tools/{un,mk}squashfs %{buildroot}%{_bindir} %files -%defattr(-,root,root) -%doc README-%{version} ACKNOWLEDGEMENTS CHANGES COPYING USAGE +%license COPYING +%doc README-%{version} ACKNOWLEDGEMENTS CHANGES USAGE %{_bindir}/*squashfs %changelog ++++++ squashfs4.4.tar.gz -> 4.5.tar.gz ++++++ ++++ 22423 lines of diff (skipped) ++++++ squashfs-64k.patch ++++++ --- /var/tmp/diff_new_pack.MNqk7W/_old 2022-01-05 13:39:34.209516972 +0100 +++ /var/tmp/diff_new_pack.MNqk7W/_new 2022-01-05 13:39:34.213516974 +0100 @@ -1,9 +1,28 @@ -diff -dupr squashfs4.4/squashfs-tools/mksquashfs.c squashfs4.4_new/squashfs-tools/mksquashfs.c ---- squashfs4.4/squashfs-tools/mksquashfs.c 2019-08-29 03:58:04.000000000 +0200 -+++ squashfs4.4/squashfs-tools/mksquashfs.c 2019-10-21 15:34:39.393253955 +0200 -@@ -4948,9 +4948,9 @@ void write_filesystem_tables(struct squa - SQUASHFS_INSWAP_SUPER_BLOCK(sBlk); - write_destination(fd, SQUASHFS_START, sizeof(*sBlk), sBlk); +Index: squashfs-tools-4.5/squashfs-tools/mksquashfs.c +=================================================================== +--- squashfs-tools-4.5.orig/squashfs-tools/mksquashfs.c ++++ squashfs-tools-4.5/squashfs-tools/mksquashfs.c +@@ -5954,7 +5954,7 @@ static void print_options(FILE *stream, + fprintf(stream, "-root-gid <gid>\t\tset root directory group to <gid>\n"); + fprintf(stream, "-force-uid <uid>\tset all file uids to <uid>\n"); + fprintf(stream, "-force-gid <gid>\tset all file gids to <gid>\n"); +- fprintf(stream, "-nopad\t\t\tdo not pad filesystem to a multiple of 4K\n"); ++ fprintf(stream, "-nopad\t\t\tdo not pad filesystem to a multiple of 64K\n"); + fprintf(stream, "-keep-as-directory\tif one source directory is specified, "); + fprintf(stream, "create a root\n"); + fprintf(stream, "\t\t\tdirectory containing that directory, rather than the\n"); +@@ -6112,7 +6112,7 @@ static void print_sqfstar_options(FILE * + fprintf(stream, "-root-gid <gid>\t\tset root directory group to <gid>\n"); + fprintf(stream, "-force-uid <uid>\tset all file uids to <uid>\n"); + fprintf(stream, "-force-gid <gid>\tset all file gids to <gid>\n"); +- fprintf(stream, "-nopad\t\t\tdo not pad filesystem to a multiple of 4K\n"); ++ fprintf(stream, "-nopad\t\t\tdo not pad filesystem to a multiple of 64K\n"); + fprintf(stream, "\nFilesystem filter options:\n"); + fprintf(stream, "-ef <exclude_file>\tlist of exclude dirs/files. "); + fprintf(stream, "One per line\n"); +@@ -6877,9 +6877,9 @@ print_sqfstar_compressor_options: + set_progressbar_state(FALSE); + write_filesystem_tables(&sBlk); - if(!nopad && (i = bytes & (4096 - 1))) { - char temp[4096] = {0}; @@ -14,13 +33,4 @@ } close(fd); -@@ -5898,7 +5898,7 @@ printOptions: - ERROR("-force-uid <uid>\tset all file uids to <uid>\n"); - ERROR("-force-gid <gid>\tset all file gids to <gid>\n"); - ERROR("-nopad\t\t\tdo not pad filesystem to a multiple " -- "of 4K\n"); -+ "of 64K\n"); - ERROR("-keep-as-directory\tif one source directory is " - "specified, create a root\n"); - ERROR("\t\t\tdirectory containing that directory, "