Commit Graph

125 Commits

Author SHA256 Message Date
Stephan Kulow
dd55885af4 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
cf53959909 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
c57608e24f 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
fc4f96803d .
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
a6b266b846 .
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
19d3555053 .
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
5cd2177d1d 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
b3622de7cf 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
821c41bb83 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
146944159f 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
449fdf5a68 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
e7e1bc002d 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
98feb59fcf .
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
7c9782d303 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
9e4df1ecfa - 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
55701adc35 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
3ded46da1f .
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
9b2c146719 .
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
1f7ee711fb .
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
2971329f76 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
26268bc6cc .
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
159d195648 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
cca3ef80d1 .
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
f00d2cef64 .
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
4c7b148695 .
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
9b30bc723a .
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
6e484d71a6 .
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
5164423db0 .
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
8ba54121cb 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
74162e8377 .
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
8caf3e08ec .
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
ad754a758c 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
e74b54faaf 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
9dc7f8066e 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
82cda77173 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
31e963fce7 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
f342266acc .
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
3139d4757d 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
04b487154d 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
f38e4ada01 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
697c086d2f 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
8b755b279c 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
f8b7f6f092 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
5daf2a4506 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
372c31fd2e 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
7fcd4cceae .
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
1c775dbaa8 .
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
47c4d36bf9 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
749d5d5736 .
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
d27cd954c9 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