Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

file-magic-5.44-1.1 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: file-magic Distribution: openSUSE:Factory:zSystems
Version: 5.44 Vendor: openSUSE
Release: 1.1 Build date: Thu Jan 12 22:48:28 2023
Group: Productivity/File utilities Build host: s390zp24
Size: 9847815 Source RPM: file-5.44-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: http://www.darwinsys.com/file/
Summary: Database for libmagic to help identify files
This package contains the basic magic files that libmagic reads and uses
to estimate a file's type.

Provides

Requires

License

BSD-2-Clause

Changelog

* Wed Jan 11 2023 Dr. Werner Fink <werner@suse.de>
  - Add patch dc71304b.patch
    * Handle script executable Zip archives
* Tue Jan 10 2023 Dr. Werner Fink <werner@suse.de>
  - Use [Pp]atch0 explicit to avoid warning as python.magic build time
* Mon Jan 09 2023 Dr. Werner Fink <werner@suse.de>
  - Modifying patches
    * file-5.22-elf.dif
    * file-5.19-printf.dif
    * file-5.19-zip2.0.dif
    * file-5.19-biorad.dif
    * file-secure_getenv.patch
    * file-5.28-btrfs-image.dif
  - Remove patch file-zstd.patch now upstream
  - Port patch file-5.42.dif and rename it to file-5.44.dif
  - Update to 5.44:
    * Handle nan's so that we don't get internal floating point exceptions
      when they are enabled (Vincent Mihalkovic)
    * PR/397: Restore the ability to process files from stdin immediately.
    * fixed various clustefuzz issues
    * Fix error detection for decompression code (Vincent Mihalkovic)
    * Add MAGIC_NO_COMPRESS_FORK and use it to produce a more
      meaningful error message if we are sandboxing.
    * Add built-in lzip decompression support (Michal Gorny)
    * Add built-in zstd decompression support (Martin Rodriguez Reboredo)
* Wed Sep 14 2022 Dr. Werner Fink <werner@suse.de>
  - Add patch file-zstd.patch from upstream mailing list
    * Add zstd decompression support
  - Run also upstream standard checks
* Tue Sep 13 2022 Dirk Müller <dmueller@suse.com>
  - update to 5.43:
    * Add octal indirect magic
    * avoid infinite loop in non-wide code
    * Obey MAGIC_CONTINUE with multiple magic files
    * Fix bug with large flist
    * PR/364: Detect non-nul-terminated core filenames from QEMU
    * PR/359: Add support for http://ndjson.org/
    * PR/362: Fix wide printing
    * PR/358: Fix width for -f -
  - drop file-boo1201350.patch (upstream)
* Thu Aug 25 2022 Callum Farmer <gmbr3@opensuse.org>
  - Move magic files to /usr/share/file from /usr/share/misc, and
    then create symlinks from /usr/share/misc back to /usr/share/file
    as per FHS 3.0
* Wed Jul 13 2022 Dr. Werner Fink <werner@suse.de>
  - Add upstream patch to fix boo#1201350
    * file-boo1201350.patch which combines the commits
      c80065fe6900be5e794941e29b32440e9969b1c3
      7e59d34206d7c962e093d4239e5367a2cd8b7623
      f042050f59bfc037677871c4d1037c33273f5213
      d471022b2772071877895759f209f2c346757a4c
      441ac2b15508909e82ad467960df4ac0adf9644c
* Mon Jun 13 2022 Dr. Werner Fink <werner@suse.de>
  - Update to 5.42:
    * PR/348: add missing cases to prevent file from aborting on
      random magic files.
    * PR/351: octalify filenames when not raw before printing.
    * fix regex cacheing bug (Dirk Mueller)
    * merge file_regcomp and file_regerror() to simplify the code
      and reduce memory requirements for storing regexes (Dirk Mueller)
    * cache regex (Dirk Mueller)
    * detect filesystem full by flushing output (Dirk Mueller)
    * implement running decompressor programs using
      posix_spawnp(2) instead of vfork(2)
    * Add support for msdos dates and times
    * use the system byte swapping functions if available (Werner Fink)
  - Port patches
    * file-5.17-option.dif
    * file-5.19-biorad.dif
    * file-5.19-printf.dif
    * file-5.19-zip2.0.dif
    * file-5.28-btrfs-image.dif
    * file-secure_getenv.patch
  - Remove patches now upstream
    * file-5.23-endian.patch
    * file-5.41-cache-regexps-locale-restore.patch
    * file-5.41-cache-regexps.patch
  - Port and rename patch file-5.41.dif which is now file-5.42.dif
* Tue Apr 26 2022 Dr. Werner Fink <werner@suse.de>
  - Try to solve 32bit import dependency problems (boo#1198788)
* Wed Apr 13 2022 Dirk Müller <dmueller@suse.com>
  - update file-5.41-cache-regexps.patch to fix cache offset
    miscalculation (bsc#1197780)
* Wed Mar 23 2022 Dirk Müller <dmueller@suse.com>
  - add file-5.41-cache-regexps-locale-restore.patch to restore
    previous locale handling behavior
* Sat Mar 19 2022 Dirk Müller <dmueller@suse.com>
  - add file-5.41-cache-regexps.patch to cache regexp lookups
* Thu Feb 24 2022 Dr. Werner Fink <werner@suse.de>
  - Reenable libseccomp sandboxing
* Thu Feb 24 2022 Dominique Leuenberger <dimstar@opensuse.org>
  - Fix previous entry: remove stray pkg-config call in CFLAGS (as it
    was called without parameters, it only made output on stderr,
    which did not impact CFLAGS; so de facto only a cleanup change).
* Mon Feb 21 2022 Dominique Leuenberger <dimstar@opensuse.org>
  - Drop pkgconfig(libseccomp) BuildRequires and stop injecting
    libseccomp cflags into CFLAGS: libseccomp has been disabled for a
    long time already.
  - Move the special 'check' part from install to %check.
* Thu Oct 21 2021 Dr. Werner Fink <werner@suse.de>
  - Remove file-5.38-allow-readlinkat.dif as already done in latest
    file 5.41
* Tue Oct 19 2021 Dr. Werner Fink <werner@suse.de>
  - Update to 5.41:
    * Avinash Sonawane: Fix tzname detection
    * Fix relationship tests with "search" magic, don't short circuit
      logic
    * Fix memory leak in compile mode
    * PR/272: kiefermat: Only set returnval = 1 when we printed something
      (in all cases print or !print). This simplifies the logic and fixes
      the issue in the PR with -k and --mime-type there was no continuation
      printed before the default case.
    * PR/270: Don't translate unprintable characters in %s magic formats
      when -r
    * PR/269: Avoid undefined behavior with clang (adding offset to NULL)
    * Add a new flag (f) that requires that the match is a full word,
      not a partial word match.
    * Add varint types (unused)
    * PR/256: mutableVoid: If the file is less than 3 bytes, use the file
      length to determine type
    * PR/259: aleksandr.v.novichkov: mime printing through indirect magic
      is not taken into account, use match directly so that it does.
  - Remove patches now upstream
    * file-5.40-1c677c04.patch
    * file-5.40-3096f87f.patch
    * file-5.40-4c5fe1ad.patch
    * file-5.40-6b34436a.patch
    * file-5.40-749e1ecf.patch
    * file-5.40-9b0459af.patch
    * file-5.40-9e2becec.patch
    * file-5.40-ascii.patch
    * file-5.40-f0601504.patch
    * file-5.40-f7705dca.patch
  - Port patches
    * file-5.19-biorad.dif
    * file-5.19-printf.dif
    * file-5.19-zip2.0.dif
    * file-5.23-endian.patch
    * file-5.28-btrfs-image.dif
    * file-5.38-allow-readlinkat.dif
    * file-secure_getenv.patch
  - Port and rename patch file-5.39.dif which is now file-5.41.dif
* Fri Apr 23 2021 Dr. Werner Fink <werner@suse.de>
  - Add patch file-5.40-ascii.patch
    * fix regressions on dection of smaller ASCII files (boo#1184899)
* Thu Apr 22 2021 Dr. Werner Fink <werner@suse.de>
  - Add upstream comitts as patches
    * file-5.40-9b0459af.patch
      put attributes inside the xz magic. (boo#1184888, boo#1184891)
    * file-5.40-749e1ecf.patch
      If the file is less than 3 bytes, use the file length to determine type
    * file-5.40-f0601504.patch
      Fix regression after unsigned/signed printing changes
    * file-5.40-f7705dca.patch
      fix previous (cast >>)
    * file-5.40-3096f87f.patch
      Correct return values to exptexted
    * file-5.40-4c5fe1ad.patch
      Add missing parens
  - Port patch
    * file-5.28-btrfs-image.dif
      due patch file-5.40-f0601504.patch
* Tue Apr 06 2021 Dr. Werner Fink <werner@suse.de>
  - Add upstream commits as patches
    * file-5.40-1c677c04.patch
      Don't count each byte encounter as 1, count the total number
      of bytes found (Anatol Belski). This makes it behave like 5.39
    * file-5.40-6b34436a.patch
      remove "u" from the pattern (Joerg Jenderek)
    * file-5.40-9e2becec.patch
      Encoding bug fix
  - Fix offsets of patches
    * file-5.17-option.dif
    * file-5.19-biorad.dif
    * file-5.19-printf.dif
    * file-5.19-zip2.0.dif
    * file-5.22-elf.dif
    * file-5.23-endian.patch
    * file-5.28-btrfs-image.dif
    * file-5.38-allow-readlinkat.dif
    * file-secure_getenv.patch
* Sat Apr 03 2021 Andreas Stieger <andreas.stieger@gmx.de>
  - update to 5.40:
    * Add limit to the number of bytes to scan for encoding
    * Fix /T (trim flag) for regex
    * Trim trailing separator.
    * Convert system read errors from corrupt ELF
      files into human readable error messages
    * Exclude surrogate pairs from utf-8 detection
  - drop upstreamed patches:
    * file-5.16-ocloexec.patch
    * file-5.39-alternate_format.dif
* Wed Mar 10 2021 Dr. Werner Fink <werner@suse.de>
  - Remove patch file-5.12-zip.dif as it is upstream solved (boo#1183143)
* Wed Jul 01 2020 Dr. Werner Fink <werner@suse.de>
  - Add upstream commit 85b7ab832 as patch file-5.39-alternate_format.dif
    to also allow alternate format switch '#'
  - Replace patch file-5.38.dif with file-5.39.dif
* Wed Jun 17 2020 Paolo Stivanin <info@paolostivanin.com>
  - Update to 5.39
    * Remove unused subtype_mime (Steve Grubb)
    * Remove unused check in okstat (Steve Grubb)
    * Fix mime-type in elf binaries by making sure $x is set
    * Fix indirect negative offsets broken by OFFNEGATIVE
    * Fix GUID equality check
    * PR/165: Handle empty array and strings in JSON
    * PR/162: Add --exclude-quiet
    * Various fixes
    * add guid support
  - Removed undo-24c9c0.patch as it is now part of upstream
  - Updated file-5.17-option.dif
* Mon May 04 2020 Dr. Werner Fink <werner@suse.de>
  - Add temporary patch undo-24c9c0.patch to undo commit 24c9c0 (boo#1169192)
* Tue Apr 14 2020 Andreas Schwab <schwab@linux-m68k.org>
  - file-5.24-nitpick.dif: remove obsolete patch (bsc#1169512)
  - file-secure_getenv.patch: refresh
* Wed Jan 15 2020 Dr. Werner Fink <werner@suse.de>
  - Looks like libseccomp filter stumble over decompressors like
    xz (without liblmza) or zstd hence disable it (boo#1160649)
  - Require at build devel packages for liblzma and libbz2
* Wed Jan 08 2020 Marcus Meissner <meissner@suse.com>
  - file-5.38-allow-readlinkat.dif: allow readlinkat() systemcall,
    reenable sandboxing. (bsc#1160303)
* Tue Jan 07 2020 Dr. Werner Fink <werner@suse.de>
  - Currently file command receives SIGSYS/31 with sandboxing enabled
    via libseccomp
* Fri Dec 20 2019 Dr. Werner Fink <werner@suse.de>
  - Require pkgconfig(libseccomp) to enable the sandboxing feature
* Tue Dec 17 2019 Dr. Werner Fink <werner@suse.de>
  - Update to file version 5.38
    * Always accept -S (no sandbox) even if we don't support sandboxing
    * More syscalls elided for sandboxiing
    * For ELF dynamic means having an interpreter not just PT_DYNAMIC
    * Check for large ELF session header offset
    * When saving and restoring a locale, keep the locale name in our
      own storage.
    * Add a flag to disable CSV file detection.
    * Don't pass NULL/0 to memset to appease sanitizers.
    * Avoid spurious prints when looks for extensions or apple strings
      in fsmagic.
    * Add builtin decompressors for xz and and bzip.
    * Add a limit for the number of CDF elements.
    * More checks for overflow in CDF.
  - Removed patches fixed upstream
    * CVE-2019-18218-46a8443f.patch
    * file-5.15-clear-invalid.patch
    * file-upstream.patch
  - Modify patches
    * file-5.12-zip.dif
    * file-5.16-ocloexec.patch
    * file-5.17-option.dif
    * file-5.19-biorad.dif
    * file-5.19-printf.dif
    * file-5.19-zip2.0.dif
    * file-5.23-endian.patch
    * file-5.24-nitpick.dif
    * file-5.28-btrfs-image.dif
    * file-secure_getenv.patch
  - Modify and rename patch file-5.37.dif which becomes now file-5.38.dif
* Tue Oct 22 2019 Dr. Werner Fink <werner@suse.de>
  - Add temporary patch CVE-2019-18218-46a8443f.patch from upstream
    to fix bsc#1154661 -- heap-based buffer overflow in cdf_read_property_info in cdf.c
* Mon Oct 21 2019 Stefan Brüns <stefan.bruens@rwth-aachen.de>
  - Replace find invocation in self test by recursive bash glob,
    drop findutils BuildRequires.
* Mon Oct 14 2019 Dr. Werner Fink <werner@suse.de>
  - Let python-magic build with latest rpm
* Tue Jun 11 2019 Dr. Werner Fink <werner@suse.de>
  - Add temporary patch file-upstream.patch
    * Detect Android LOKI'd boot bootimgs
    * buffer_fill: fix double free of `ebuf` on read error
      (https://bugzilla.redhat.com/1685217)
* Mon May 27 2019 Dr. Werner Fink <werner@suse.de>
  - Update to file version 5.37
    * Make sure that continuation separators are printed
      with -k within softmagic
    * Change SIGPIPE saving and restoring during compression to use
      sigaction(2) instead of signal(3) and cache it. (Denys Vlasenko)
    * Cache stat(2) calls more to reduce number of calls (Denys Vlasenko)
    * PR/77: Handle --mime-type and -k correctly.
    * Switch decompression code to use vfork() because
      tools like rpmdiff and rpmbuild call libmagic
      with large process footprints (Denys Vlasenko)
    * PR/75: --enable-zlib, did not work.
    * Improve regex efficiency (Michael Schroeder) by:
      1. Prefixing regex searches with regular search
      for keywords where possible
      2. Using memmem(3) where available
  - Modify the patches
    * file-5.12-zip.dif
    * file-5.16-ocloexec.patch
    * file-5.17-option.dif
    * file-5.19-biorad.dif
    * file-5.19-zip2.0.dif
    * file-5.22-elf.dif
    * file-5.24-nitpick.dif
    * file-5.28-btrfs-image.dif
    * file-secure_getenv.patch
  - Modify and rename patch file-5.36.dif which becomes file-5.37.dif
* Thu Feb 21 2019 Dr. Werner Fink <werner@suse.de>
  - Update to file version 5.36 (bsc#1126117, bsc#1126118, bsc#1126119,
    and bsc#1126121 which is CVE-2019-8904, CVE-2019-8905, CVE-2019-8906,
    and CVE-2019-8907)
    * Fix cast to use cast macros
    * Add UCS-32 builtin detection (PR/61) reported by tmc
    * Fix stack read (PR/62) and write (PR/64) stack overflows
      reported by spinpx
  - Modify the patches
    * file-5.12-zip.dif
    * file-5.15-clear-invalid.patch
    * file-5.16-ocloexec.patch
    * file-5.19-printf.dif
    * file-5.19-zip2.0.dif
    * file-5.22-elf.dif
    * file-5.23-endian.patch
    * file-5.28-btrfs-image.dif
  - Modify and rename patch file-5.35.dif which becomes file-5.36.dif

Files

/etc/magic
/usr/share/file
/usr/share/file/magic
/usr/share/file/magic.mgc
/usr/share/man/man5/magic.5.gz
/usr/share/misc/magic
/usr/share/misc/magic.mgc


Generated by rpm2html 1.8.1

Fabrice Bellet, Sat Feb 18 23:45:14 2023