Commit Graph

319 Commits

Author SHA256 Message Date
Dr. Werner Fink
b464568be6 readlinkat already upstream
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=229
2021-10-21 06:25:42 +00:00
Dr. Werner Fink
c465136c84 Fix python-magic version as well
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=228
2021-10-19 13:19:33 +00:00
Dr. Werner Fink
a34a7ce9b6 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=227
2021-10-19 10:16:15 +00:00
Dr. Werner Fink
5f1e54f96a Update to file file-5.41
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=226
2021-10-19 09:56:46 +00:00
Dominique Leuenberger
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
Dr. Werner Fink
4b0a77ed1a Fix several regressions of 5.40 with upstream commits and an own patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=224
2021-04-23 13:32:13 +00:00
Dr. Werner Fink
fa806214b7 Add upstream bug fix commits
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=223
2021-04-06 07:42:26 +00:00
Dr. Werner Fink
ce6e6ec49c Accepting request 882779 from home:AndreasStieger:branches:Base:System
file 5.40

OBS-URL: https://build.opensuse.org/request/show/882779
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=222
2021-04-06 07:26:22 +00:00
Dominique Leuenberger
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
Dr. Werner Fink
c20bbb84e8 Drop file-5.12-zip.dif
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=220
2021-03-10 13:44:25 +00:00
Dominique Leuenberger
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
Dr. Werner Fink
18580c3456 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=218
2020-07-01 08:38:57 +00:00
Dr. Werner Fink
bf221cd15a .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=217
2020-07-01 08:37:08 +00:00
Dr. Werner Fink
dcba012762 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=216
2020-07-01 08:27:37 +00:00
Dr. Werner Fink
30ff741fca Altenate form(at)
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=215
2020-07-01 07:55:09 +00:00
Dr. Werner Fink
6292248367 Accepting request 815549 from home:polslinux:branches:Base:System
- 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

OBS-URL: https://build.opensuse.org/request/show/815549
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=214
2020-06-17 15:16:08 +00:00
Dominique Leuenberger
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
Dr. Werner Fink
93f738d0dd Undo upstream commit 24c9c0
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=212
2020-05-04 13:53:02 +00:00
Dominique Leuenberger
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
4c2b7d7d80 Accepting request 794797 from home:AndreasSchwab:f
- file-5.24-nitpick.dif: remove obsolete patch (bsc#1169512)
- file-secure_getenv.patch: refresh

OBS-URL: https://build.opensuse.org/request/show/794797
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=210
2020-04-19 12:54:15 +00:00
Dominique Leuenberger
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
Dr. Werner Fink
43b5158f06 Disable libseccomp
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=208
2020-01-15 09:20:20 +00:00
Dr. Werner Fink
22ee42da74 Accepting request 761855 from home:msmeissn:branches:Base:System
- file-5.38-allow-readlinkat.dif: allow readlinkat() systemcall,
  reenable sandboxing. (bsc#1160303)

OBS-URL: https://build.opensuse.org/request/show/761855
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=207
2020-01-12 16:03:11 +00:00
Dr. Werner Fink
1257782b9d Restore diabled libseccomp on aarch64
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=206
2020-01-08 11:17:35 +00:00
Dr. Werner Fink
dec5a56b7f Test libseccomp
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=205
2020-01-08 11:06:16 +00:00
Dr. Werner Fink
dd1cee3902 Disable sandboxing on aarch64, second try
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=204
2020-01-07 11:41:37 +00:00
Dr. Werner Fink
7e4c4e7979 Disable sandboxing on aarch64
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=203
2020-01-07 11:24:32 +00:00
Dominique Leuenberger
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
Dr. Werner Fink
c6e4a49edc sandboxing
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=201
2019-12-20 14:04:56 +00:00
Dr. Werner Fink
6318f0130a sandboxing
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=200
2019-12-20 14:01:13 +00:00
Dr. Werner Fink
c24ff0645f Update to file-5.38
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=199
2019-12-17 09:59:56 +00:00
Dominique Leuenberger
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
bd24978757 Accepting request 741492 from home:StefanBruens:branches:Base:System
Untangle Rings:0 build loop to some degree

- Replace find invocation in self test by recursive bash glob,
  drop findutils BuildRequires.

OBS-URL: https://build.opensuse.org/request/show/741492
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=197
2019-10-28 10:06:08 +00:00
Dominique Leuenberger
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
Dr. Werner Fink
c321155d1f Add temporary patch CVE-2019-18218-46a8443f.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=195
2019-10-22 13:26:36 +00:00
Dr. Werner Fink
85135feb03 Let python-magic build again
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=194
2019-10-14 13:42:39 +00:00
Dominique Leuenberger
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
Dominique Leuenberger
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
Dr. Werner Fink
bbc9fa23fe Add temporary patch file-upstream.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=191
2019-06-11 10:43:44 +00:00
Dr. Werner Fink
4f08707c18 Always the forgotten part is python-magic
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=190
2019-05-29 06:09:41 +00:00
Dr. Werner Fink
ab5943019a Update to file version 5.37
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=189
2019-05-27 09:37:06 +00:00
Dominique Leuenberger
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
Dr. Werner Fink
3467dee9fb Update to file-5.36 ad bug fix and security release
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=187
2019-02-21 07:19:34 +00:00
Dominique Leuenberger
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
Dr. Werner Fink
82db481f4d .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=185
2018-10-25 06:11:02 +00:00
Dr. Werner Fink
c8540fe22b Update to file-5.35
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=184
2018-10-22 08:10:34 +00:00
Dr. Werner Fink
650ab2cba7 Let python tree install
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=183
2018-10-15 14:02:58 +00:00
Dr. Werner Fink
c99810fb57 Update to file 5.34
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=182
2018-10-15 11:20:52 +00:00
Dr. Werner Fink
8ac4c4d262 Update to file 5.34
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=181
2018-10-15 11:15:31 +00:00
Dominique Leuenberger
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