Commit Graph

319 Commits

Author SHA256 Message Date
Ana Guerrero
51492f65ad Accepting request 1150751 from Base:System
- Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1150751
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=136
2024-02-28 18:44:17 +00:00
Dr. Werner Fink
3446f570d9 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=276
2024-02-26 09:12:49 +00:00
Dr. Werner Fink
98bc2f16a9 Accepting request 1150649 from home:dimstar:rpm4.20:f
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1150649
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=275
2024-02-26 08:58:19 +00:00
Dominique Leuenberger
c36b3808b9 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
f00fc555f2 .
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
ad7a15413c 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
df097d6f94 .
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
020646c374 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
e59f101379 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
70c37d6e2d 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
13e65e82c8 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
f089dba5c9 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
28e3ba9cec 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
98abbe70cf 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
c22a7eb6a6 .
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
3b762ff1c6 .
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
630e3b25f9 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
859264c2e5 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
aca4e13db0 - 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
3292e79cf1 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
24b1f7aacd 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
7594f97f0c 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
90d3848c92 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=255
2022-09-14 06:49:30 +00:00
d0cf1947a6 - 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
19e9b3207d 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
b9cdea4d60 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
f66cc485b9 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
d677142181 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
a45a3c155e 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
40611154d8 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
5d3f41f433 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
930dfb404c 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
ce565f44ae 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
7b7dbdca9a 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
15ff46f54d 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
7e6de71cff 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
6cddf614ad 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
07ab9a73c7 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
03ac71daa8 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
47e53e9dcf 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
207614c41a 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
9797584eba 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
47aed56704 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
f86c3a456b 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
bcbe812186 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
911f1f4397 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
10ea055727 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
80eb29f619 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
e34945fc57 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
f87fa6b7be .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=230
2021-10-21 12:56:09 +00:00