SHA256
1
0
forked from pool/file
Commit Graph

284 Commits

Author SHA256 Message Date
Dominique Leuenberger
6dfe2067d3 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
09c3a88b7a .
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
593712449f 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
ee21e381c9 .
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
090daa0817 .
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
b4efe8613f .
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
3d9116516c .
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
9ae0437826 .
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
dd6aaf6741 .
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
3798211991 .
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
7a9cba61e5 .
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
e92278e7eb .
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
4d9a9c9c4e .
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
6c3f5934e6 .
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
7bf0e6c3b2 .
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
876a3058ba .
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
22277e3619 .
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
3b36b24476 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
cdd247fd26 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
6ce615f4b9 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
1af14c6bef - 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
fb6fea661b 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
35ea0722c9 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
a84aa099dc 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
2468dd97df .
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
3b43beaf1a .
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
2b189fdfa6 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
63f4fcf1a6 .
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
1d730e4912 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
310e30d633 .
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
5b74ae865d .
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
8afde8ad09 .
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
d0b5121b3c 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
976fd89006 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
b4e9ba4803 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
dc28915dfd .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=109
2014-12-17 13:19:41 +00:00
Stephan Kulow
c1333c39fb 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
Dr. Werner Fink
c2398250fd .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=107
2014-10-13 13:19:46 +00:00
Dr. Werner Fink
09679e007f Update from 5.19 up to 5.20
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=106
2014-10-13 11:19:07 +00:00
d69f83ae05 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
Dr. Werner Fink
dbb1d2bc11 Accepting request 245157 from home:pgajdos
-  correctly identify GDBM files created by libgdbm4 [bnc#888308]
  * add file-5.19-gdbm.patch

OBS-URL: https://build.opensuse.org/request/show/245157
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=104
2014-08-19 10:35:12 +00:00
Dr. Werner Fink
82908c69bc .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=103
2014-08-18 17:05:56 +00:00
Dr. Werner Fink
d26365c941 Accepting request 245102 from home:fcrozat:branches:Base:System
- Add obsoletes/provides to baselibs.conf.

OBS-URL: https://build.opensuse.org/request/show/245102
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=102
2014-08-18 16:46:22 +00:00
Stephan Kulow
83d4e71475 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
Dr. Werner Fink
b9a1f54529 Bugfix version update
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=100
2014-06-25 09:29:02 +00:00
Dr. Werner Fink
95f0e2099c Bugfix version update
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=99
2014-06-25 09:07:53 +00:00
Stephan Kulow
09b98fd663 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
5da5ce6658 Accepting request 233200 from home:elvigia:branches:Base:System
- file-secure_getenv.patch use secure_getenv only as we 
  can't know in which context the shared library is used.

OBS-URL: https://build.opensuse.org/request/show/233200
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=97
2014-05-12 08:47:59 +00:00
Stephan Kulow
b0efabebed 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
Dr. Werner Fink
b173abb353 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=95
2014-03-28 10:32:53 +00:00