339 Commits

Author SHA256 Message Date
5d13fcba49 Accepting request 1302713 from Base:System
- Add patch file-5.46-tcgets2.patch from https://bugs.astron.com/view.php?id=678
  but disable hunk 1 to avoid conflict with file-seccomp-ppc.patch
  This should fix bug boo#1249071 
- Modify patch file-seccomp-ppc.patch that is use <asm/termbits.h>
  on all architectures

OBS-URL: https://build.opensuse.org/request/show/1302713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=143
2025-09-05 19:42:40 +00:00
7a18a363a4 Extend changelog about change in file-seccomp-ppc.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=296
2025-09-04 10:34:27 +00:00
93899de9d1 Fix bug boo#1249071
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=295
2025-09-04 09:37:39 +00:00
b101606c80 Accepting request 1279982 from Base:System
- Add file-zipdata.patch
  * Fix "Some zip files are misclassified as data"
    see https://bugs.astron.com/view.php?id=571
    based on 60b2032b96 (forwarded request 1279890 from munix9)

OBS-URL: https://build.opensuse.org/request/show/1279982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=142
2025-05-27 16:48:53 +00:00
076093e4a0 Accepting request 1279890 from home:munix9:branches:Base:System
- Add file-zipdata.patch
  * Fix "Some zip files are misclassified as data"
    see https://bugs.astron.com/view.php?id=571
    based on 60b2032b96

OBS-URL: https://build.opensuse.org/request/show/1279890
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=293
2025-05-26 06:44:45 +00:00
d48de11f45 Accepting request 1256270 from Base:System
- baselibs.conf: drop it

- Change patch file-seccomp.patch
  * Remove the dumb prctl allow rule as for glibc malloc the prctl
    PR_SET_VMA with flag PR_SET_VMA_ANON_NAME is already allowed
- Require at build zlib-devel to enable direct uncompresion of
  zip'ed files as well

- Add patch file-seccomp-ppc.patch
  * Minimal patch to work around of wrong provide of used TCGETS

OBS-URL: https://build.opensuse.org/request/show/1256270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=141
2025-03-31 09:38:09 +00:00
2478470ec6 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=291
2025-03-26 14:59:07 +00:00
8df3c3377c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=290
2025-03-26 14:23:20 +00:00
bea3192794 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=289
2025-03-19 09:34:53 +00:00
7f6d5ccf3c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=288
2025-03-18 10:40:48 +00:00
7dd4f7dc3e Fix seccomp filter for ppc64le
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=287
2025-03-18 10:36:08 +00:00
2d9e49ff25 Accepting request 1247564 from Base:System
- Add patch boo1237209.patch temporary
  * Fix stack overrun (boo#1237209)

OBS-URL: https://build.opensuse.org/request/show/1247564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=140
2025-02-22 18:04:16 +00:00
77dbffbf6f boo#1237209
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=285
2025-02-21 07:28:39 +00:00
57fde231c9 Accepting request 1227112 from Base:System
- Update to 5.46:
  * Add OFFPOSITIVE
  * avoid leaking symbols in libmagic
  * PR/562: jsummers: Search/regex offsets are absolute to the
    beginning of the file, so adjust them by subtracting the
    offset that the "use" starts so that we don't double-count it.
  * PR/543: matshch: bump nbuf so we can get the flags into the buffer.
  * Add Android elf notes (enh)
  * Add limit for number of magic warnings allowed
  * check regex bounds (found by clusterfuzz)
- Remove patch file-5.45-type_t.dif now upstream
- Port patches
  * file-4.24-autoconf.dif
  * file-5.17-option.dif
  * file-5.18-javacheck.dif
  * file-5.19-biorad.dif
  * file-5.19-printf.dif
  * file-5.19-zip2.0.dif
  * file-5.22-elf.dif
  * file-5.28-btrfs-image.dif
  * file-5.45-type_t.dif
  * file-secure_getenv.patch
- Port patch file-5.45.dif and rename it to file-5.46.dif
  * Note that our kernel magics do not fit anymore as
    upstream now has a huge rework and extended features

OBS-URL: https://build.opensuse.org/request/show/1227112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=139
2024-11-30 12:27:00 +00:00
acca0fc501 Update to file 5.46
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=283
2024-11-28 11:30:17 +00:00
12c27d66bb Accepting request 1222654 from Base:System
- file-seccomp.patch: glibc uses getrandom in malloc, rseq and prctl
  in various other places, allow these syscalls in seccomp filter.

OBS-URL: https://build.opensuse.org/request/show/1222654
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=138
2024-11-09 19:52:41 +00:00
c6a06d6fa6 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=281
2024-11-08 07:34:20 +00:00
6f71f99709 Accepting request 1222588 from home:elvigia:branches:Base:System
- file-seccomp.patch: glibc uses getrandom in malloc, rseq and prctl
  in various other places, allow these syscalls in seccomp filter.

OBS-URL: https://build.opensuse.org/request/show/1222588
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=280
2024-11-08 07:22:14 +00:00
5a24f24d5b Accepting request 1193353 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1193353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=137
2024-08-13 11:23:11 +00:00
a66491c853 Accepting request 1192959 from home:mcepl:branches:Base:System
- Don't use `setup.py test`, that is now not allowed.

OBS-URL: https://build.opensuse.org/request/show/1192959
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=278
2024-08-12 07:31:23 +00:00
efc1cb85ec 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
a7e328aa96 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=276
2024-02-26 09:12:49 +00:00
1422ba9f50 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
adb0c3cfb7 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
78dc71ea30 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=273
2023-07-31 11:57:58 +00:00
fa60e1c818 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
2658cccd98 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=271
2023-07-28 11:52:29 +00:00
1c5493c530 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
7f246b3b47 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
2a5b8a9baf 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
543f0d6c6c 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
4fa843bcaa 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
7bb8d2ee25 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
049b11153a 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
674d6c7650 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=263
2023-01-09 14:53:28 +00:00
4d2993d3ed .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=262
2023-01-09 14:45:00 +00:00
71d7a355f3 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
c6d63b4df8 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
cff3d2a830 - 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
eac5440aee 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
d5c189ca24 checks
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=257
2022-09-14 09:23:17 +00:00
396b3fcf6e 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
20f4df29e9 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=255
2022-09-14 06:49:30 +00:00
d0226ee81f - 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
314e4ca00a 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
b494fef7a6 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
f0baf597b3 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
6e370edf1f 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
323ff2c59e 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
b6ccd53354 OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=248 2022-07-13 11:20:26 +00:00