Commit Graph

198 Commits

Author SHA256 Message Date
Dominique Leuenberger
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
Dr. Werner Fink
de34e10adf .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=157
2017-05-24 11:14:26 +00:00
Dominique Leuenberger
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
Dr. Werner Fink
f9e7407a5a .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=155
2017-03-02 13:33:40 +00:00
Dr. Werner Fink
ad993e7576 Update to file 5.30
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=154
2017-03-02 13:25:41 +00:00
Dominique Leuenberger
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
Dr. Werner Fink
14e0637207 boo#1012779
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=152
2016-11-30 12:51:53 +00:00
Dominique Leuenberger
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
Dr. Werner Fink
0bc552c445 Update to file 5.29
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=150
2016-11-24 10:45:15 +00:00
Dominique Leuenberger
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
280f4eca59 Accepting request 436555 from home:jeff_mahoney:branches:Base:System
- Add patch file-5.28-btrfs-image.dif
  to add support for files output by btrfs-image.

OBS-URL: https://build.opensuse.org/request/show/436555
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=148
2016-10-25 07:03:35 +00:00
Dominique Leuenberger
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
abe26b8bb3 Accepting request 421756 from home:dimstar:Factory
- 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).

OBS-URL: https://build.opensuse.org/request/show/421756
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=146
2016-08-24 15:13:36 +00:00
65e1f18e08 - file-magic is architecture independend, no need for a baselibs
package.

OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=145
2016-08-24 14:16:35 +00:00
Dominique Leuenberger
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
Dr. Werner Fink
ef9a8beb5b .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=143
2016-08-18 12:31:36 +00:00
Dr. Werner Fink
f53276989f fix crash in build system
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=142
2016-08-18 12:25:39 +00:00
Dr. Werner Fink
cee43a023b .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=141
2016-08-16 12:54:52 +00:00
Dr. Werner Fink
725b2b029a .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=140
2016-08-16 12:02:27 +00:00
Dr. Werner Fink
9a0fb27299 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=139
2016-06-01 10:23:07 +00:00
Dr. Werner Fink
4899fd2e20 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=138
2016-04-20 08:51:51 +00:00
Dr. Werner Fink
5baf44e712 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=137
2016-04-20 08:01:20 +00:00
Dr. Werner Fink
fcda5d1a5f .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=136
2016-04-20 07:15:22 +00:00
Dr. Werner Fink
12b47a1b9b .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=135
2016-04-19 14:08:46 +00:00
Dr. Werner Fink
74ccf35397 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=134
2016-04-19 12:34:27 +00:00
Dr. Werner Fink
91afeb8939 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=133
2016-04-19 12:17:27 +00:00
Dr. Werner Fink
a0086055f9 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=132
2016-04-19 11:57:57 +00:00
Dr. Werner Fink
ad6d91c2e7 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=131
2016-04-19 11:52:40 +00:00
Dr. Werner Fink
995f5da2da .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=130
2016-04-19 11:50:56 +00:00
Dr. Werner Fink
feb479a363 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=129
2016-04-19 09:36:05 +00:00
Dr. Werner Fink
62a2d6e2cf .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=128
2016-04-18 13:32:24 +00:00
Dominique Leuenberger
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
c175a0c71a Accepting request 359630 from home:Rotkraut
Add package python3-magic providing Python 3 bindings.

OBS-URL: https://build.opensuse.org/request/show/359630
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=126
2016-02-18 11:51:37 +00:00
Dominique Leuenberger
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
53e9c1a43d - 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/package/show/Base:System/file?expand=0&rev=124
2016-01-21 11:51:33 +00:00
Dominique Leuenberger
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
Dr. Werner Fink
720f9cf6bb Accepting request 336306 from home:AndreasStieger:branches:Base:System
file 5.25

OBS-URL: https://build.opensuse.org/request/show/336306
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=122
2015-10-05 08:17:24 +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
Dr. Werner Fink
fab013bd2d .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=120
2015-07-14 14:16:40 +00:00
Dr. Werner Fink
e21d20d30f .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=119
2015-07-14 11:52:47 +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
Dr. Werner Fink
c6b744889d .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=117
2015-06-11 15:29:52 +00:00
Dominique Leuenberger
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
Dr. Werner Fink
d07bd8b89c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=115
2015-01-20 11:12:01 +00:00
Dr. Werner Fink
08ce6caa2c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=114
2015-01-20 08:47:08 +00:00
Dr. Werner Fink
b90e8cafc8 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=113
2015-01-20 08:00:50 +00:00
Dominique Leuenberger
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
738fa8fe6c Accepting request 265980 from home:msmeissn:branches:Base:System
- build with PIE

OBS-URL: https://build.opensuse.org/request/show/265980
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=111
2014-12-22 07:33:19 +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
Dr. Werner Fink
99d09cc3f3 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=109
2014-12-17 13:19:41 +00:00