SHA256
1
0
forked from pool/file

Compare commits

...

323 Commits

Author SHA256 Message Date
Dominique Leuenberger
0b7b1ceaf6 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
Dr. Werner Fink
8712bcc924 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=281
2024-11-08 07:34:20 +00:00
Dr. Werner Fink
fdbc4a0048 - 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/package/show/Base:System/file?expand=0&rev=280
2024-11-08 07:22:14 +00:00
Dominique Leuenberger
f7aaf41c9a 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
Ana Guerrero
e98a196f6a 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
c01dbc8137 .
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
ed6a6fe470 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
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
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
Dr. Werner Fink
2b6ead8ec5 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
f091e33ce6 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
9693f4ba64 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
6ce9aea2c3 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
f292fcfb56 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
a888dea5b1 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
5ef2ccc38a 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
4a125167e0 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
972a6b3148 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
8c80acbf0a .
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
d811770fe1 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
b9a17b589e 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
5546be9e5a 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
c009e6fc67 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
54ec1d915d 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
5eeec8a727 Accepting request 628611 from home:AndreasStieger:branches:Base:System
- add upstream signing key and verify source signature

OBS-URL: https://build.opensuse.org/request/show/628611
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=179
2018-08-13 11:42:53 +00:00
Dominique Leuenberger
98973c5735 Accepting request 616455 from Base:System
- Update to file version 5.33
  * extend the support for ${x?:} expansions for magic descriptions
  * add support for ${x?:} in mime types to handle
    pie binaries.
  * add support for negative offsets (offsets from the end of file)
  * close the file on error when writing magic (Steve Grubb)
  * seccomp support (Paul Moore)
- Rename patch file-5.32.dif to file-5.33.dif
- Remove patch file-5.32-ncurses-6.1.patch now upstream
- Modify and port 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.22-elf.dif
  * file-5.24-nitpick.dif
- Add patch file-a642587a9c.patch for bsc#1096974, bsc#1096984, and
  CVE-2018-10360 -- Avoid reading past the end of buffer

- Correct version of file which is now 5.33

OBS-URL: https://build.opensuse.org/request/show/616455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=108
2018-07-14 18:13:42 +00:00
Dr. Werner Fink
14f200fcdc adopt version in python part
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=177
2018-06-13 07:51:12 +00:00
Dr. Werner Fink
74612cea00 Update to 5.33 and bug fix for bsc#1096974 and bsc#1096984
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=176
2018-06-12 15:26:41 +00:00
Yuchen Lin
2851aa3c40 Accepting request 593898 from Base:System
- Correct line break in patch file-5.24-nitpick.dif (boo#1087924)

OBS-URL: https://build.opensuse.org/request/show/593898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=107
2018-04-10 07:51:58 +00:00
Dr. Werner Fink
6b4a7f2ebe Add missing line break in help text
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=174
2018-04-06 07:09:50 +00:00
Dominique Leuenberger
053ea5f082 Accepting request 580535 from Base:System
OBS-URL: https://build.opensuse.org/request/show/580535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=106
2018-03-07 09:28:09 +00:00
7e434ad156 Accepting request 580084 from home:favogt:licensetag
Use %license (boo#1082318). Please forward to SLE, if possible

OBS-URL: https://build.opensuse.org/request/show/580084
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=172
2018-02-27 09:47:58 +00:00
Dominique Leuenberger
1558f648bc Accepting request 568099 from Base:System
- Add patch file-5.32-ncurses-6.1.patch to support extend magic
  format for new ncurses 6.1

OBS-URL: https://build.opensuse.org/request/show/568099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=105
2018-01-26 12:34:01 +00:00
Dr. Werner Fink
50e03bd4e8 make it at least apply patches
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=170
2018-01-22 10:49:22 +00:00
Dr. Werner Fink
3ff8bd0311 Add new magic format for next ncurses 6.1 compiled format
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=169
2018-01-22 10:41:22 +00:00
Dr. Werner Fink
be25e6b67d Add new magic format for next ncurses 6.1 compiled format
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=168
2018-01-22 10:40:51 +00:00
Dominique Leuenberger
d0ec535b2e Accepting request 533649 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/533649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=104
2017-10-25 15:43:22 +00:00
ef80cb1452 Accepting request 532487 from home:jengelh:branches:Base:System
- Update package summaries. Replace old RPM constructs.
- Remove --with-pic which is useless with --disable-static.
- Edit pre_checkin.sh to remove dead python3 file.

OBS-URL: https://build.opensuse.org/request/show/532487
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=166
2017-10-12 11:26:15 +00:00
Dominique Leuenberger
3d025eeaa7 Accepting request 532411 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/532411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=103
2017-10-09 17:36:07 +00:00
b1bef68f62 Accepting request 528985 from devel:languages:python:singlespec-staging
- remove python build instructions from master spec file, move completely
  into python-magic.spec

- converted to singlespec, dropped separate python3-magic spec file
- moved python build instructions from file.spec to python-magic.spec
- do not need to build the binary parts in order to build the python part
- removed inlining of %defines from file.spec because it is unreliable
  in presence of parametrized macros
- added provides: python-file-magic to comply with the python package
  naming policy

OBS-URL: https://build.opensuse.org/request/show/528985
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=164
2017-10-07 10:37:20 +00:00
Dominique Leuenberger
d2fb2c960e Accepting request 528198 from Base:System
- Update to file version 5.32
  * Always reset state in {file,buffer}_apprentice (Krzysztof Wilczynski)
  * Fix always true condition (Thomas Jarosch)
  * pickier parsing of numeric values in magic files.
  * PR/615 add magic_getflags()
- This release fix the bug bsc#1056838 for CVE-2017-1000249
- Remove patch file-5.31-fix-tga.dif as now upstream
- Rename patch file-5.31.dif which now becomes file-5.32.dif
- Modify the patches
  * file-5.16-ocloexec.patch
  * file-5.19-biorad.dif
  * file-5.19-printf.dif
  * file-5.23-endian.patch
  * file-5.28-btrfs-image.dif

OBS-URL: https://build.opensuse.org/request/show/528198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=102
2017-09-25 11:48:48 +00:00
Dr. Werner Fink
fa5d29caba .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=162
2017-09-16 17:10:30 +00:00
Dr. Werner Fink
6208236e5d Update to file 5.32 to fix bug bsc#1056838
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=161
2017-09-13 10:43:50 +00:00
Dominique Leuenberger
487776d3ec Accepting request 501318 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/501318
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=101
2017-06-12 13:10:36 +00:00
461d3614fa Accepting request 501203 from home:coolo:branches:openSUSE:Factory
- add file-5.31-fix-tga.dif upstream commited after I reported
  a failure in File::Unpack's test suite

OBS-URL: https://build.opensuse.org/request/show/501203
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=159
2017-06-06 08:38:22 +00:00
Dominique Leuenberger
8262295667 Accepting request 497934 from Base:System
- Update to file version 5.31
  * remove trailing spaces from magic files
  * refactor is_tar
  * better bounds checks for cdf
- Remove patches now upstream
  * file-5.30-150735.patch
  * file-5.30-3c60e5.patch
- Rename patch file-5.30.dif which becomes file-5.31.dif
- Modify the patches
  * file-4.24-autoconf.dif
  * file-5.14-tex.dif
  * file-5.16-ocloexec.patch
  * file-5.19-printf.dif
  * file-5.23-endian.patch

OBS-URL: https://build.opensuse.org/request/show/497934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=100
2017-06-02 08:30:03 +00:00
Dr. Werner Fink
46a49a13c2 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=157
2017-05-24 11:14:26 +00:00
Dominique Leuenberger
6d69455eee Accepting request 461937 from Base:System
- Update to file version 5.30
  * If we exceeded the offset in a search return no match
    (Christoph Biedl)
  * Be more lenient on corrupt CDF files (Christoph Biedl)
  * pacify ubsan sign extension (oss-fuzz/524)
  * off by one in cdf parsing (PR/593)
  * report debugging sections in elf (PR/591)
  * Allow @@@ in extensions
  * Add missing overflow check in der magic (Jonas Wagner)
- Mofify the patches
    file-5.16-ocloexec.patch
    file-5.19-biorad.dif
    file-5.28-btrfs-image.dif
- Rename patch file-5.29.dif to file-5.30.dif
- Add upstream patches
    file-5.30-150735.patch
    file-5.30-3c60e5.patch

OBS-URL: https://build.opensuse.org/request/show/461937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=99
2017-03-07 23:42:01 +00:00
Dr. Werner Fink
1deee03e25 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=155
2017-03-02 13:33:40 +00:00
Dr. Werner Fink
1843ad3c62 Update to file 5.30
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=154
2017-03-02 13:25:41 +00:00
Dominique Leuenberger
30aacb2785 Accepting request 442832 from Base:System
- Modify patch file-5.29.dif that is
  replace colon with dot in offset (boo#1012779)

OBS-URL: https://build.opensuse.org/request/show/442832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=98
2016-12-03 17:23:00 +00:00
Dr. Werner Fink
4ba20e004b boo#1012779
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=152
2016-11-30 12:51:53 +00:00
Dominique Leuenberger
8ed4d8c2e1 Accepting request 441837 from Base:System
- Update to file version 5.29
  * der getlength overflow (Jonas Wagner)
  * multiple magic file load failure (Christoph Biedl)
  * CDF parsing improvements (Guy Helmer)
  * Add support for signed indirect offsets
  * cat /dev/null | file - should print empty (Christoph Biedl)
  * Bump string size from 64 to 96.
  * PR/556: Fix separators on annotations.
- Remove patch file-5.28-compress.patch now upstream
- Rename patch file-5.28.dif which becomes now file-5.29.dif

OBS-URL: https://build.opensuse.org/request/show/441837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=97
2016-11-28 14:02:47 +00:00
Dr. Werner Fink
c87d1bc0da Update to file 5.29
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=150
2016-11-24 10:45:15 +00:00
Dominique Leuenberger
9486420ffc Accepting request 437228 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/437228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=96
2016-11-02 11:27:47 +00:00
58804afd29 Accepting request 436555 from home:jeff_mahoney:branches:Base:System
- Add patch file-5.28-btrfs-image.dif
  to add support for files output by btrfs-image.

OBS-URL: https://build.opensuse.org/request/show/436555
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=148
2016-10-25 07:03:35 +00:00
Dominique Leuenberger
7c64d7799c Accepting request 421776 from Base:System
- Fix boo#995089:
  * Do not attempt to produce a file-magic-32bit package: there is
    nothing arch-dependant in this package (for completeness, this
    was already fixed just before by Marcus)
  * Fix baselibs.conf for libmagic1-32bit to require file-magic
    instead of file-magic-32bit.
  * Build file-magic as noarch on openSUSE >= 1200 (where rpm is
    new enough to support this). (forwarded request 421756 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/421776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=95
2016-08-26 21:12:19 +00:00
5ee9d6afb5 Accepting request 421756 from home:dimstar:Factory
- Fix boo#995089:
  * Do not attempt to produce a file-magic-32bit package: there is
    nothing arch-dependant in this package (for completeness, this
    was already fixed just before by Marcus)
  * Fix baselibs.conf for libmagic1-32bit to require file-magic
    instead of file-magic-32bit.
  * Build file-magic as noarch on openSUSE >= 1200 (where rpm is
    new enough to support this).

OBS-URL: https://build.opensuse.org/request/show/421756
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=146
2016-08-24 15:13:36 +00:00
cf05247f69 - file-magic is architecture independend, no need for a baselibs
package.

OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=145
2016-08-24 14:16:35 +00:00
Dominique Leuenberger
6dfe2067d3 Accepting request 419961 from Base:System
- Add patch file-5.28-compress.patch
  to fix crash as found in build system

- Update to file version 5.28
  * fix leak on allocation failure
  * PR/555: Avoid overflow for offset > nbytes
  * PR/550: Segv on DER parsing:
      - use the correct variable for length
      - set offset to 0 on failure.
- Port patches to 5.28
  file-4.24-autoconf.dif
  file-5.15-clear-invalid.patch
  file-5.16-ocloexec.patch
  file-5.19-biorad.dif
  file-5.23-endian.patch
  file-5.24-nitpick.dif
  file-secure_getenv.patch
- Remove patches now upstream
  file-5.26-revert-close.patch
- Rename patches
  file-5.26.dif becomes file-5.28.dif

- Update to file version 5.27
  * Errors comparing DER entries or computing offsets
    are just indications of malformed non-DER files.
    Don't print them.
  * Offset comparison was off-by-one.
  * Fix compression code (Werner Fink)
  * Put new bytes constant in the right file (not the generated one)
- Remove patches

OBS-URL: https://build.opensuse.org/request/show/419961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=94
2016-08-22 08:50:15 +00:00
Dr. Werner Fink
09c3a88b7a .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=143
2016-08-18 12:31:36 +00:00
Dr. Werner Fink
593712449f fix crash in build system
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=142
2016-08-18 12:25:39 +00:00
Dr. Werner Fink
ee21e381c9 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=141
2016-08-16 12:54:52 +00:00
Dr. Werner Fink
090daa0817 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=140
2016-08-16 12:02:27 +00:00
Dr. Werner Fink
b4efe8613f .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=139
2016-06-01 10:23:07 +00:00
Dr. Werner Fink
3d9116516c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=138
2016-04-20 08:51:51 +00:00
Dr. Werner Fink
9ae0437826 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=137
2016-04-20 08:01:20 +00:00
Dr. Werner Fink
dd6aaf6741 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=136
2016-04-20 07:15:22 +00:00
Dr. Werner Fink
3798211991 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=135
2016-04-19 14:08:46 +00:00
Dr. Werner Fink
7a9cba61e5 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=134
2016-04-19 12:34:27 +00:00
Dr. Werner Fink
e92278e7eb .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=133
2016-04-19 12:17:27 +00:00
Dr. Werner Fink
4d9a9c9c4e .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=132
2016-04-19 11:57:57 +00:00
Dr. Werner Fink
6c3f5934e6 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=131
2016-04-19 11:52:40 +00:00
Dr. Werner Fink
7bf0e6c3b2 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=130
2016-04-19 11:50:56 +00:00
Dr. Werner Fink
876a3058ba .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=129
2016-04-19 09:36:05 +00:00
Dr. Werner Fink
22277e3619 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=128
2016-04-18 13:32:24 +00:00
Dominique Leuenberger
3b36b24476 Accepting request 360111 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/360111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=93
2016-02-22 09:09:45 +00:00
cdd247fd26 Accepting request 359630 from home:Rotkraut
Add package python3-magic providing Python 3 bindings.

OBS-URL: https://build.opensuse.org/request/show/359630
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=126
2016-02-18 11:51:37 +00:00
Dominique Leuenberger
6ce615f4b9 Accepting request 355237 from Base:System
- add file-5.25-avoid-double-evaluation-in-python-bindings.dif (bsc#949905)

- add file-5.25-avoid-double-evaluation-in-python-bindings.dif (bsc#949905)

OBS-URL: https://build.opensuse.org/request/show/355237
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=92
2016-01-26 09:14:24 +00:00
1af14c6bef - add file-5.25-avoid-double-evaluation-in-python-bindings.dif (bsc#949905)
- add file-5.25-avoid-double-evaluation-in-python-bindings.dif (bsc#949905)

OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=124
2016-01-21 11:51:33 +00:00
Dominique Leuenberger
fb6fea661b Accepting request 336505 from Base:System
file 5.25 (forwarded request 336306 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/336505
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=91
2015-10-14 14:34:46 +00:00
Dr. Werner Fink
35ea0722c9 Accepting request 336306 from home:AndreasStieger:branches:Base:System
file 5.25

OBS-URL: https://build.opensuse.org/request/show/336306
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=122
2015-10-05 08:17:24 +00:00
Stephan Kulow
a84aa099dc Accepting request 316705 from Base:System
- Update to file version 5.24 
  * redo long option encoding to fix off-by-one in 5.23
- Adapt and rename patch
  file-5.12-nitpick.dif becomes file-5.24-nitpick.dif

- adapt version in specfile to 5.24

OBS-URL: https://build.opensuse.org/request/show/316705
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=90
2015-07-21 11:25:14 +00:00
Dr. Werner Fink
2468dd97df .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=120
2015-07-14 14:16:40 +00:00
Dr. Werner Fink
3b43beaf1a .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=119
2015-07-14 11:52:47 +00:00
Stephan Kulow
2b189fdfa6 Accepting request 311662 from Base:System
- Update to file version 5.23
  * Fix issue with regex range for magic with offset
  * Always return true from mget with USE (success to mget not match
    indication). Fixes mime evaluation after USE magic
  * PR/459: Don't insert magic entries to the list if there are parsing
    errors for them.
  * PR/455: Add utf-7 encoding
  * PR/455: Implement -Z, look inside, but don't report on compression
  * PR/454: Fix allocation error on bad magic.
  * handle MAGIC_CONTINUE everywhere, not just in softmagic
  * don't print descriptions for NAME types when mime.
  * Add --extension to list the known extensions for this file type
    Idea by Andrew J Roazen
  * Bump file search buffer size to 1M.
  * Fix multiple issues with date formats reported by Christoph Biedl:
          - T_LOCAL meaning was reversed
          - Arithmetic did not work
    Also stop adjusting daylight savings for gmt printing.
  * PR/411: Fix memory corruption from corrupt cdf file.
- Refresh and rename patches
  file-5.20-endian.patch becomes file-5.23-endian.patch
  file-5.22.dif becomes file-5.23.dif
  Refresh patch file-secure_getenv.patch

- adapt version in specfile to 5.23

OBS-URL: https://build.opensuse.org/request/show/311662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=89
2015-07-05 15:49:54 +00:00
Dr. Werner Fink
63f4fcf1a6 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=117
2015-06-11 15:29:52 +00:00
Dominique Leuenberger
1d730e4912 Accepting request 282049 from Base:System
- Update to file version 5.22 (also related to bsc#913650 and bsc#913651)
  * add indirect relative for TIFF/Exif
  * restructure elf note printing to avoid repeated messages
  * add note limit, suggested by Alexander Cherepanov
  * Bail out on partial pread()'s (Alexander Cherepanov)
  * Fix incorrect bounds check in file_printable (Alexander Cherepanov)
  * PR/405: ignore SIGPIPE from uncompress programs
  * change printable -> file_printable and use it in
    more places for safety
  * in ELF, instead of "(uses dynamic libraries)" when PT_INTERP
    is present print the interpreter name.
- Patch file-5.18-elf.dif is modified and renamed to file-5.22-elf.dif
- Patch file-5.20.dif s modified and renamed to file-5.22.dif

- adapt version in specfile to 5.22

OBS-URL: https://build.opensuse.org/request/show/282049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=88
2015-01-30 05:01:10 +00:00
Dr. Werner Fink
310e30d633 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=115
2015-01-20 11:12:01 +00:00
Dr. Werner Fink
5b74ae865d .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=114
2015-01-20 08:47:08 +00:00
Dr. Werner Fink
8afde8ad09 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=113
2015-01-20 08:00:50 +00:00
Dominique Leuenberger
d0b5121b3c Accepting request 266113 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/266113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=87
2014-12-23 11:33:04 +00:00
Stephan Kulow
976fd89006 Accepting request 265980 from home:msmeissn:branches:Base:System
- build with PIE

OBS-URL: https://build.opensuse.org/request/show/265980
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=111
2014-12-22 07:33:19 +00:00
Stephan Kulow
b4e9ba4803 Accepting request 265566 from Base:System
- Drop patch file-5.20-CVE-2014-3710.patch as now part of upstream 
- Update to file version 5.21
  * Fix CVE-2014-8116 and CVE-2014-8117 (bsc#910252 and bsc#910253)
  * there was an incorrect free in magic_load_buffers()
  * there was an out of bounds read for some pascal strings
  * there was a memory leak in magic lists
  * don't interpret strings printed from files using the current
    locale, convert them to ascii format first.
  * there was an out of bounds read in elf note reads
  * fix MacOS/X locale.h vs. xlocale.h issues

- Add patch file-5.20-CVE-2014-3710.patch to fic bsc#902367
  CVE-2014-3710: file: out-of-bounds read in elf note headers    

- adapt version in specfile to 5.21

OBS-URL: https://build.opensuse.org/request/show/265566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=86
2014-12-21 10:51:04 +00:00
Dr. Werner Fink
dc28915dfd .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=109
2014-12-17 13:19:41 +00:00
Stephan Kulow
c1333c39fb Accepting request 255754 from Base:System
- Update to file version 5.20
  * recognize encrypted CDF documents
  * add magic_load_buffers from Brooks Davis
  * add thumbs.db support
- Remove file-5.07-iso9660.dif as now upstream 
- Remove file-5.19-gdbm.patch as now upstream 
- Adapt and rename file-5.18-endian.patch to file-5.20-endian.patch
- Adapt and rename file-5.19.dif file-5.20.dif

- adapt version in specfile to 5.20

OBS-URL: https://build.opensuse.org/request/show/255754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=85
2014-10-15 14:19:43 +00:00
Dr. Werner Fink
c2398250fd .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=107
2014-10-13 13:19:46 +00:00
Dr. Werner Fink
09679e007f Update from 5.19 up to 5.20
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=106
2014-10-13 11:19:07 +00:00
d69f83ae05 Accepting request 245165 from Base:System
-  correctly identify GDBM files created by libgdbm4 [bnc#888308]
  * add file-5.19-gdbm.patch (forwarded request 245157 from pgajdos)

OBS-URL: https://build.opensuse.org/request/show/245165
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=83
2014-08-20 08:50:41 +00:00
Dr. Werner Fink
dbb1d2bc11 Accepting request 245157 from home:pgajdos
-  correctly identify GDBM files created by libgdbm4 [bnc#888308]
  * add file-5.19-gdbm.patch

OBS-URL: https://build.opensuse.org/request/show/245157
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=104
2014-08-19 10:35:12 +00:00
Dr. Werner Fink
82908c69bc .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=103
2014-08-18 17:05:56 +00:00
Dr. Werner Fink
d26365c941 Accepting request 245102 from home:fcrozat:branches:Base:System
- Add obsoletes/provides to baselibs.conf.

OBS-URL: https://build.opensuse.org/request/show/245102
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=102
2014-08-18 16:46:22 +00:00
Stephan Kulow
83d4e71475 Accepting request 238593 from Base:System
- Update to file version 5.19
  * Misc buffer overruns and missing buffer size tests in cdf parsing
    (Francisco Alonso, Jan Kaluza)
  * Enforce limit of 8K on regex searches that have no limits
  * Allow the l modifier for regex to mean line count. Default
    to byte count. If line count is specified, assume a max
    of 80 characters per line to limit the byte count.
  * Don't allow conversions to be used for dates, allowing
    the mask field to be used as an offset.
  * Make the range operator limit the length of the
    regex search.
  * PR/347: Windows fixes
  * PR/352: Hangul word processor recognition
  * PR/354: Encoding irregularities in text files
  * Fix uninitialized title in CDF files (Jan Kaluza)
  * PR/351: Fix compilation of empty files 
  * Fix integer formats: We don't specify 'l' or
    'h' and 'hh' specifiers anymore, only 'll' for
    quads and nothing for the rest. This is so that
    magic writing is simpler.
  * PR/341: Jan Kaluza, fix memory leak
  * PR/342: Jan Kaluza, fix out of bounds read
  * Fix issue with long formats not matching fmtcheck
- Rename and change patch file-5.14-misc.dif to file-5.19-misc.dif
- Rename and change patch file-5.14-printf.dif to file-5.19-printf.dif 
- Rename and change patch file-5.07-biorad.dif to file-5.19-biorad.dif
- Rename and change patch file-5.19.dif to file-5.17.dif
- Rename and change patch file-4.24-cromfs.dif to file-5.19-cromfs.dif
- Rename and change patch file-4.24-solv.dif to file-5.19-solv.dif
- Rename and change patch file-5.12-zip2.0.dif to file-5.19-zip2.0.dif

OBS-URL: https://build.opensuse.org/request/show/238593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=82
2014-06-26 13:07:11 +00:00
Dr. Werner Fink
b9a1f54529 Bugfix version update
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=100
2014-06-25 09:29:02 +00:00
Dr. Werner Fink
95f0e2099c Bugfix version update
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=99
2014-06-25 09:07:53 +00:00
Stephan Kulow
09b98fd663 Accepting request 233546 from Base:System
- file-secure_getenv.patch use secure_getenv only as we 
  can't know in which context the shared library is used. (forwarded request 233200 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/233546
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=81
2014-05-22 18:37:58 +00:00
5da5ce6658 Accepting request 233200 from home:elvigia:branches:Base:System
- file-secure_getenv.patch use secure_getenv only as we 
  can't know in which context the shared library is used.

OBS-URL: https://build.opensuse.org/request/show/233200
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=97
2014-05-12 08:47:59 +00:00
Stephan Kulow
b0efabebed Accepting request 229009 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/229009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=80
2014-04-06 07:56:11 +00:00
Dr. Werner Fink
b173abb353 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=95
2014-03-28 10:32:53 +00:00
Stephan Kulow
1bd77160d0 Accepting request 226461 from Base:System
- Add patch 
  0001-off-by-one-in-out-of-bounds-calculations-Jan-Kaluza.patch
  to finally fix bnc#866750

- adapt version in specfile to 5.17

OBS-URL: https://build.opensuse.org/request/show/226461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=79
2014-03-18 12:37:04 +00:00
Dr. Werner Fink
d1e261c955 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=93
2014-03-17 14:05:11 +00:00
Dr. Werner Fink
1c9c03093f .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=92
2014-03-17 13:34:26 +00:00
Dr. Werner Fink
46a931ab39 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=91
2014-03-17 13:31:09 +00:00
Tomáš Chvátal
2086a708f0 Accepting request 223729 from Base:System
fix python-magic, 5.17. links to file which was changed without branching (forwarded request 223584 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/223729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=78
2014-02-28 15:22:03 +00:00
a31ba5780b Accepting request 223584 from home:AndreasStieger:branches:Base:System
fix python-magic, 5.17. links to file which was changed without branching

OBS-URL: https://build.opensuse.org/request/show/223584
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=89
2014-02-24 16:31:12 +00:00
Dr. Werner Fink
04e7c34987 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=88
2014-02-18 10:22:22 +00:00
Stephan Kulow
599e26a4c8 Accepting request 209187 from Base:System
- Update to file version 5.16 (bug fix release)
  * always leave magic file loaded, don't unload for magic_check, etc.
  * fix default encoding to binary instead of unknown which broke recently
  * handle empty and one byte files, less specially so that
    --mime-encoding does not break completely.
  * fix erroneous non-zero exit code from non-existant file and message
  * add CDF MSI file detection (Guy Helmer)

- Make it ready for file 5.16

- Make it ready for file 5.15

OBS-URL: https://build.opensuse.org/request/show/209187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=77
2013-12-05 05:54:33 +00:00
Dr. Werner Fink
352f168412 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=86
2013-12-02 11:33:34 +00:00
Stephan Kulow
b4f5198b54 Accepting request 205819 from Base:System
- Set RPM groups (forwarded request 205655 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/205819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=76
2013-11-05 12:52:29 +00:00
Dr. Werner Fink
9fcaee0e0e Accepting request 205655 from home:jengelh:branches:Base:System
- Set RPM groups

OBS-URL: https://build.opensuse.org/request/show/205655
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=84
2013-11-05 11:21:24 +00:00
Stephan Kulow
ce1df4d668 Accepting request 201588 from Base:System
- Add changes of Andreas Stieger 

- Update to file version 5.15 (bug fix release, no new featuress)
  * Don't mix errors and regular output if there was an error
  * in magic_descriptor() don't close the file and try to restore
    its position
  * Don't treat magic as an error if offset was past EOF (Christoph Biedl)
  * Fix spacing issues in softmagic and elf (Jan Kaluza)
  * Fix segmentation fault with multiple magic_load commands.
  * The way "default" was implemented was not very useful because
    the "if something was printed at that level" was not easily
    controlled by the user, and the format was bound to a string
    which is too restrictive. Add a "clear" for that level keyword
    and make "default" void.
  * disallow strength setting in "name" entries
- Adjust for upstream changes:
  * file-5.14-tex.dif
  * file-5.07-elf.dif
  * file-5.12-ocloexec.patch
  * file-5.12-nitpick.dif
  * file-5.13.dif
- Drop patches, applied upstream:
  * file-5.13-whitespace.patch
  * elf-invalid-byte-order.patch

 
- add file-5.15-clear-invalid.patch to fix an invalid format

- Make if ready for file 5.15

OBS-URL: https://build.opensuse.org/request/show/201588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=75
2013-10-02 06:48:16 +00:00
Dr. Werner Fink
802ab0971b .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=82
2013-10-01 10:43:52 +00:00
Dr. Werner Fink
80982d8bae .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=81
2013-09-30 14:38:27 +00:00
Dr. Werner Fink
f1b1ded075 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=80
2013-09-30 14:29:55 +00:00
Stephan Kulow
1f243479f0 Accepting request 176637 from Base:System
- elf-invalid-byte-order.patch: remove bogus "invalid byte order" from elf
  magic (forwarded request 176595 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/176637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=73
2013-05-27 08:18:38 +00:00
Dr. Werner Fink
a2f72e5c6a Accepting request 176595 from home:Andreas_Schwab:Factory
- elf-invalid-byte-order.patch: remove bogus "invalid byte order" from elf
  magic

OBS-URL: https://build.opensuse.org/request/show/176595
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=78
2013-05-27 07:34:02 +00:00
Dr. Werner Fink
01f3d0efac Accepting request 176585 from home:Andreas_Schwab:Factory
- file-5.13-whitespace.patch: remove extra whitespace in ELF magic, breaks
  libtool

OBS-URL: https://build.opensuse.org/request/show/176585
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=77
2013-05-26 09:33:29 +00:00
Stephan Kulow
bae4039cd4 Accepting request 162084 from Base:System
- Refresh patches and remove the visibility patch that I
 upstreamed few releases ago in a different form. (forwarded request 161841 from WernerFink)

OBS-URL: https://build.opensuse.org/request/show/162084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=72
2013-04-03 10:50:03 +00:00
44bc099863 Accepting request 161841 from home:elvigia:branches:Base:System
- Refresh patches and remove the visibility patch that I
 upstreamed few releases ago in a different form.

OBS-URL: https://build.opensuse.org/request/show/161841
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=75
2013-04-02 09:14:57 +00:00
Stephan Kulow
556d8dd4c2 Accepting request 160568 from Base:System
- Update to file version 5.14 (also mainly bug fixes)
  * fix recursive magic separator printing
  * limit recursion level for mget
  * fix pread() related breakage in cdf
  * handle offsets properly in recursive "use" 
- Remove patch file-5.13-return.patch

OBS-URL: https://build.opensuse.org/request/show/160568
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=71
2013-03-24 20:32:29 +00:00
Dr. Werner Fink
ea3cad28d2 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=73
2013-03-22 10:16:05 +00:00
Stephan Kulow
cd81e3a7f7 Accepting request 158645 from Base:System
- Run pre_checkin.sh

OBS-URL: https://build.opensuse.org/request/show/158645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=70
2013-03-12 13:58:49 +00:00
Ismail Dönmez
9274ec1c09 - Run pre_checkin.sh
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=71
2013-03-12 10:37:57 +00:00
Stephan Kulow
5e2258d6dc Accepting request 156456 from Base:System
- Add patch file-5.13-return.patch: avoid doubled return

- Update to file version 5.13 (mainly bug fixes)
  * add elf reading of debug info to determine if file is stripped
  * use pread()
  * change mime description size from 64 to 80 to accommodate OOXML.
  * Warn about inconsistent continuation levels.
  * Change fsmagic to add a space after it prints.
  * Make getline public so that file can link against it.
    Perhaps it is better to rename it, or hide it differently.
    Fixes builds on platforms that do not provide it.
  * Add SuS d{,1,2,4,8}, u{,1,2,4,8} and document
    what long, int, short, etc is (Guy Harris)
  * add magic_version function and constant
  * Redo memory allocation and de-allocation.
    (prevents double frees on non mmap platforms)
  * Fix bug with name/use having to do with passing
    found state from the parent to the child and back.

OBS-URL: https://build.opensuse.org/request/show/156456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=69
2013-03-01 06:17:35 +00:00
Dr. Werner Fink
91d999ffc8 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=69
2013-02-26 17:34:16 +00:00
Dr. Werner Fink
a9f63548ad .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=68
2013-02-22 10:23:45 +00:00
Dr. Werner Fink
0a562d7faa .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=67
2013-02-22 10:15:52 +00:00
Stephan Kulow
be341ffbca Accepting request 155787 from Base:System
- Use %libname macro and make that file-magic obsoletes libmagic-data
  compare with bnc# 804323 to avoid trouble with interim package name

OBS-URL: https://build.opensuse.org/request/show/155787
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=68
2013-02-19 15:17:27 +00:00
Dr. Werner Fink
711587eea6 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=65
2013-02-19 09:07:29 +00:00
Stephan Kulow
08dbf701a4 Accepting request 149700 from Base:System
- Make if build on ppc64, that is re-add the configure check for
  sizeof long long otherwise readelf will fail on ppc64

- Update to file version 5.12
  * Warn about inconsistent continuation levels.
  * Change fsmagic to add a space after it prints.
  * Make getline public so that file can link against it.
    Perhaps it is better to rename it, or hide it differently.
    Fixes builds on platforms that do not provide it.
  * Add SuS d{,1,2,4,8}, u{,1,2,4,8} and document
    what long, int, short, etc is (Guy Harris)
  * add magic_version function and constant
  * Redo memory allocation and de-allocation.
    (prevents double frees on non mmap platforms)
  * Fix bug with name/use having to do with passing
    found state from the parent to the child and back.
  * Only print elf capabilities for archs we know (Jan Kaluza)
  * Add "name" and "use" file types in order to look
    inside mach-o files.
  * add string/T (Jan Kaluza)
  * search for $HOME/.magic.mgc if it is there first
  * fix reads from a pipe, and preserve errno
  * use ctime_r, asctime_r
  * Fixes for indirect offsets to handle apple disk formats
- Also includes our extfs-minix patch

OBS-URL: https://build.opensuse.org/request/show/149700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=67
2013-01-29 05:55:47 +00:00
Dr. Werner Fink
41ddf76a78 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=63
2013-01-23 13:01:45 +00:00
Dr. Werner Fink
b550ce4b91 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=62
2013-01-23 08:41:15 +00:00
Dr. Werner Fink
05ae747d73 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=61
2013-01-22 16:26:16 +00:00
Dr. Werner Fink
1005540c54 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=60
2013-01-22 16:20:07 +00:00
Dr. Werner Fink
d8fc029399 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=59
2013-01-22 16:19:49 +00:00
Dr. Werner Fink
a71f47f70f .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=58
2013-01-22 16:19:33 +00:00
Stephan Kulow
b832e752e9 Accepting request 143281 from Base:System
- Add file-5.11-extfs-minix.dif: Change detection order of ext2/3/4
  fs and minix to avoid the for the free inode numbers 4991,5007,
  9320,9336 and multiple of 65536 the ext2/3/4 fs will be detected
  as minix fs (bnc#788435)

OBS-URL: https://build.opensuse.org/request/show/143281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=65
2012-11-28 09:18:49 +00:00
Dr. Werner Fink
79683d31d8 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=56
2012-11-27 17:24:28 +00:00
Dr. Werner Fink
055a0fb78f .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=55
2012-11-26 15:30:11 +00:00
Stephan Kulow
0540d1bf19 revert again
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=64
2012-11-03 07:31:09 +00:00
Stephan Kulow
3c4dbec940 disable mkbaselibs for the moment
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=63
2012-11-03 07:26:27 +00:00
Stephan Kulow
4e1d4c711f Accepting request 139772 from Base:System
!!!! MAKE SURE TO CHANGE PREINSTALL AFTER ACCEPTING !!!

- implement shared library policy for libmagic1 (forwarded request 139753 from coolo)

OBS-URL: https://build.opensuse.org/request/show/139772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=62
2012-11-02 15:13:39 +00:00
Andreas Jaeger
c4090a8d9b Accepting request 139753 from home:coolo:branches:openSUSE:Factory
!!!! MAKE SURE TO CHANGE PREINSTALL AFTER ACCEPTING !!!

- implement shared library policy for libmagic1

OBS-URL: https://build.opensuse.org/request/show/139753
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=53
2012-10-30 13:31:55 +00:00
Stephan Kulow
7c83bd63ad Accepting request 134825 from Base:System
- Add small patch to make clear if file follows symbloc links or not
  as tihs depend on the environment variable POSIXLY_CORRECT
- Remove the README file as this is for packagers and not for users

OBS-URL: https://build.opensuse.org/request/show/134825
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=61
2012-09-23 19:16:00 +00:00
Dr. Werner Fink
5d850c9259 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=51
2012-09-18 11:01:25 +00:00
Ismail Dönmez
8446c10a6d Accepting request 131364 from Base:System
add documentation (bnc#776532) (forwarded request 131178 from yecril71pl)

OBS-URL: https://build.opensuse.org/request/show/131364
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=60
2012-08-26 09:31:23 +00:00
e521a54b32 Accepting request 131178 from home:yecril71pl:branches:Base:System
add documentation (bnc#776532)

OBS-URL: https://build.opensuse.org/request/show/131178
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=49
2012-08-22 14:36:44 +00:00
Cristian Rodríguez
82b31cf6f7 Accepting request 130753 from home:elvigia:branches:Base:System
- Use the OS's byteswapping routines.

OBS-URL: https://build.opensuse.org/request/show/130753
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=48
2012-08-16 17:40:37 +00:00
Stephan Kulow
18e01637e8 Accepting request 126168 from Base:System
license update: BSD-2-Clause
SPDX format (forwarded request 126065 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/126168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=59
2012-06-26 15:45:31 +00:00
Stephan Kulow
dcff46b5e4 Accepting request 126065 from home:babelworx:ldig:branches:Base:System
license update: BSD-2-Clause
SPDX format

OBS-URL: https://build.opensuse.org/request/show/126065
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=46
2012-06-26 12:34:09 +00:00
Stephan Kulow
088989ae93 Accepting request 111389 from Base:System
Fix build - run pre_checkin.sh (forwarded request 111313 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/111389
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=57
2012-04-02 08:43:56 +00:00
56f87dedd7 Accepting request 111313 from home:a_jaeger:FactoryFix
Fix build - run pre_checkin.sh

OBS-URL: https://build.opensuse.org/request/show/111313
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=44
2012-03-27 11:52:29 +00:00
Stephan Kulow
7831bfcb6a Accepting request 110835 from Base:System
- Update to file version 5.11 (bnc#753303, CVE-2012-1571)
  * Fix CDF parsing issues found by CERT's fuzzing tool (Will Dormann)

- Update to file version 5.10

OBS-URL: https://build.opensuse.org/request/show/110835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=56
2012-03-27 06:56:24 +00:00
Dr. Werner Fink
3b15eca50b .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=42
2012-03-23 14:41:56 +00:00
Dr. Werner Fink
72479e42c8 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=41
2012-03-23 14:41:17 +00:00
Stephan Kulow
21b8cd851e Accepting request 100249 from Base:System
- Update to file version 5.10 
  * Add magic for /usr/bin/env Perl scripts
  * Weaken generic script magic to avoid clashing with
    language-specific magic.
  * Remove hardwired token finding (names.h), turning it into soft
    magic. Patterns are either anchored regexs or search/8192. English
    language detection and PL/1 detection have been removed as they
    were too fragile. -e tokens is still accepted for backwards
    compatibility.
  * Move 3ds patterns (which are commented out anyway) into autodesk
    (they were, oddly, in c-lang).
  * Tweak strength of generic hash-bang detectors to be less than
    specific ones.
  * Make an inconsistent description of Python scripts consistent.
  * Python3 binding fixes from Kelly Anderson
  * If a string type magic entry is marked as text or binary
    only match text files against text entries and binary
    files against binary entries.
  * If the application name is not set in a cdf file, try to see
    if it has a directory with the application name on it.
  * Fix ELF lseek(2) madness. Inspired by PR/134 by Jan Kaluza
  * Don't use variable string formats.

OBS-URL: https://build.opensuse.org/request/show/100249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=55
2012-01-19 08:41:33 +00:00
Dr. Werner Fink
6e210c9c72 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=38
2012-01-16 14:23:30 +00:00
Stephan Kulow
3b8607f73b Accepting request 90163 from Base:System
- libmagic: use O_CLOEXEC where needed, as there is no warranty 
  that calling applications will not fork() and we end up leaking 
  file descriptors to their child processes. (forwarded request 90162 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/90163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=54
2011-11-07 13:14:51 +00:00
Cristian Rodríguez
66fb49e662 Accepting request 90162 from home:elvigia:branches:Base:System
- libmagic: use O_CLOEXEC where needed, as there is no warranty 
  that calling applications will not fork() and we end up leaking 
  file descriptors to their child processes.

OBS-URL: https://build.opensuse.org/request/show/90162
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=36
2011-11-05 20:03:46 +00:00
Lars Vogdt
537694d275 Accepting request 86051 from Base:System
add libtool as buildrequires so we no longer rely on libtool in the project config of factory - it's only needed by <10% of all packages (forwarded request 86006 from coolo)

OBS-URL: https://build.opensuse.org/request/show/86051
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=52
2011-10-03 07:17:48 +00:00
3378b68bdf Accepting request 86006 from home:coolo:removelibtool
add libtool as buildrequires so we no longer rely on libtool in the project config of factory - it's only needed by <10% of all packages

OBS-URL: https://build.opensuse.org/request/show/86006
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=34
2011-10-02 14:37:56 +00:00
Sascha Peilicke
e76b804548 Accepting request 83731 from Base:System
- Apply packaging guidelines (remove redundant/obsolete
  tags/sections from specfile, etc.) (forwarded request 83513 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/83731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=51
2011-09-20 10:54:03 +00:00
Stephan Kulow
52c8777133 Accepting request 83513 from home:jengelh:bl-f
- Apply packaging guidelines (remove redundant/obsolete
  tags/sections from specfile, etc.)

OBS-URL: https://build.opensuse.org/request/show/83513
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=32
2011-09-20 07:47:54 +00:00
Sascha Peilicke
0362d5b4f6 Autobuild autoformatter for 80032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=50
2011-08-29 12:05:23 +00:00
OBS User buildservice-autocommit
11364c91a3 Updating link to change in openSUSE:Factory/file revision 50.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=366d812584223783e91a0dba75f396bd
2011-08-29 12:05:23 +00:00
Sascha Peilicke
f5a18d87d1 Accepting request 80032 from Base:System
- ran pre_checkin.sh

OBS-URL: https://build.opensuse.org/request/show/80032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=49
2011-08-29 12:05:13 +00:00
Stephan Kulow
01046e65d5 - ran pre_checkin.sh
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=30
2011-08-29 11:17:37 +00:00
Sascha Peilicke
d7d25c32a9 Autobuild autoformatter for 79591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=48
2011-08-24 09:33:53 +00:00
OBS User buildservice-autocommit
948ba71d21 Updating link to change in openSUSE:Factory/file revision 48.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=ff8fed18457a70b1a7ed20dc124d195f
2011-08-24 09:33:53 +00:00
Sascha Peilicke
3bcfcc6a72 Accepting request 79591 from Base:System
- Update to file version 5.08
  * Fix detection of Zip files (Mantis #128).
  * Make some minor improvements to file(1).
  * Rename MIME types for filesystem objects for consistency with
    xdg-utils. Typically this means that application/x-foo becomes
    inode/foo, but some names also change slightly, e.g.
    application/x-character-device becomes inode/chardevice.

OBS-URL: https://build.opensuse.org/request/show/79591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=47
2011-08-24 09:33:42 +00:00
Dr. Werner Fink
5b5a4f8c55 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=28
2011-08-23 14:56:34 +00:00
Sascha Peilicke
06b8035c24 Autobuild autoformatter for 76401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=46
2011-07-19 11:35:44 +00:00
OBS User buildservice-autocommit
299510245e Updating link to change in openSUSE:Factory/file revision 46.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=e2c26e6b5d06fa61d75bec40f02711b8
2011-07-19 11:35:44 +00:00
Sascha Peilicke
323ae19b9f Accepting request 76401 from Base:System
- Fixed regression on zip archive detection (bnc#706310)

OBS-URL: https://build.opensuse.org/request/show/76401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=45
2011-07-19 11:35:35 +00:00
Dr. Werner Fink
7fece2bee2 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=26
2011-07-18 10:03:46 +00:00
3747243ebd revert
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=25
2011-07-08 16:12:49 +00:00
09b7796555 - make it noarch
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=24
2011-07-08 16:11:05 +00:00
Sascha Peilicke
9272e857fc Autobuild autoformatter for 74709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=44
2011-06-30 11:08:33 +00:00
OBS User buildservice-autocommit
1eca95103c Updating link to change in openSUSE:Factory/file revision 44.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=da575a1834ee647f51ce4ec066fd585f
2011-06-30 11:08:33 +00:00
Sascha Peilicke
f51aa5ec22 Accepting request 74709 from Base:System
Update to file version 5.07

OBS-URL: https://build.opensuse.org/request/show/74709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=43
2011-06-30 11:08:09 +00:00
Dr. Werner Fink
2902fe7c7c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=22
2011-06-14 17:53:47 +00:00
523de0edc0 Autobuild autoformatter for 55503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=41
2010-12-10 14:35:46 +00:00
1eb59b9e57 Accepting request 55503 from Base:System
Accepted submit request 55503 from user coolo

OBS-URL: https://build.opensuse.org/request/show/55503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=40
2010-12-10 14:35:40 +00:00
Dr. Werner Fink
e4a10c752f .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=20
2010-11-24 12:22:14 +00:00
Philipp Thomas
0df72c03e9 Accepting request 52279 from home:elvigia:branches:Base:System
Patch is OK but please also try to get it upstream

OBS-URL: https://build.opensuse.org/request/show/52279
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=19
2010-11-08 12:55:33 +00:00
OBS User autobuild
c2392ae129 Accepting request 43446 from Base:System
Copy from Base:System/file based on submit request 43446 from user coolo

OBS-URL: https://build.opensuse.org/request/show/43446
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=39
2010-07-20 18:14:52 +00:00
OBS User autobuild
4b544c9fac Accepting request 43446 from Base:System
checked in (request 43446)

OBS-URL: https://build.opensuse.org/request/show/43446
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=17
2010-07-20 18:14:52 +00:00
Stephan Kulow
b262875e22 Accepting request 42125 from home:jengelh:smp
Copy from home:jengelh:smp/file via accept of submit request 42125 revision 3.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/42125
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=16
2010-06-28 21:26:43 +00:00
OBS User autobuild
2ec9dc7516 Accepting request 38235 from Base:System
Copy from Base:System/file based on submit request 38235 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/38235
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=36
2010-04-23 17:10:34 +00:00
OBS User buildservice-autocommit
937d5189f7 Updating link to change in openSUSE:Factory/file revision 36.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=f46bef8d7dd0208066bde45b81776627
2010-04-23 17:10:34 +00:00
OBS User autobuild
e9b8909a67 Accepting request 38235 from Base:System
checked in (request 38235)

OBS-URL: https://build.opensuse.org/request/show/38235
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=15
2010-04-23 17:10:33 +00:00
Dr. Werner Fink
c5eb2dbe67 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=14
2010-04-19 14:19:24 +00:00
OBS User autobuild
11be9e2a0f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=35 2010-03-18 14:45:25 +00:00
OBS User buildservice-autocommit
3475c53200 Updating link to change in openSUSE:Factory/file revision 35.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=6480ea3a33d6572d54a74a8ca7e9391e
2010-03-18 14:45:25 +00:00
OBS User autobuild
eb81384327 Accepting request 31647 from Base:System
Copy from Base:System/file based on submit request 31647 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/31647
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=34
2010-02-11 18:05:27 +00:00
OBS User autobuild
7c51d4fff8 checked in (request 31647)
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=12
2010-02-11 18:05:27 +00:00
Dr. Werner Fink
1bd4433bad .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=11
2010-02-05 16:16:36 +00:00
Dr. Werner Fink
f3cea8b37b .
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=10
2010-02-05 16:16:27 +00:00
OBS User autobuild
d51497340b Accepting request 26690 from Base:System
Copy from Base:System/file based on submit request 26690 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/26690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=33
2009-12-16 07:52:53 +00:00
OBS User buildservice-autocommit
207c922c0c Updating link to change in openSUSE:Factory/file revision 33.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=9caed913911eb02fc542f4c7ddc9dd30
2009-12-16 07:52:53 +00:00
OBS User autobuild
993b3e3977 checked in
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=9
2009-12-16 07:52:50 +00:00
Dr. Werner Fink
6ad8e90ff6 Accepting request 26330 from home:jengelh:branches:Base:System
Copy from home:jengelh:branches:Base:System/file via accept of submit request 26330 revision 2.
Request was accepted with message:

OBS-URL: https://build.opensuse.org/request/show/26330
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=8
2009-12-14 08:25:27 +00:00
OBS User autobuild
cc4a87e313 Accepting request 24415 from Base:System
Copy from Base:System/file based on submit request 24415 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/24415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=32
2009-11-16 08:55:24 +00:00
OBS User autobuild
487572298f Accepting request 23284 from Base:System
Copy from Base:System/file based on submit request 23284 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/23284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=31
2009-10-28 00:34:16 +00:00
OBS User unknown
53d0a1203c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=29 2009-06-09 15:40:26 +00:00
OBS User unknown
97accbef3f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=28 2009-06-05 21:02:37 +00:00
OBS User unknown
5dba71d4fe OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=27 2009-05-15 20:42:44 +00:00
OBS User unknown
e1816a1fdf OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=26 2009-05-06 16:38:39 +00:00
OBS User unknown
4952c10f11 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=25 2009-01-29 22:06:12 +00:00
OBS User unknown
b788cf6f34 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=24 2008-12-15 11:29:51 +00:00
OBS User unknown
85b7e64ccc OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=23 2008-11-28 13:59:05 +00:00
OBS User unknown
654950cecb OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=22 2008-11-02 14:40:05 +00:00
OBS User unknown
38814ab036 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=21 2008-08-21 16:07:05 +00:00
OBS User unknown
d2555df7ee OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=20 2008-05-06 20:19:07 +00:00
OBS User unknown
82983ef878 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=19 2008-04-25 13:11:10 +00:00
OBS User unknown
ea531054fa OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=18 2008-04-20 18:36:09 +00:00
OBS User unknown
b8efb157a3 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=17 2008-04-14 17:32:36 +00:00
OBS User unknown
9b4f7de1be OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=16 2008-04-10 12:12:56 +00:00
OBS User unknown
9ffb00554c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=15 2008-03-21 00:40:23 +00:00
OBS User unknown
920c9bc5cf OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=14 2008-01-29 00:36:02 +00:00
OBS User unknown
8a74a44adc OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=13 2008-01-17 21:50:55 +00:00
OBS User unknown
8305bf534a OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=12 2007-12-05 23:11:22 +00:00
OBS User unknown
e4bd01ee6a OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=11 2007-08-31 16:40:51 +00:00
OBS User unknown
0018b1e798 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=10 2007-08-29 20:26:43 +00:00
OBS User unknown
f7a0752200 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=9 2007-05-24 22:40:26 +00:00
OBS User unknown
bfeeb16e55 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=8 2007-05-21 10:44:12 +00:00
OBS User unknown
65d4672eb5 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=7 2007-05-17 09:31:52 +00:00
OBS User unknown
9a0025aea1 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=6 2007-04-16 22:31:29 +00:00
OBS User unknown
268b9d3455 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=5 2007-04-12 15:22:48 +00:00
OBS User unknown
9c616ea361 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=4 2007-03-26 23:29:29 +00:00
OBS User unknown
5887f93111 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=3 2007-03-22 11:06:16 +00:00
OBS User unknown
6bf87499ae OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=2 2007-03-07 00:46:08 +00:00
OBS User unknown
e7c6057fc6 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=1 2006-12-18 23:15:53 +00:00
3 changed files with 46 additions and 0 deletions

35
file-seccomp.patch Normal file
View File

@ -0,0 +1,35 @@
From 3cb58bb51d47b8e61611350324b751eaa46166a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= <crrodriguez@opensuse.org>
Date: Fri, 8 Nov 2024 08:28:12 +0100
Subject: [PATCH] Allow getrandom, rseq, and prctl for glibc malloc
glibc uses getrandom in malloc, rseq, and prctl in various other
places, allow these syscalls in seccomp filter.
```
export GLIBC_TUNABLES=glibc.mem.decorate_maps=1
make check
```
Signed-off-by: Werner Fink <werner@suse.de>
---
src/seccomp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/seccomp.c b/src/seccomp.c
index ce824330..8a2c8a4c 100644
--- a/src/seccomp.c
+++ b/src/seccomp.c
@@ -80,6 +80,9 @@ enable_sandbox(void)
if (ctx == NULL)
return -1;
+ ALLOW_RULE(prctl);
+ ALLOW_RULE(getrandom);
+ ALLOW_RULE(rseq);
ALLOW_RULE(access);
ALLOW_RULE(brk);
ALLOW_RULE(close);
--
2.43.0

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 7 20:11:48 UTC 2024 - Cristian Rodríguez <crrodriguez@opensuse.org>
- file-seccomp.patch: glibc uses getrandom in malloc, rseq and prctl
in various other places, allow these syscalls in seccomp filter.
-------------------------------------------------------------------
Mon Feb 26 09:11:40 UTC 2024 - Dr. Werner Fink <werner@suse.de>

View File

@ -65,6 +65,7 @@ Patch37: file-secure_getenv.patch
Patch39: file-5.28-btrfs-image.dif
# PATCH-FIX-UPSTREAM: Support max time_t on 32bit
Patch42: file-5.45-type_t.dif
Patch43: file-seccomp.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir /etc
%global magicdir %{_datadir}/file
@ -129,6 +130,7 @@ to develop applications that require the magic "file" interface.
%patch -P 37 -p1 -b .getenv
%patch -P 39 -p1 -b .btrfs
%patch -P 0 -b .0
%patch -P 43 -p1 -b .seccomp
test -s src/magic.h.in || cp -p src/magic.h src/magic.h.in
rm -fv src/magic.h
@ -162,6 +164,8 @@ install -s dcore %{buildroot}%{_bindir}
rm -f %{buildroot}%{_libdir}/*.la
%check
# Test if prctl is still allowed by the seccomp filter.
export GLIBC_TUNABLES=glibc.mem.decorate_maps=1
# Standard checks
make check
# Check out that the binary does not bail out:
@ -174,6 +178,7 @@ for dir in %{_bindir} /%{_lib} %{_libdir} ; do
xargs %{buildroot}%{_bindir}/file -m %{buildroot}%{_miscdir}/magic
done
unset LD_LIBRARY_PATH
unset GLIBC_TUNABLES
%post -n %libname -p /sbin/ldconfig