Commit Graph

319 Commits

Author SHA256 Message Date
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
Cristian Rodríguez
77f619935c 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
24abb5f35b 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
9407bf9f3a 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
0dc967bf5c 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
048625f706 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
a73e6937a5 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