Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51735 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82258 invoked from network); 21 Mar 2011 17:08:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Mar 2011 17:08:19 -0000 Authentication-Results: pb1.pair.com header.from=ondrej@sury.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ondrej@sury.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sury.org designates 209.85.214.42 as permitted sender) X-PHP-List-Original-Sender: ondrej@sury.org X-Host-Fingerprint: 209.85.214.42 mail-bw0-f42.google.com Received: from [209.85.214.42] ([209.85.214.42:36551] helo=mail-bw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/14-50427-106878D4 for ; Mon, 21 Mar 2011 12:08:18 -0500 Received: by bwz13 with SMTP id 13so5058256bwz.29 for ; Mon, 21 Mar 2011 10:08:15 -0700 (PDT) Received: by 10.204.141.12 with SMTP id k12mr160478bku.44.1300727212843; Mon, 21 Mar 2011 10:06:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.71.146 with HTTP; Mon, 21 Mar 2011 10:00:44 -0700 (PDT) Date: Mon, 21 Mar 2011 18:00:44 +0100 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: embedded libmagic (from file) From: ondrej@sury.org (=?UTF-8?B?T25kxZllaiBTdXLDvQ==?=) Hi, [I have searched the list and no relevant answer came up, only one unanswered question (*)] I would like to ask whether there is a strong reason to have customized libmagic in the source tree as the only option. I saw the discussion that you want to have embedded magic database, but still I would like to have an option to use system libmagic if available. This is similar to libgd, etc. I know your reasoning and I respect that decision, but still the needs of distributions (and need for longterm security support) raises this as an issue which would be better solved by using system-wide libmagic library. I could hack fileinfo module myself, but I feel that this effort would be better coordinated with upstream if possible. What are your thoughts? Ondrej * - http://marc.info/?l=3Dphp-internals&m=3D117198246420629&w=3D2 --=20 =EF=BB=BFOnd=C5=99ej Sur=C3=BD