- Add changes of Andreas Stieger
- Update to file version 5.15 (bug fix release, no new featuress)
* Don't mix errors and regular output if there was an error
* in magic_descriptor() don't close the file and try to restore
its position
* Don't treat magic as an error if offset was past EOF (Christoph Biedl)
* Fix spacing issues in softmagic and elf (Jan Kaluza)
* Fix segmentation fault with multiple magic_load commands.
* The way "default" was implemented was not very useful because
the "if something was printed at that level" was not easily
controlled by the user, and the format was bound to a string
which is too restrictive. Add a "clear" for that level keyword
and make "default" void.
* disallow strength setting in "name" entries
- Adjust for upstream changes:
* file-5.14-tex.dif
* file-5.07-elf.dif
* file-5.12-ocloexec.patch
* file-5.12-nitpick.dif
* file-5.13.dif
- Drop patches, applied upstream:
* file-5.13-whitespace.patch
* elf-invalid-byte-order.patch
- add file-5.15-clear-invalid.patch to fix an invalid format
- Make if ready for file 5.15
OBS-URL: https://build.opensuse.org/request/show/201588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=75
- Add patch file-5.13-return.patch: avoid doubled return
- Update to file version 5.13 (mainly bug fixes)
* add elf reading of debug info to determine if file is stripped
* use pread()
* change mime description size from 64 to 80 to accommodate OOXML.
* Warn about inconsistent continuation levels.
* Change fsmagic to add a space after it prints.
* Make getline public so that file can link against it.
Perhaps it is better to rename it, or hide it differently.
Fixes builds on platforms that do not provide it.
* Add SuS d{,1,2,4,8}, u{,1,2,4,8} and document
what long, int, short, etc is (Guy Harris)
* add magic_version function and constant
* Redo memory allocation and de-allocation.
(prevents double frees on non mmap platforms)
* Fix bug with name/use having to do with passing
found state from the parent to the child and back.
OBS-URL: https://build.opensuse.org/request/show/156456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=69
- Make if build on ppc64, that is re-add the configure check for
sizeof long long otherwise readelf will fail on ppc64
- Update to file version 5.12
* Warn about inconsistent continuation levels.
* Change fsmagic to add a space after it prints.
* Make getline public so that file can link against it.
Perhaps it is better to rename it, or hide it differently.
Fixes builds on platforms that do not provide it.
* Add SuS d{,1,2,4,8}, u{,1,2,4,8} and document
what long, int, short, etc is (Guy Harris)
* add magic_version function and constant
* Redo memory allocation and de-allocation.
(prevents double frees on non mmap platforms)
* Fix bug with name/use having to do with passing
found state from the parent to the child and back.
* Only print elf capabilities for archs we know (Jan Kaluza)
* Add "name" and "use" file types in order to look
inside mach-o files.
* add string/T (Jan Kaluza)
* search for $HOME/.magic.mgc if it is there first
* fix reads from a pipe, and preserve errno
* use ctime_r, asctime_r
* Fixes for indirect offsets to handle apple disk formats
- Also includes our extfs-minix patch
OBS-URL: https://build.opensuse.org/request/show/149700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=67
- Update to file version 5.10
* Add magic for /usr/bin/env Perl scripts
* Weaken generic script magic to avoid clashing with
language-specific magic.
* Remove hardwired token finding (names.h), turning it into soft
magic. Patterns are either anchored regexs or search/8192. English
language detection and PL/1 detection have been removed as they
were too fragile. -e tokens is still accepted for backwards
compatibility.
* Move 3ds patterns (which are commented out anyway) into autodesk
(they were, oddly, in c-lang).
* Tweak strength of generic hash-bang detectors to be less than
specific ones.
* Make an inconsistent description of Python scripts consistent.
* Python3 binding fixes from Kelly Anderson
* If a string type magic entry is marked as text or binary
only match text files against text entries and binary
files against binary entries.
* If the application name is not set in a cdf file, try to see
if it has a directory with the application name on it.
* Fix ELF lseek(2) madness. Inspired by PR/134 by Jan Kaluza
* Don't use variable string formats.
OBS-URL: https://build.opensuse.org/request/show/100249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=55