Package: file
Version: 4.15-2
Severity: normal
File: /usr/share/file/magic
Tags: patch

Hi,
I Have the following entry in my local magic file for recognizing
OpenOffice.org2 files:

0       string          PK\003\004\024  
>38     string          application/vnd.        OpenOffice.org2
>>54    string          oasis.opendocument.     
>>>73   string          presentation    Presentation
>>>73   string          spreadsheet     Spreadsheet
>>>73   string          graphics        Graphics
>>>73   string          text            Text Document
>>54    string          sun.xml.base    Database

Not 100% sure that this is correct (as it relies on mimetype being the
very first file in the ZIP archive and also being uncompressed), but it
works fine for all my OpenOffice2 files so far.  Would you consider
adding this to the official magic file?

Best,
  Norbert



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libmagic1 depends on:
ii  libc6                         2.3.5-12   GNU C Library: Shared libraries an
ii  zlib1g                        1:1.2.3-9  compression library - runtime

libmagic1 recommends no packages.

Versions of packages file depends on:
ii  libc6                         2.3.5-12   GNU C Library: Shared libraries an
ii  zlib1g                        1:1.2.3-9  compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to