From owner-freebsd-bugs Mon Jul 19 3:20:25 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1164314E57 for ; Mon, 19 Jul 1999 03:20:24 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA39037; Mon, 19 Jul 1999 03:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 19 Jul 1999 03:20:02 -0700 (PDT) Message-Id: <199907191020.DAA39037@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/12554: File to go in /usr/src/usr.bin/file/Magdir/warcraft2 Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/12554; it has been noted by GNATS. From: Sheldon Hearn To: David Bushong Cc: freebsd-gnats-submit@freebsd.org, lyndon@orthanc.ab.ca Subject: Re: bin/12554: File to go in /usr/src/usr.bin/file/Magdir/warcraft2 Date: Mon, 19 Jul 1999 12:15:32 +0200 Hi David, I've looked at the precedent which you offered for having game file(1) formats in the base system. I'm pretty sure that the Infocom file format is used by a game in the base system. I'll tell you what's making my skin crawl, here. I worry about having a hugely bloated src/usr.bin/file/Magdir in our source tree. Now that does seem like a counter-productive paranoia, but I can't shake it. Since file(1) already has a command-line option (-m) for specifying additional magic files, here's what I propose. I'd like to modify file(1) so that it honours an environment variable, perhaps MAGDIRS. The variable includes a colon-separated list of paths to additional magic files. The idea is that your port would include an install-time message that says something like "add MAGDIRS=${PREFIX}/share/misc/magic to /etc/profile so that file(1) will recognize WarCraft2 save files". What do you think? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message