Commit Graph

156 Commits

Author SHA256 Message Date
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
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
Dr. Werner Fink
65226c243a .
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
693bf87649 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
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
Dr. Werner Fink
72bacea16c 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
2a8e475138 .
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
b4d2acc316 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
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
Dr. Werner Fink
85a4fbd5cc 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
5ea5c5a51a 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
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
aa22bd081c 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
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
Dr. Werner Fink
0d8a9b047a .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=95
2014-03-28 10:32:53 +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
Dr. Werner Fink
305c67f90c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=93
2014-03-17 14:05:11 +00:00
Dr. Werner Fink
74b00b155c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=92
2014-03-17 13:34:26 +00:00
Dr. Werner Fink
50db698b58 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=91
2014-03-17 13:31:09 +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
5f9492fb2c Accepting request 223584 from home:AndreasStieger:branches:Base:System
fix python-magic, 5.17. links to file which was changed without branching

OBS-URL: https://build.opensuse.org/request/show/223584
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=89
2014-02-24 16:31:12 +00:00
Dr. Werner Fink
52bc6d2e88 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=88
2014-02-18 10:22:22 +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
Dr. Werner Fink
817024f51e .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=86
2013-12-02 11:33:34 +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
Dr. Werner Fink
cf53959909 Accepting request 205655 from home:jengelh:branches:Base:System
- Set RPM groups

OBS-URL: https://build.opensuse.org/request/show/205655
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=84
2013-11-05 11:21:24 +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
Dr. Werner Fink
fc4f96803d .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=82
2013-10-01 10:43:52 +00:00
Dr. Werner Fink
a6b266b846 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=81
2013-09-30 14:38:27 +00:00
Dr. Werner Fink
19d3555053 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=80
2013-09-30 14:29:55 +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
Dr. Werner Fink
b3622de7cf Accepting request 176595 from home:Andreas_Schwab:Factory
- elf-invalid-byte-order.patch: remove bogus "invalid byte order" from elf
  magic

OBS-URL: https://build.opensuse.org/request/show/176595
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=78
2013-05-27 07:34:02 +00:00
Dr. Werner Fink
821c41bb83 Accepting request 176585 from home:Andreas_Schwab:Factory
- file-5.13-whitespace.patch: remove extra whitespace in ELF magic, breaks
  libtool

OBS-URL: https://build.opensuse.org/request/show/176585
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=77
2013-05-26 09:33:29 +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
449fdf5a68 Accepting request 161841 from home:elvigia:branches:Base:System
- Refresh patches and remove the visibility patch that I
 upstreamed few releases ago in a different form.

OBS-URL: https://build.opensuse.org/request/show/161841
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=75
2013-04-02 09:14:57 +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
Dr. Werner Fink
98feb59fcf .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=73
2013-03-22 10:16:05 +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
Ismail Dönmez
9e4df1ecfa - Run pre_checkin.sh
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=71
2013-03-12 10:37:57 +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
Dr. Werner Fink
3ded46da1f .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=69
2013-02-26 17:34:16 +00:00
Dr. Werner Fink
9b2c146719 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=68
2013-02-22 10:23:45 +00:00
Dr. Werner Fink
1f7ee711fb .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=67
2013-02-22 10:15:52 +00:00