SHA256
1
0
forked from pool/file
Commit Graph

316 Commits

Author SHA256 Message Date
Dominique Leuenberger
73ae9a1eb9 Accepting request 1101521 from Base:System
- Add patch file-5.45-type_t.dif
  * Partly upstream check of type_t is wide on 32bit systems
  * Extend (auto)configure to enable wide type_t type if possible

- On 32bit systems define _TIME_BITS=64 to make it build

- Update to 5.45:
  * PR/465: psrok1: Avoid muslc asctime_r crash
  * add SIMH tape format support
  * bump the max size of the elf section notes to be read to 128K
    and make it configurable
  * PR/415: Fix decompression with program returning empty
  * PR/408: fix -p with seccomp
  * PR/412: fix MinGW compilation
- Remove upstream patch dc71304b.patch
- Modify patches
  * file-5.17-option.dif
  * file-5.19-biorad.dif
  * file-5.19-zip2.0.dif
  * file-5.22-elf.dif
  * file-secure_getenv.patch
- Port and rename patch file-5.44.dif now file-5.45.dif

OBS-URL: https://build.opensuse.org/request/show/1101521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=135
2023-08-02 14:47:48 +00:00
Dr. Werner Fink
b127befe53 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=273
2023-07-31 11:57:58 +00:00
Dr. Werner Fink
077a47b5cf Add file-5.45-type_t.dif
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=272
2023-07-31 09:46:21 +00:00
Dr. Werner Fink
79be65aaa9 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=271
2023-07-28 11:52:29 +00:00
Dr. Werner Fink
b8972947e5 Update to file 5.45
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=270
2023-07-28 09:56:34 +00:00
Dominique Leuenberger
ca3a97ade9 Accepting request 1084807 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1084807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=134
2023-05-06 20:08:18 +00:00
55c37702d6 Accepting request 1084734 from home:fcrozat:branches:Base:System
- Add _multibuild to define additional spec files as additional
  flavors.
  Eliminates the need for source package links in OBS.

- Add _multibuild to define additional spec files as additional
  flavors.
  Eliminates the need for source package links in OBS.

OBS-URL: https://build.opensuse.org/request/show/1084734
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=268
2023-05-04 16:53:10 +00:00
Dominique Leuenberger
8f788bec7a Accepting request 1057786 from Base:System
- Add patch dc71304b.patch
  * Handle script executable Zip archives

- Use [Pp]atch0 explicit to avoid warning as python.magic build time

- Modifying patches
  * file-5.22-elf.dif
  * file-5.19-printf.dif
  * file-5.19-zip2.0.dif
  * file-5.19-biorad.dif
  * file-secure_getenv.patch
  * file-5.28-btrfs-image.dif
- Remove patch file-zstd.patch now upstream
- Port patch file-5.42.dif and rename it to file-5.44.dif
- Update to 5.44:
  * Handle nan's so that we don't get internal floating point exceptions
    when they are enabled (Vincent Mihalkovic)
  * PR/397: Restore the ability to process files from stdin immediately.
  * fixed various clustefuzz issues
  * Fix error detection for decompression code (Vincent Mihalkovic)
  * Add MAGIC_NO_COMPRESS_FORK and use it to produce a more
    meaningful error message if we are sandboxing.
  * Add built-in lzip decompression support (Michal Gorny)
  * Add built-in zstd decompression support (Martin Rodriguez Reboredo)

- Enable tests for python-magic (not python-python-magic) 

- Run pre_checkin.sh to get correct source tar ball

- Update to 5.44

OBS-URL: https://build.opensuse.org/request/show/1057786
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=133
2023-01-12 21:42:33 +00:00
Dr. Werner Fink
31be283121 Handle script executable Zip archives
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=266
2023-01-11 13:18:15 +00:00
Dr. Werner Fink
3b5d768f83 Test cases for python-magic
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=265
2023-01-10 13:29:59 +00:00
Dr. Werner Fink
988257d84d Make python-magic build
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=264
2023-01-10 08:30:27 +00:00
Dr. Werner Fink
de1ba0372b .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=263
2023-01-09 14:53:28 +00:00
Dr. Werner Fink
fe3b8566d5 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=262
2023-01-09 14:45:00 +00:00
Dr. Werner Fink
ccaa32ecbf Update to file-5.44
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=261
2023-01-09 14:41:18 +00:00
Dominique Leuenberger
ec0af672d1 Accepting request 1044315 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1044315
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=132
2022-12-24 13:50:47 +00:00
6f5ad3cbe7 - switch to pkgconfig(zlib) so that alternative providers can be
used

OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=259
2022-12-15 16:17:00 +00:00
Dominique Leuenberger
fc8984624c Accepting request 1003495 from Base:System
- Add patch file-zstd.patch from upstream mailing list
  * Add zstd decompression support
- Run also upstream standard checks

- update to 5.43:
  * Add octal indirect magic
  * avoid infinite loop in non-wide code 
  * Obey MAGIC_CONTINUE with multiple magic files
  * Fix bug with large flist
  * PR/364: Detect non-nul-terminated core filenames from QEMU
  * PR/359: Add support for http://ndjson.org/ 
  * PR/362: Fix wide printing 
  * PR/358: Fix width for -f -
- drop file-boo1201350.patch (upstream)

- Update to 5.43 due to Dirk

OBS-URL: https://build.opensuse.org/request/show/1003495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=131
2022-09-16 11:31:51 +00:00
Dr. Werner Fink
d94be85662 checks
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=257
2022-09-14 09:23:17 +00:00
Dr. Werner Fink
8b777ad2b5 Add zstd decompression support
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=256
2022-09-14 09:15:59 +00:00
Dr. Werner Fink
e4551b5632 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=255
2022-09-14 06:49:30 +00:00
2f9edeb10a - update to 5.43:
* Add octal indirect magic
  * avoid infinite loop in non-wide code 
  * Obey MAGIC_CONTINUE with multiple magic files
  * Fix bug with large flist
  * PR/364: Detect non-nul-terminated core filenames from QEMU
  * PR/359: Add support for http://ndjson.org/ 
  * PR/362: Fix wide printing 
  * PR/358: Fix width for -f -
- drop file-boo1201350.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=254
2022-09-13 20:12:04 +00:00
Dominique Leuenberger
e27d1a0760 Accepting request 999552 from Base:System
- Move magic files to /usr/share/file from /usr/share/misc, and
  then create symlinks from /usr/share/misc back to /usr/share/file
  as per FHS 3.0 (forwarded request 999290 from gmbr3)

OBS-URL: https://build.opensuse.org/request/show/999552
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=130
2022-08-28 11:12:08 +00:00
Dr. Werner Fink
1e466fead7 Accepting request 999290 from home:gmbr3:Active
- Move magic files to /usr/share/file from /usr/share/misc, and
  then create symlinks from /usr/share/misc back to /usr/share/file
  as per FHS 3.0

OBS-URL: https://build.opensuse.org/request/show/999290
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=252
2022-08-27 11:04:28 +00:00
Richard Brown
f938f8d975 Accepting request 990574 from Base:System
- Add upstream patch to fix boo#1201350
  * file-boo1201350.patch which combines the commits
    c80065fe6900be5e794941e29b32440e9969b1c3
    7e59d34206d7c962e093d4239e5367a2cd8b7623
    f042050f59bfc037677871c4d1037c33273f5213
    d471022b2772071877895759f209f2c346757a4c
    441ac2b15508909e82ad467960df4ac0adf9644c

OBS-URL: https://build.opensuse.org/request/show/990574
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=129
2022-07-29 14:46:51 +00:00
Dr. Werner Fink
ef3ad93517 Remove leftover file-boo1201350.patch~0
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=250
2022-07-21 14:22:00 +00:00
Dr. Werner Fink
88cd01a0dd Fix boo#1201350
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=249
2022-07-21 14:10:28 +00:00
Dr. Werner Fink
0a013c35cf OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=248 2022-07-13 11:20:26 +00:00
Dr. Werner Fink
a7d0037c3b OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=247 2022-07-13 11:03:35 +00:00
Dominique Leuenberger
d051523e3e Accepting request 982386 from Base:System
- Update to 5.42:
  * PR/348: add missing cases to prevent file from aborting on
    random magic files.
  * PR/351: octalify filenames when not raw before printing.
  * fix regex cacheing bug (Dirk Mueller)
  * merge file_regcomp and file_regerror() to simplify the code
    and reduce memory requirements for storing regexes (Dirk Mueller)
  * cache regex (Dirk Mueller)
  * detect filesystem full by flushing output (Dirk Mueller)
  * implement running decompressor programs using
    posix_spawnp(2) instead of vfork(2)
  * Add support for msdos dates and times
  * use the system byte swapping functions if available (Werner Fink)
- Port patches
  * file-5.17-option.dif
  * file-5.19-biorad.dif
  * file-5.19-printf.dif
  * file-5.19-zip2.0.dif
  * file-5.28-btrfs-image.dif
  * file-secure_getenv.patch
- Remove patches now upstream
  * file-5.23-endian.patch
  * file-5.41-cache-regexps-locale-restore.patch
  * file-5.41-cache-regexps.patch
- Port and rename patch file-5.41.dif which is now file-5.42.dif

OBS-URL: https://build.opensuse.org/request/show/982386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=128
2022-06-16 16:19:35 +00:00
Dr. Werner Fink
2b0374754c Update ot file-5.42
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=245
2022-06-13 08:55:08 +00:00
Dominique Leuenberger
35c67d8d7d Accepting request 972801 from Base:System
- Try to solve 32bit import dependency problems (boo#1198788)

OBS-URL: https://build.opensuse.org/request/show/972801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=127
2022-04-30 20:51:57 +00:00
Dr. Werner Fink
e8a92dcda5 targettype 32bit
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=243
2022-04-26 09:05:03 +00:00
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