From owner-svn-src-head@FreeBSD.ORG Thu Jun 11 06:12:45 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [8.8.178.116]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2C438C76; Thu, 11 Jun 2015 06:12:45 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx2.freebsd.org (Postfix) with ESMTP id C089C1CB4; Thu, 11 Jun 2015 06:12:44 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Message-ID: <557926DC.9090008@FreeBSD.org> Date: Thu, 11 Jun 2015 02:12:44 -0400 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Xin LI , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r284237 - in head: contrib/file contrib/file/doc contrib/file/magic contrib/file/magic/Magdir contrib/file/python contrib/file/src contrib/file/tests lib/libmagic References: <201506101922.t5AJMf27015406@svn.freebsd.org> In-Reply-To: <201506101922.t5AJMf27015406@svn.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 06:12:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 06/10/2015 15:22, Xin LI wrote: > Author: delphij Date: Wed Jun 10 19:22:41 2015 New Revision: > 284237 URL: https://svnweb.freebsd.org/changeset/base/284237 > > Log: MFV r284234: > > Update file to 5.23. ... I found a serious regression with this version, i.e., some long options does not work as intended. --extension works like - --mime-type, --mime-type works like --mime-encoding, etc. When the author added -Z/--uncompress-noreport, forgot to update those offsets, it seems. My patch is available from here: https://github.com/file/file/commit/bda61b688a#commitcomment-11626945 In fact, this is very critical for us because LIB_DEPENDS for ports does not work any more because it uses --mime-type to verify its type. https://svnweb.freebsd.org/ports/head/Mk/Scripts/find-lib.sh?revision=383711&view=markup#l20 Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVeSbcAAoJEHyflib82/FGIGsH/2ihkkDpyyLYxQvK4GhyJJBq Jk5t9v/KEQfrmTdpRAjgjiwjEDdvnNZMKH50rsYutUKVC2qWwq+x7qAUVRzTndqt +H7L+BVPCtTuwzgwDycIHXpwZi/Xzj8Cw32kKCrTvua0/7uL6yoqwpYGkWt8iuk1 pFsJIG08JDQYA8gQWkUyrVidXVw+zf8T5oxljuQXxnH/wrDooHtGTUaXQ3MLPChf Z1DuW+DPVcLqKfiMmelkynYrZEZGIOjlo0cxYOLMdjx7JCpJkIwqckBoPEuxWfsN OzJFVB7YsCJ35dlmgTgbYCVEzJ3DW+/ojj2bqf/mV6Xj+X/l3gud1EZriNq99Ss= =BEky -----END PGP SIGNATURE-----