From owner-freebsd-bugs Wed Aug 23 16:30: 9 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AC83737B50D for ; Wed, 23 Aug 2000 16:30:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA61399; Wed, 23 Aug 2000 16:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from kazak.wmdesign.net (kazak.wmdesign.net [4.19.114.84]) by hub.freebsd.org (Postfix) with ESMTP id 5D53F37B625 for ; Wed, 23 Aug 2000 16:26:35 -0700 (PDT) Received: (from tduffey@localhost) by kazak.wmdesign.net (8.9.3/8.9.3) id SAA65257; Wed, 23 Aug 2000 18:27:53 -0500 (CDT) (envelope-from tduffey) Message-Id: <200008232327.SAA65257@kazak.wmdesign.net> Date: Wed, 23 Aug 2000 18:27:53 -0500 (CDT) From: Thomas Duffey Reply-To: tduffey@kazak.wmdesign.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/20812: Update magic file Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 20812 >Category: misc >Synopsis: Magic file missing EPS binary document support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 23 16:30:02 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Thomas Duffey >Release: FreeBSD 4.1-RELEASE i386 >Organization: WM Design >Environment: FreeBSD 4.1-RELEASE, possibly other branches... >Description: The /usr/share/misc/magic file does not contain information for identifying EPS binary documents. The "file" command identifies such documents as "data" rather than EPS documents. All EPS documents created on the MACs at our location are in this format. >How-To-Repeat: Run "file binary_eps_file.eps". >Fix: Apply the following patch, taken from the Slackware Linux distribution's magic file, to /usr/share/misc/magic or whatever generates this file when building the world. *** NOTE *** If patch does not come through correctly, please refer to http://www.wmdesign.net/~tduffey/magic.diff 3608a3609,3618 > # DOS EPS Binary File Header > # From: Ed Sznyter > 0 belong 0xC5D0D3C6 DOS EPS Binary File > >4 long >0 Postscript starts at byte %d > >>8 long >0 length %d > >>>12 long >0 Metafile starts at byte %d > >>>>16 long >0 length %d > >>>20 long >0 TIFF starts at byte %d > >>>>24 long >0 length %d > >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message