- Require pkgconfig(libseccomp) to enable the sandboxing feature
- 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
OBS-URL: https://build.opensuse.org/request/show/758529
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=116
- 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
- - Correct version of file which is now 5.37
OBS-URL: https://build.opensuse.org/request/show/706185
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=112
- 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
- Correct version of file which is now 5.36
OBS-URL: https://build.opensuse.org/request/show/677928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=111
- Update to file version 5.35
* Add FreeBSD ELF core file support (John Baldwin)
* PR/30: Allow all parameter values to be set (don't treat 0 specially)
* handle default annotations on the softmagic match instead at the
end.
* PR/23: Recognize JSON files
* PR/18: file --mime-encoding should not print mime-type
- Modify the patches
* file-5.16-ocloexec.patch
* file-5.17-option.dif
* file-5.19-biorad.dif
* file-5.19-printf.dif
* file-5.22-elf.dif
* file-5.23-endian.patch
* file-5.24-nitpick.dif
* file-secure_getenv.patch
- Modify and rename patch file-5.34.dif which becomes file-5.35.dif
- Update new signing key file as well
- Update to file version 5.34
* Add Quad indirect offsets
* Enable parsing of ELF dynamic sections to handle PIE better
- Remove upstream patch file-a642587a9c.patch
- Rename patch file-5.33.dif which now becomes file-5.34.dif
- Correct version of file which is now 5.35
OBS-URL: https://build.opensuse.org/request/show/644483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=110
- Update to file version 5.33
* extend the support for ${x?:} expansions for magic descriptions
* add support for ${x?:} in mime types to handle
pie binaries.
* add support for negative offsets (offsets from the end of file)
* close the file on error when writing magic (Steve Grubb)
* seccomp support (Paul Moore)
- Rename patch file-5.32.dif to file-5.33.dif
- Remove patch file-5.32-ncurses-6.1.patch now upstream
- Modify and port 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.22-elf.dif
* file-5.24-nitpick.dif
- Add patch file-a642587a9c.patch for bsc#1096974, bsc#1096984, and
CVE-2018-10360 -- Avoid reading past the end of buffer
- Correct version of file which is now 5.33
OBS-URL: https://build.opensuse.org/request/show/616455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=108
- remove python build instructions from master spec file, move completely
into python-magic.spec
- converted to singlespec, dropped separate python3-magic spec file
- moved python build instructions from file.spec to python-magic.spec
- do not need to build the binary parts in order to build the python part
- removed inlining of %defines from file.spec because it is unreliable
in presence of parametrized macros
- added provides: python-file-magic to comply with the python package
naming policy
OBS-URL: https://build.opensuse.org/request/show/528985
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=164
- Update to file version 5.30
* If we exceeded the offset in a search return no match
(Christoph Biedl)
* Be more lenient on corrupt CDF files (Christoph Biedl)
* pacify ubsan sign extension (oss-fuzz/524)
* off by one in cdf parsing (PR/593)
* report debugging sections in elf (PR/591)
* Allow @@@ in extensions
* Add missing overflow check in der magic (Jonas Wagner)
- Mofify the patches
file-5.16-ocloexec.patch
file-5.19-biorad.dif
file-5.28-btrfs-image.dif
- Rename patch file-5.29.dif to file-5.30.dif
- Add upstream patches
file-5.30-150735.patch
file-5.30-3c60e5.patch
OBS-URL: https://build.opensuse.org/request/show/461937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=99