SHA256
3
0
forked from pool/file

Compare commits

...

96 Commits

Author SHA256 Message Date
Ana Guerrero
51492f65ad Accepting request 1150751 from Base:System
- Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1150751
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=136
2024-02-28 18:44:17 +00:00
c36b3808b9 Accepting request 1101521 from Base:System
- Add patch file-5.45-type_t.dif
  * Partly upstream check of type_t is wide on 32bit systems
  * Extend (auto)configure to enable wide type_t type if possible

- On 32bit systems define _TIME_BITS=64 to make it build

- Update to 5.45:
  * PR/465: psrok1: Avoid muslc asctime_r crash
  * add SIMH tape format support
  * bump the max size of the elf section notes to be read to 128K
    and make it configurable
  * PR/415: Fix decompression with program returning empty
  * PR/408: fix -p with seccomp
  * PR/412: fix MinGW compilation
- Remove upstream patch dc71304b.patch
- Modify patches
  * file-5.17-option.dif
  * file-5.19-biorad.dif
  * file-5.19-zip2.0.dif
  * file-5.22-elf.dif
  * file-secure_getenv.patch
- Port and rename patch file-5.44.dif now file-5.45.dif

OBS-URL: https://build.opensuse.org/request/show/1101521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=135
2023-08-02 14:47:48 +00:00
e59f101379 Accepting request 1084807 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1084807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=134
2023-05-06 20:08:18 +00:00
13e65e82c8 Accepting request 1057786 from Base:System
- Add patch dc71304b.patch
  * Handle script executable Zip archives

- Use [Pp]atch0 explicit to avoid warning as python.magic build time

- 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)

- Enable tests for python-magic (not python-python-magic) 

- Run pre_checkin.sh to get correct source tar ball

- Update to 5.44

OBS-URL: https://build.opensuse.org/request/show/1057786
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=133
2023-01-12 21:42:33 +00:00
859264c2e5 Accepting request 1044315 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1044315
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=132
2022-12-24 13:50:47 +00:00
3292e79cf1 Accepting request 1003495 from Base:System
- Add patch file-zstd.patch from upstream mailing list
  * Add zstd decompression support
- Run also upstream standard checks

- 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)

- Update to 5.43 due to Dirk

OBS-URL: https://build.opensuse.org/request/show/1003495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=131
2022-09-16 11:31:51 +00:00
19e9b3207d Accepting request 999552 from Base:System
- 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 (forwarded request 999290 from gmbr3)

OBS-URL: https://build.opensuse.org/request/show/999552
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=130
2022-08-28 11:12:08 +00:00
f66cc485b9 Accepting request 990574 from Base:System
- Add upstream patch to fix boo#1201350
  * file-boo1201350.patch which combines the commits
    c80065fe6900be5e794941e29b32440e9969b1c3
    7e59d34206d7c962e093d4239e5367a2cd8b7623
    f042050f59bfc037677871c4d1037c33273f5213
    d471022b2772071877895759f209f2c346757a4c
    441ac2b15508909e82ad467960df4ac0adf9644c

OBS-URL: https://build.opensuse.org/request/show/990574
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=129
2022-07-29 14:46:51 +00:00
930dfb404c Accepting request 982386 from Base:System
- 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

OBS-URL: https://build.opensuse.org/request/show/982386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=128
2022-06-16 16:19:35 +00:00
7b7dbdca9a Accepting request 972801 from Base:System
- Try to solve 32bit import dependency problems (boo#1198788)

OBS-URL: https://build.opensuse.org/request/show/972801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=127
2022-04-30 20:51:57 +00:00
7e6de71cff Accepting request 969998 from Base:System
OBS-URL: https://build.opensuse.org/request/show/969998
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=126
2022-04-19 07:57:53 +00:00
07ab9a73c7 Accepting request 964719 from Base:System
- add file-5.41-cache-regexps-locale-restore.patch to restore
  previous locale handling behavior 

- add file-5.41-cache-regexps.patch to cache regexp lookups 

- spec-cleaner run

OBS-URL: https://build.opensuse.org/request/show/964719
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=125
2022-03-29 16:13:43 +00:00
f86c3a456b Accepting request 957248 from Base:System
- Reenable libseccomp sandboxing 

- 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).

- 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.

- Remove file-5.38-allow-readlinkat.dif as already done in latest
  file 5.41

OBS-URL: https://build.opensuse.org/request/show/957248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=124
2022-02-25 20:24:48 +00:00
e34945fc57 Accepting request 926661 from Base:System
- Remove file-5.38-allow-readlinkat.dif as already doen in latest
  file 5.41 

- 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

OBS-URL: https://build.opensuse.org/request/show/926661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=123
2021-10-22 22:50:11 +00:00
cd8347f899 Accepting request 888046 from Base:System
- Add patch file-5.40-ascii.patch
  * fix regressions on dection of smaller ASCII files (boo#1184899)

- 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

- 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

OBS-URL: https://build.opensuse.org/request/show/888046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=122
2021-04-28 23:36:27 +00:00
97f2a08544 Accepting request 878177 from Base:System
- Remove patch file-5.12-zip.dif as it is upstream solved (boo#1183143)

OBS-URL: https://build.opensuse.org/request/show/878177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=121
2021-03-12 12:30:32 +00:00
1e87eedcc2 Accepting request 818050 from Base:System
- 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

- 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

- Update to 5.39

OBS-URL: https://build.opensuse.org/request/show/818050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=120
2020-07-04 23:09:27 +00:00
3ca10d92dc Accepting request 800076 from Base:System
- Add temporary patch undo-24c9c0.patch to undo commit 24c9c0 (boo#1169192)

OBS-URL: https://build.opensuse.org/request/show/800076
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=119
2020-05-11 11:25:45 +00:00
631d215d6f Accepting request 795512 from Base:System
OBS-URL: https://build.opensuse.org/request/show/795512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=118
2020-04-25 18:07:12 +00:00
de89be7a64 Accepting request 764572 from Base:System
- 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

- file-5.38-allow-readlinkat.dif: allow readlinkat() systemcall,
  reenable sandboxing. (bsc#1160303)

- Currently file command receives SIGSYS/31 with sandboxing enabled
  via libseccomp

OBS-URL: https://build.opensuse.org/request/show/764572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=117
2020-01-20 21:48:46 +00:00
2ed79f0b7b Accepting request 758529 from Base:System
- 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
2020-01-01 13:57:15 +00:00
0fc547001b Accepting request 743447 from Base:System
OBS-URL: https://build.opensuse.org/request/show/743447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=115
2019-11-01 14:12:43 +00:00
9117906ad2 Accepting request 741869 from Base:System
- 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

- Let python-magic build with latest rpm 

- Let python-magic build with latest rpm

- Correct version of file which is now 5.37

OBS-URL: https://build.opensuse.org/request/show/741869
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=114
2019-10-25 16:39:12 +00:00
7dd657ad52 Accepting request 710542 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/710542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=113
2019-07-13 11:33:29 +00:00
fc6d98365b Accepting request 706185 from Base:System
- 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
2019-06-12 11:02:13 +00:00
806291bed9 Accepting request 677928 from Base:System
- 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
2019-02-26 21:13:20 +00:00
69637c7c92 Accepting request 644483 from Base:System
- 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
2018-10-29 13:13:59 +00:00
7fa69310a0 Accepting request 628958 from Base:System
OBS-URL: https://build.opensuse.org/request/show/628958
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=109
2018-08-28 07:18:46 +00:00
2af6858111 Accepting request 616455 from Base:System
- 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
2018-07-14 18:13:42 +00:00
e36553d55d Accepting request 593898 from Base:System
- Correct line break in patch file-5.24-nitpick.dif (boo#1087924)

OBS-URL: https://build.opensuse.org/request/show/593898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=107
2018-04-10 07:51:58 +00:00
c403132b89 Accepting request 580535 from Base:System
OBS-URL: https://build.opensuse.org/request/show/580535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=106
2018-03-07 09:28:09 +00:00
ad1e768341 Accepting request 568099 from Base:System
- Add patch file-5.32-ncurses-6.1.patch to support extend magic
  format for new ncurses 6.1

OBS-URL: https://build.opensuse.org/request/show/568099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=105
2018-01-26 12:34:01 +00:00
59c3d8f04b Accepting request 533649 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/533649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=104
2017-10-25 15:43:22 +00:00
7a01d3c31b Accepting request 532411 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/532411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=103
2017-10-09 17:36:07 +00:00
014f9ced78 Accepting request 528198 from Base:System
- Update to file version 5.32
  * Always reset state in {file,buffer}_apprentice (Krzysztof Wilczynski)
  * Fix always true condition (Thomas Jarosch)
  * pickier parsing of numeric values in magic files.
  * PR/615 add magic_getflags()
- This release fix the bug bsc#1056838 for CVE-2017-1000249
- Remove patch file-5.31-fix-tga.dif as now upstream
- Rename patch file-5.31.dif which now becomes file-5.32.dif
- Modify the patches
  * file-5.16-ocloexec.patch
  * file-5.19-biorad.dif
  * file-5.19-printf.dif
  * file-5.23-endian.patch
  * file-5.28-btrfs-image.dif

OBS-URL: https://build.opensuse.org/request/show/528198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=102
2017-09-25 11:48:48 +00:00
63876e5cc2 Accepting request 501318 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/501318
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=101
2017-06-12 13:10:36 +00:00
4a0d4374fc Accepting request 497934 from Base:System
- Update to file version 5.31
  * remove trailing spaces from magic files
  * refactor is_tar
  * better bounds checks for cdf
- Remove patches now upstream
  * file-5.30-150735.patch
  * file-5.30-3c60e5.patch
- Rename patch file-5.30.dif which becomes file-5.31.dif
- Modify the patches
  * file-4.24-autoconf.dif
  * file-5.14-tex.dif
  * file-5.16-ocloexec.patch
  * file-5.19-printf.dif
  * file-5.23-endian.patch

OBS-URL: https://build.opensuse.org/request/show/497934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=100
2017-06-02 08:30:03 +00:00
134ac6b293 Accepting request 461937 from Base:System
- 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
2017-03-07 23:42:01 +00:00
994e3e1f84 Accepting request 442832 from Base:System
- Modify patch file-5.29.dif that is
  replace colon with dot in offset (boo#1012779)

OBS-URL: https://build.opensuse.org/request/show/442832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=98
2016-12-03 17:23:00 +00:00
fb0d83be28 Accepting request 441837 from Base:System
- Update to file version 5.29
  * der getlength overflow (Jonas Wagner)
  * multiple magic file load failure (Christoph Biedl)
  * CDF parsing improvements (Guy Helmer)
  * Add support for signed indirect offsets
  * cat /dev/null | file - should print empty (Christoph Biedl)
  * Bump string size from 64 to 96.
  * PR/556: Fix separators on annotations.
- Remove patch file-5.28-compress.patch now upstream
- Rename patch file-5.28.dif which becomes now file-5.29.dif

OBS-URL: https://build.opensuse.org/request/show/441837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=97
2016-11-28 14:02:47 +00:00
f6123633c2 Accepting request 437228 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/437228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=96
2016-11-02 11:27:47 +00:00
a544bb33a1 Accepting request 421776 from Base:System
- Fix boo#995089:
  * Do not attempt to produce a file-magic-32bit package: there is
    nothing arch-dependant in this package (for completeness, this
    was already fixed just before by Marcus)
  * Fix baselibs.conf for libmagic1-32bit to require file-magic
    instead of file-magic-32bit.
  * Build file-magic as noarch on openSUSE >= 1200 (where rpm is
    new enough to support this). (forwarded request 421756 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/421776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=95
2016-08-26 21:12:19 +00:00
ca4132142d Accepting request 419961 from Base:System
- Add patch file-5.28-compress.patch
  to fix crash as found in build system

- Update to file version 5.28
  * fix leak on allocation failure
  * PR/555: Avoid overflow for offset > nbytes
  * PR/550: Segv on DER parsing:
      - use the correct variable for length
      - set offset to 0 on failure.
- Port patches to 5.28
  file-4.24-autoconf.dif
  file-5.15-clear-invalid.patch
  file-5.16-ocloexec.patch
  file-5.19-biorad.dif
  file-5.23-endian.patch
  file-5.24-nitpick.dif
  file-secure_getenv.patch
- Remove patches now upstream
  file-5.26-revert-close.patch
- Rename patches
  file-5.26.dif becomes file-5.28.dif

- Update to file version 5.27
  * Errors comparing DER entries or computing offsets
    are just indications of malformed non-DER files.
    Don't print them.
  * Offset comparison was off-by-one.
  * Fix compression code (Werner Fink)
  * Put new bytes constant in the right file (not the generated one)
- Remove patches

OBS-URL: https://build.opensuse.org/request/show/419961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=94
2016-08-22 08:50:15 +00:00
befd66676a Accepting request 360111 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/360111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=93
2016-02-22 09:09:45 +00:00
d0d3878a9e Accepting request 355237 from Base:System
- add file-5.25-avoid-double-evaluation-in-python-bindings.dif (bsc#949905)

- add file-5.25-avoid-double-evaluation-in-python-bindings.dif (bsc#949905)

OBS-URL: https://build.opensuse.org/request/show/355237
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=92
2016-01-26 09:14:24 +00:00
b4afa22a73 Accepting request 336505 from Base:System
file 5.25 (forwarded request 336306 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/336505
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=91
2015-10-14 14:34:46 +00:00
Stephan Kulow
63d041d12c Accepting request 316705 from Base:System
- Update to file version 5.24 
  * redo long option encoding to fix off-by-one in 5.23
- Adapt and rename patch
  file-5.12-nitpick.dif becomes file-5.24-nitpick.dif

- adapt version in specfile to 5.24

OBS-URL: https://build.opensuse.org/request/show/316705
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=90
2015-07-21 11:25:14 +00:00
Stephan Kulow
65cae89d21 Accepting request 311662 from Base:System
- Update to file version 5.23
  * Fix issue with regex range for magic with offset
  * Always return true from mget with USE (success to mget not match
    indication). Fixes mime evaluation after USE magic
  * PR/459: Don't insert magic entries to the list if there are parsing
    errors for them.
  * PR/455: Add utf-7 encoding
  * PR/455: Implement -Z, look inside, but don't report on compression
  * PR/454: Fix allocation error on bad magic.
  * handle MAGIC_CONTINUE everywhere, not just in softmagic
  * don't print descriptions for NAME types when mime.
  * Add --extension to list the known extensions for this file type
    Idea by Andrew J Roazen
  * Bump file search buffer size to 1M.
  * Fix multiple issues with date formats reported by Christoph Biedl:
          - T_LOCAL meaning was reversed
          - Arithmetic did not work
    Also stop adjusting daylight savings for gmt printing.
  * PR/411: Fix memory corruption from corrupt cdf file.
- Refresh and rename patches
  file-5.20-endian.patch becomes file-5.23-endian.patch
  file-5.22.dif becomes file-5.23.dif
  Refresh patch file-secure_getenv.patch

- adapt version in specfile to 5.23

OBS-URL: https://build.opensuse.org/request/show/311662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=89
2015-07-05 15:49:54 +00:00
0a14b29613 Accepting request 282049 from Base:System
- Update to file version 5.22 (also related to bsc#913650 and bsc#913651)
  * add indirect relative for TIFF/Exif
  * restructure elf note printing to avoid repeated messages
  * add note limit, suggested by Alexander Cherepanov
  * Bail out on partial pread()'s (Alexander Cherepanov)
  * Fix incorrect bounds check in file_printable (Alexander Cherepanov)
  * PR/405: ignore SIGPIPE from uncompress programs
  * change printable -> file_printable and use it in
    more places for safety
  * in ELF, instead of "(uses dynamic libraries)" when PT_INTERP
    is present print the interpreter name.
- Patch file-5.18-elf.dif is modified and renamed to file-5.22-elf.dif
- Patch file-5.20.dif s modified and renamed to file-5.22.dif

- adapt version in specfile to 5.22

OBS-URL: https://build.opensuse.org/request/show/282049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=88
2015-01-30 05:01:10 +00:00
99daffdc6f Accepting request 266113 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/266113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=87
2014-12-23 11:33:04 +00:00
Stephan Kulow
c3e6d54363 Accepting request 265566 from Base:System
- Drop patch file-5.20-CVE-2014-3710.patch as now part of upstream 
- Update to file version 5.21
  * Fix CVE-2014-8116 and CVE-2014-8117 (bsc#910252 and bsc#910253)
  * there was an incorrect free in magic_load_buffers()
  * there was an out of bounds read for some pascal strings
  * there was a memory leak in magic lists
  * don't interpret strings printed from files using the current
    locale, convert them to ascii format first.
  * there was an out of bounds read in elf note reads
  * fix MacOS/X locale.h vs. xlocale.h issues

- Add patch file-5.20-CVE-2014-3710.patch to fic bsc#902367
  CVE-2014-3710: file: out-of-bounds read in elf note headers    

- adapt version in specfile to 5.21

OBS-URL: https://build.opensuse.org/request/show/265566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=86
2014-12-21 10:51:04 +00:00
Stephan Kulow
d5f172c1eb Accepting request 255754 from Base:System
- Update to file version 5.20
  * recognize encrypted CDF documents
  * add magic_load_buffers from Brooks Davis
  * add thumbs.db support
- Remove file-5.07-iso9660.dif as now upstream 
- Remove file-5.19-gdbm.patch as now upstream 
- Adapt and rename file-5.18-endian.patch to file-5.20-endian.patch
- Adapt and rename file-5.19.dif file-5.20.dif

- adapt version in specfile to 5.20

OBS-URL: https://build.opensuse.org/request/show/255754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=85
2014-10-15 14:19:43 +00:00
52d2cc2a03 Accepting request 245165 from Base:System
-  correctly identify GDBM files created by libgdbm4 [bnc#888308]
  * add file-5.19-gdbm.patch (forwarded request 245157 from pgajdos)

OBS-URL: https://build.opensuse.org/request/show/245165
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=83
2014-08-20 08:50:41 +00:00
Stephan Kulow
6fde4dd122 Accepting request 238593 from Base:System
- Update to file version 5.19
  * Misc buffer overruns and missing buffer size tests in cdf parsing
    (Francisco Alonso, Jan Kaluza)
  * Enforce limit of 8K on regex searches that have no limits
  * Allow the l modifier for regex to mean line count. Default
    to byte count. If line count is specified, assume a max
    of 80 characters per line to limit the byte count.
  * Don't allow conversions to be used for dates, allowing
    the mask field to be used as an offset.
  * Make the range operator limit the length of the
    regex search.
  * PR/347: Windows fixes
  * PR/352: Hangul word processor recognition
  * PR/354: Encoding irregularities in text files
  * Fix uninitialized title in CDF files (Jan Kaluza)
  * PR/351: Fix compilation of empty files 
  * Fix integer formats: We don't specify 'l' or
    'h' and 'hh' specifiers anymore, only 'll' for
    quads and nothing for the rest. This is so that
    magic writing is simpler.
  * PR/341: Jan Kaluza, fix memory leak
  * PR/342: Jan Kaluza, fix out of bounds read
  * Fix issue with long formats not matching fmtcheck
- Rename and change patch file-5.14-misc.dif to file-5.19-misc.dif
- Rename and change patch file-5.14-printf.dif to file-5.19-printf.dif 
- Rename and change patch file-5.07-biorad.dif to file-5.19-biorad.dif
- Rename and change patch file-5.19.dif to file-5.17.dif
- Rename and change patch file-4.24-cromfs.dif to file-5.19-cromfs.dif
- Rename and change patch file-4.24-solv.dif to file-5.19-solv.dif
- Rename and change patch file-5.12-zip2.0.dif to file-5.19-zip2.0.dif

OBS-URL: https://build.opensuse.org/request/show/238593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=82
2014-06-26 13:07:11 +00:00
Stephan Kulow
e450b0f2ad Accepting request 233546 from Base:System
- file-secure_getenv.patch use secure_getenv only as we 
  can't know in which context the shared library is used. (forwarded request 233200 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/233546
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=81
2014-05-22 18:37:58 +00:00
Stephan Kulow
8b3297a7de Accepting request 229009 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/229009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=80
2014-04-06 07:56:11 +00:00
Stephan Kulow
4682ca80b8 Accepting request 226461 from Base:System
- Add patch 
  0001-off-by-one-in-out-of-bounds-calculations-Jan-Kaluza.patch
  to finally fix bnc#866750

- adapt version in specfile to 5.17

OBS-URL: https://build.opensuse.org/request/show/226461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=79
2014-03-18 12:37:04 +00:00
Tomáš Chvátal
6643d3e9ef Accepting request 223729 from Base:System
fix python-magic, 5.17. links to file which was changed without branching (forwarded request 223584 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/223729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=78
2014-02-28 15:22:03 +00:00
Stephan Kulow
8817cc2a70 Accepting request 209187 from Base:System
- Update to file version 5.16 (bug fix release)
  * always leave magic file loaded, don't unload for magic_check, etc.
  * fix default encoding to binary instead of unknown which broke recently
  * handle empty and one byte files, less specially so that
    --mime-encoding does not break completely.
  * fix erroneous non-zero exit code from non-existant file and message
  * add CDF MSI file detection (Guy Helmer)

- Make it ready for file 5.16

- Make it ready for file 5.15

OBS-URL: https://build.opensuse.org/request/show/209187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=77
2013-12-05 05:54:33 +00:00
Stephan Kulow
dd55885af4 Accepting request 205819 from Base:System
- Set RPM groups (forwarded request 205655 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/205819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=76
2013-11-05 12:52:29 +00:00
Stephan Kulow
c57608e24f Accepting request 201588 from Base:System
- 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
2013-10-02 06:48:16 +00:00
Stephan Kulow
5cd2177d1d Accepting request 176637 from Base:System
- elf-invalid-byte-order.patch: remove bogus "invalid byte order" from elf
  magic (forwarded request 176595 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/176637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=73
2013-05-27 08:18:38 +00:00
Stephan Kulow
146944159f Accepting request 162084 from Base:System
- Refresh patches and remove the visibility patch that I
 upstreamed few releases ago in a different form. (forwarded request 161841 from WernerFink)

OBS-URL: https://build.opensuse.org/request/show/162084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=72
2013-04-03 10:50:03 +00:00
Stephan Kulow
e7e1bc002d Accepting request 160568 from Base:System
- Update to file version 5.14 (also mainly bug fixes)
  * fix recursive magic separator printing
  * limit recursion level for mget
  * fix pread() related breakage in cdf
  * handle offsets properly in recursive "use" 
- Remove patch file-5.13-return.patch

OBS-URL: https://build.opensuse.org/request/show/160568
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=71
2013-03-24 20:32:29 +00:00
Stephan Kulow
7c9782d303 Accepting request 158645 from Base:System
- Run pre_checkin.sh

OBS-URL: https://build.opensuse.org/request/show/158645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=70
2013-03-12 13:58:49 +00:00
Stephan Kulow
55701adc35 Accepting request 156456 from Base:System
- 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
2013-03-01 06:17:35 +00:00
Stephan Kulow
2971329f76 Accepting request 155787 from Base:System
- Use %libname macro and make that file-magic obsoletes libmagic-data
  compare with bnc# 804323 to avoid trouble with interim package name

OBS-URL: https://build.opensuse.org/request/show/155787
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=68
2013-02-19 15:17:27 +00:00
Stephan Kulow
159d195648 Accepting request 149700 from Base:System
- 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
2013-01-29 05:55:47 +00:00
Stephan Kulow
8ba54121cb Accepting request 143281 from Base:System
- Add file-5.11-extfs-minix.dif: Change detection order of ext2/3/4
  fs and minix to avoid the for the free inode numbers 4991,5007,
  9320,9336 and multiple of 65536 the ext2/3/4 fs will be detected
  as minix fs (bnc#788435)

OBS-URL: https://build.opensuse.org/request/show/143281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=65
2012-11-28 09:18:49 +00:00
Stephan Kulow
ad754a758c revert again
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=64
2012-11-03 07:31:09 +00:00
Stephan Kulow
e74b54faaf disable mkbaselibs for the moment
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=63
2012-11-03 07:26:27 +00:00
Stephan Kulow
9dc7f8066e Accepting request 139772 from Base:System
!!!! MAKE SURE TO CHANGE PREINSTALL AFTER ACCEPTING !!!

- implement shared library policy for libmagic1 (forwarded request 139753 from coolo)

OBS-URL: https://build.opensuse.org/request/show/139772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=62
2012-11-02 15:13:39 +00:00
Stephan Kulow
31e963fce7 Accepting request 134825 from Base:System
- Add small patch to make clear if file follows symbloc links or not
  as tihs depend on the environment variable POSIXLY_CORRECT
- Remove the README file as this is for packagers and not for users

OBS-URL: https://build.opensuse.org/request/show/134825
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=61
2012-09-23 19:16:00 +00:00
Ismail Dönmez
3139d4757d Accepting request 131364 from Base:System
add documentation (bnc#776532) (forwarded request 131178 from yecril71pl)

OBS-URL: https://build.opensuse.org/request/show/131364
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=60
2012-08-26 09:31:23 +00:00
Stephan Kulow
697c086d2f Accepting request 126168 from Base:System
license update: BSD-2-Clause
SPDX format (forwarded request 126065 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/126168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=59
2012-06-26 15:45:31 +00:00
Stephan Kulow
f8b7f6f092 Accepting request 111389 from Base:System
Fix build - run pre_checkin.sh (forwarded request 111313 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/111389
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=57
2012-04-02 08:43:56 +00:00
Stephan Kulow
372c31fd2e Accepting request 110835 from Base:System
- Update to file version 5.11 (bnc#753303, CVE-2012-1571)
  * Fix CDF parsing issues found by CERT's fuzzing tool (Will Dormann)

- Update to file version 5.10

OBS-URL: https://build.opensuse.org/request/show/110835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=56
2012-03-27 06:56:24 +00:00
Stephan Kulow
47c4d36bf9 Accepting request 100249 from Base:System
- 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
2012-01-19 08:41:33 +00:00
Stephan Kulow
d27cd954c9 Accepting request 90163 from Base:System
- libmagic: use O_CLOEXEC where needed, as there is no warranty 
  that calling applications will not fork() and we end up leaking 
  file descriptors to their child processes. (forwarded request 90162 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/90163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=54
2011-11-07 13:14:51 +00:00
Lars Vogdt
24abb5f35b Accepting request 86051 from Base:System
add libtool as buildrequires so we no longer rely on libtool in the project config of factory - it's only needed by <10% of all packages (forwarded request 86006 from coolo)

OBS-URL: https://build.opensuse.org/request/show/86051
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=52
2011-10-03 07:17:48 +00:00
Sascha Peilicke
0dc967bf5c Accepting request 83731 from Base:System
- Apply packaging guidelines (remove redundant/obsolete
  tags/sections from specfile, etc.) (forwarded request 83513 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/83731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=51
2011-09-20 10:54:03 +00:00
Sascha Peilicke
a73e6937a5 Autobuild autoformatter for 80032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=50
2011-08-29 12:05:23 +00:00
Sascha Peilicke
2a42684d77 Accepting request 80032 from Base:System
- ran pre_checkin.sh

OBS-URL: https://build.opensuse.org/request/show/80032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=49
2011-08-29 12:05:13 +00:00
Sascha Peilicke
b5cfaaf2f8 Autobuild autoformatter for 79591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=48
2011-08-24 09:33:53 +00:00
Sascha Peilicke
c8cab82cc8 Accepting request 79591 from Base:System
- Update to file version 5.08
  * Fix detection of Zip files (Mantis #128).
  * Make some minor improvements to file(1).
  * Rename MIME types for filesystem objects for consistency with
    xdg-utils. Typically this means that application/x-foo becomes
    inode/foo, but some names also change slightly, e.g.
    application/x-character-device becomes inode/chardevice.

OBS-URL: https://build.opensuse.org/request/show/79591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=47
2011-08-24 09:33:42 +00:00
Sascha Peilicke
e36ac42220 Autobuild autoformatter for 76401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=46
2011-07-19 11:35:44 +00:00
Sascha Peilicke
7b9a989b26 Accepting request 76401 from Base:System
- Fixed regression on zip archive detection (bnc#706310)

OBS-URL: https://build.opensuse.org/request/show/76401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=45
2011-07-19 11:35:35 +00:00
Sascha Peilicke
b803b00e8d Autobuild autoformatter for 74709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=44
2011-06-30 11:08:33 +00:00
Sascha Peilicke
392bdc242d Accepting request 74709 from Base:System
Update to file version 5.07

OBS-URL: https://build.opensuse.org/request/show/74709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=43
2011-06-30 11:08:09 +00:00
a37b449ae2 Autobuild autoformatter for 55503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=41
2010-12-10 14:35:46 +00:00
2bc8b958e5 Accepting request 55503 from Base:System
Accepted submit request 55503 from user coolo

OBS-URL: https://build.opensuse.org/request/show/55503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=40
2010-12-10 14:35:40 +00:00
OBS User autobuild
1796838061 Accepting request 43446 from Base:System
Copy from Base:System/file based on submit request 43446 from user coolo

OBS-URL: https://build.opensuse.org/request/show/43446
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=39
2010-07-20 18:14:52 +00:00
OBS User autobuild
63e932cf52 Accepting request 38235 from Base:System
Copy from Base:System/file based on submit request 38235 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/38235
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=36
2010-04-23 17:10:34 +00:00
OBS User autobuild
f70490de17 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=35 2010-03-18 14:45:25 +00:00
OBS User autobuild
660637069a Accepting request 31647 from Base:System
Copy from Base:System/file based on submit request 31647 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/31647
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=34
2010-02-11 18:05:27 +00:00
OBS User autobuild
95072862c0 Accepting request 26690 from Base:System
Copy from Base:System/file based on submit request 26690 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/26690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=33
2009-12-16 07:52:53 +00:00

Diff Content Not Available