Commit Graph

37 Commits

Author SHA256 Message Date
Torsten Duwe
9de13cedd0 Accepting request 1096593 from home:duwe:branches:filesystems
- For reference: previous updates fixed
  * CVE-2021-40153 (bsc#1189936)
  * CVE-2015-4645, CVE-2015-4646 (bsc#935380)

OBS-URL: https://build.opensuse.org/request/show/1096593
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=58
2023-07-03 13:58:25 +00:00
2cfa239220 Accepting request 1079568 from home:dirkmueller:Factory
- update to 4.6.1:
  * Race condition which can cause corruption of the "fragment
    table" fixed.  This is a regression introduced in August 2022,
    and it has been seen when tailend packing is used (-tailends option).
  * Fix build failure when the tools are being built without
    extended attribute (XATTRs) support.
  * Fix XATTR error message when an unrecognised prefix is
    found
  * Fix incorrect free of pointer when an unrecognised XATTR
    prefix is found.
  * Major improvements in extended attribute handling,
    pseudo file handling, and miscellaneous new options and
    improvements
  * Extended attribute handling improved in Mksquashfs and
    Sqfstar
  * New Pseudo file xattr definition to add extended
    attributes to files.
  * New xattrs-add Action to add extended attributes to files
  * Extended attribute handling improved in Unsquashfs
  * Other major improvements
  * Unsquashfs can now output Pseudo files to standard out.
  * Mksquashfs can now input Pseudo files from standard in.
  * Squashfs filesystems can now be converted (different
    block size compression etc) without unpacking to an
    intermediate filesystem or mounting, by piping the output of
    Unsquashfs to Mksquashfs.
  * Pseudo files are now supported by Sqfstar.
  * "Non-anchored" excludes are now supported by Unsquashfs.

OBS-URL: https://build.opensuse.org/request/show/1079568
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=56
2023-04-27 22:00:35 +00:00
Torsten Duwe
ae133ef5b2 Accepting request 1010925 from home:duwe:branches:filesystems
- Do not repeat openSUSE / SLE version tests
- Actually format and package the man pages

OBS-URL: https://build.opensuse.org/request/show/1010925
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=54
2022-10-14 16:05:12 +00:00
a851d38ff2 Accepting request 975597 from home:elvigia:branches:filesystems
- set LZMA_XZ_SUPPORT=1 so you can (un)squash -comp lzma images

OBS-URL: https://build.opensuse.org/request/show/975597
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=52
2022-05-16 08:16:12 +00:00
f26d30efe2 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 07:47:51 +00:00
76ddb9bee5 Accepting request 939998 from home:dirkmueller:Factory
- 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.

OBS-URL: https://build.opensuse.org/request/show/939998
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=49
2022-01-03 10:36:00 +00:00
Philipp Seiler
a9c9e90b07 Accepting request 831277 from home:bjoernv:branches:filesystems
- enabled ZSTD compression support for openSUSE >= 15.1

OBS-URL: https://build.opensuse.org/request/show/831277
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=47
2020-09-14 15:35:36 +00:00
Dominique Leuenberger
0709a3f074 Accepting request 790116 from home:marxin:branches:filesystems
- Add -fcommon in order to fix boo#1160294.

OBS-URL: https://build.opensuse.org/request/show/790116
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=45
2020-04-09 12:42:58 +00:00
Philipp Seiler
35248795dc - added removal information of patches to the changelog
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=43
2019-10-27 20:51:43 +00:00
Philipp Seiler
65f4d119ab Accepting request 741504 from home:seilerphilipp:filesystems
- Version 4.4 - 2019-08-29:
 * Reproducible builds, new compressors,
   CVE fixes, security hardening and new options
   for Mksquashfs/Unsquashfs.
- Overall improvements:
 * Mksquashfs now generates reproducible images by default.
 * Mkfs time and file timestamps can also be specified.
 * Support for the Zstandard (ZSTD) compression algorithm.
 * CVE-2015-4645 and CVE-2015-4646 have been fixed.
- Mksquashfs improvements and major bug fixes:
 * Pseudo files now support symbolic links.
 * New -mkfs-time option.
 * New -all-time option.
 * New -root-mode option.
 * New -quiet option.
 * New -noId option.
 * New -offset option.
 * Update lz4 wrapper to use new functions introduced
   in 1.7.0.
 * Bug fix, don't allow "/" pseudo filenames.
 * Bug fix, allow quoting of pseudo files, to
   better handle filenames with spaces.
 * Fix compilation with glibc 2.25+.
- Unsquashfs improvements and major bug fixes:
 * CVE-2015-4645 and CVE-2015-4646 have been fixed.
 * Unsquashfs has been further hardened against corrupted
   filestems.
 * Unsquashfs is now more strict about error handling.
 * New -ignore-errors option.
 * New -strict-errors option.
 * New -lln[umeric] option.
 * New -lc option.
 * New -llc option.
 * New -mkfs-time option.
 * New -UTC option.
 * New -offset option.
 * New -quiet option.
 * Update lz4 wrapper to use new functions introduced
   in 1.7.0.
 * Bug fix, fatal and non-fatal errors now set the exit
   code to 1.
 * Bug fix, fix time setting for symlinks.
 * Bug fix, try to set sticky-bit when running as a
   user process.
 * Fix compilation with glibc 2.25+.
- build changes
* re-created patches to fit squashfs 4.4

OBS-URL: https://build.opensuse.org/request/show/741504
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=42
2019-10-27 17:57:20 +00:00
f160d77789 Accepting request 720279 from home:sbrabec:branches:filesystems
Fix changes for rq#710686.

OBS-URL: https://build.opensuse.org/request/show/720279
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=40
2019-08-02 18:38:02 +00:00
cb0f29fdff Accepting request 707937 from home:seilerphilipp:squashfs
-  Add -offset function to skip n bytes at the beginning of the squashfs…
   https://github.com/plougher/squashfs-tools/commit/5a498ad24dcfeac9f3d747e894f22901f3ac10

OBS-URL: https://build.opensuse.org/request/show/707937
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=39
2019-06-18 23:03:43 +00:00
David Sterba
3fb145038e Accepting request 697631 from home:marxin:branches:filesystems
Disable LTO (boo#1133284).

OBS-URL: https://build.opensuse.org/request/show/697631
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=37
2019-04-24 18:05:23 +00:00
David Sterba
9b05f6b6f5 Accepting request 687413 from home:dsterba:branches:filesystems
- Use | instead of / that can be part of -L or -I options.

OBS-URL: https://build.opensuse.org/request/show/687413
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=35
2019-03-21 16:44:21 +00:00
David Sterba
745a4209a5 Accepting request 687001 from home:dimstar:Factory
- Use / as sed command delimiter. Comma can actually show up in
  optflags (think -Wl,…), which then breaks the sed command line
  parsing.

OBS-URL: https://build.opensuse.org/request/show/687001
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=34
2019-03-20 18:54:57 +00:00
23734b97f0 Accepting request 626934 from home:Andreas_Schwab:glibc:rebuild
- sysmacros.patch: Include <sys/sysmacros.h> for major/minor/makedev

OBS-URL: https://build.opensuse.org/request/show/626934
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=32
2018-08-02 07:06:39 +00:00
Torsten Duwe
c65b0a592b Accepting request 402756 from home:duwe:branches:filesystems
- Machines with 1024 processors or more reach the limit of maximum
  file descriptors (bsc#984136). Other limits apply that may be
  hit for no good reason. Simply limit the number of used threads
  to an arbitrary number, squashfs-thread-limit.

OBS-URL: https://build.opensuse.org/request/show/402756
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=30
2016-06-16 15:30:32 +00:00
cbd38146e3 - fix build for SLE12 and older
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=28
2016-01-21 16:45:53 +00:00
David Sterba
2bbcbae98a Accepting request 342512 from home:seife:branches:filesystems
add patches to fix eventual file corruption (boo#953723)

OBS-URL: https://build.opensuse.org/request/show/342512
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=26
2015-11-05 10:27:18 +00:00
David Sterba
22325b0c97 Accepting request 328256 from home:lachs0r:branches:filesystems
Enable LZ4 support.
Forgot to note the changes in previous request (just used the web UI to edit the spec file). Sorry!

OBS-URL: https://build.opensuse.org/request/show/328256
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=24
2015-09-01 09:31:45 +00:00
David Sterba
55231eb9e8 Accepting request 289636 from home:pluskalm:branches:filesystems
- Use url for source
- Cleanup spec file with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/289636
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=22
2015-03-06 12:24:46 +00:00
b0f0d19b70 Accepting request 238433 from home:elvigia:branches:filesystems
- Since version 4.3, squasfs does not require attr-devel 
 but uses glibc instead.

OBS-URL: https://build.opensuse.org/request/show/238433
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=20
2014-06-24 07:24:15 +00:00
Torsten Duwe
e0ebd91980 Accepting request 234303 from home:duwe:branches:filesystems
- update to 4.3:
	- unsquashfs: add checks for corrupted data in opendir functions
	- unsquashfs: completely empty filesystems incorrectly generate an error
	- unsquashfs: fix open file limit
	- mksquashfs: Use linked list to store directory entries rather
	- mksquashfs: Remove qsort and add a bottom up linked list merge sort
	- mksquashfs: optimise lookup_inode2() for dirs
	- pseudo: fix handling of modify pseudo files
	- pseudo: fix handling of directory pseudo files
	- xattr: Fix ERROR() so that it is synchronised with the progress bar
	- mksquashfs/sort: Fix INFO() so that it is synced with the progress bar
	- mksquashfs: Add -progress to force progress bar when using -info
	- error.h: consolidate the various error macros into one header file
	- mksquashfs: fix stack overflow in write_fragment_table()
	- mksquashfs: move list allocation from off the stack
	- unsquashfs: fix oversight in directory permission setting
	- mksquashfs: dynamically allocate recovery_file
	- mksquashfs: dynamically allocate buffer in subpathname()
	- mksquashfs: dynamically allocate buffer in pathname()
	- unsquashfs: fix CVE-2012-4024
	- unsquashfs: fix CVE-2012-4025
	- mksquashfs: fix potential stack overflow in get_component()
	- mksquashfs: add parse_number() helper for numeric command line options
	- mksquasfs: check return value of fstat() in reader_read_file()
	- mksquashfs: dynamically allocate filename in old_add_exclude()
	- unsquashfs: dynamically allocate pathname in dir_scan()
	- unsquashfs: dynamically allocate pathname in pre_scan()
	- sort: dynamically allocate filename in add_sort_list()
	- mksquashfs: fix dir_scan() exit if lstat of source directory fails
	- pseudo: fix memory leak in read_pseudo_def() if exec_file() fails

OBS-URL: https://build.opensuse.org/request/show/234303
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=18
2014-05-16 13:18:31 +00:00
8e45d243c6 Remove redundant tags/sections from specfile
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=16
2012-05-26 08:46:18 +00:00
6d1484e58c - enable support for xz and lzo (kernel has support already)
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=13
2012-01-22 16:01:40 +00:00
Stephan Kulow
b5b0708f8b Accepting request 90070 from home:k0da:ppc
- The ppc64 kernel uses a page size of 64kB but mksquashfs only
  pads to a 4kB boundary. When we loopback mount a squashfs file
  that isn't 64kB aligned and access the last sector of the
  associated loopback device we see a stream of errors.
  Disk partitioning tools seem to like accessing the last 512
  bytes of partitions.
  This should fix warnings seen during starting installation on
  ppc64 and IA64

OBS-URL: https://build.opensuse.org/request/show/90070
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=11
2011-11-04 06:38:10 +00:00
Miklos Szeredi
71d4c79576 Accepting request 71168 from home:dimstar:branches:filesystems
Update to 4.2

OBS-URL: https://build.opensuse.org/request/show/71168
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=9
2011-05-24 16:35:46 +00:00
dab178b304 Accepting request 52014 from home:coolo:branches:openSUSE:Factory
OBS-URL: https://build.opensuse.org/request/show/52014
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=7
2010-11-03 09:44:36 +00:00
OBS User autobuild
7fdb24fe95 Accepting request 33324 from filesystems
Copy from filesystems/squashfs based on submit request 33324 from user coolo

OBS-URL: https://build.opensuse.org/request/show/33324
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/squashfs?expand=0&rev=11
2010-02-24 01:28:44 +00:00
OBS User unknown
b17a7eaea6 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/squashfs?expand=0&rev=9 2009-02-26 11:56:39 +00:00
OBS User unknown
6dfde7cbbd OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/squashfs?expand=0&rev=7 2007-08-24 00:06:45 +00:00
OBS User unknown
abf9c7cdb6 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/squashfs?expand=0&rev=6 2007-08-16 16:25:27 +00:00
OBS User unknown
c2e1c71ee3 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/squashfs?expand=0&rev=5 2007-06-05 23:37:45 +00:00
OBS User unknown
25d4b3e638 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/squashfs?expand=0&rev=4 2007-04-04 20:09:51 +00:00
OBS User unknown
ddc487e83d OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/squashfs?expand=0&rev=3 2007-03-29 16:29:20 +00:00
OBS User unknown
16f3f3dffe OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/squashfs?expand=0&rev=2 2007-01-23 16:08:53 +00:00
OBS User unknown
0d17ded3fa OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/squashfs?expand=0&rev=1 2007-01-15 23:37:53 +00:00