SHA256
1
0
forked from pool/file
Commit Graph

284 Commits

Author SHA256 Message Date
Dominique Leuenberger
54cebf17fe 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
3e44682782 Accepting request 969997 from home:dirkmueller:Factory
- update file-5.41-cache-regexps.patch to fix cache offset
  miscalculation (bsc#1197780)

OBS-URL: https://build.opensuse.org/request/show/969997
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=241
2022-04-13 20:46:49 +00:00
Dominique Leuenberger
64ac926a24 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
b05cdb491a OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=239 2022-03-24 19:18:12 +00:00
Dr. Werner Fink
7f56c39f55 Accepting request 964197 from home:dirkmueller:Factory
- add file-5.41-cache-regexps-locale-restore.patch to restore
  previous locale handling behavior

OBS-URL: https://build.opensuse.org/request/show/964197
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=238
2022-03-23 09:44:25 +00:00
Dr. Werner Fink
97ba010f1a Accepting request 963483 from home:dirkmueller:Factory
- add file-5.41-cache-regexps.patch to cache regexp lookups 

- spec-cleaner run

OBS-URL: https://build.opensuse.org/request/show/963483
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=237
2022-03-21 09:18:32 +00:00
d36175d596 revert accidental commit
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=236
2022-03-19 17:59:14 +00:00
fd248001c7 OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=235 2022-03-14 10:44:02 +00:00
Dominique Leuenberger
a17c02c31f 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
Dr. Werner Fink
1a4c4c8731 libseccomp sandboxing
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=234
2022-02-24 10:07:30 +00:00
Dr. Werner Fink
d572fed05f Accepting request 957235 from home:dimstar:Factory
- 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).

OBS-URL: https://build.opensuse.org/request/show/957235
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=233
2022-02-24 09:51:57 +00:00
362482b9fd Accepting request 956541 from home:dimstar:Factory
- 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.

  file 5.41

OBS-URL: https://build.opensuse.org/request/show/956541
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=232
2022-02-22 08:27:59 +00:00
Dominique Leuenberger
93f301aac2 OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=231 2021-12-01 10:28:59 +00:00
Dominique Leuenberger
bf630bba66 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
Dr. Werner Fink
a9dfab85e6 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=230
2021-10-21 12:56:09 +00:00
Dr. Werner Fink
80e2bcab7a 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
525922e488 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
31e97dca98 .
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
f8af935533 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
0a76ce14a4 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
0a5d38606b 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
e74af090ef 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
420457b0b9 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
ec86975859 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
1cd16be0c1 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
60ce8ce238 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
854fd9fdbc .
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
b5fbcbc898 .
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
d1af7bd7a6 .
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
c6dc6da310 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
6eda530961 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
196ad62f3a 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
e98be92925 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
cb86b1668b 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
3f8afeba38 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
daf90fff9f 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
40ddcdd426 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
d39430884d 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
da3f9702c0 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
10bafd7990 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
b3e558abfb 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
045b107f01 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
f6ea4da0e9 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
5334ca47cb 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
ee79c928e2 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
206a08fbae 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
06846b05e8 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
d54368bbf7 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
9bee18d36e 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
b3c0fb0be8 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