From owner-freebsd-current@FreeBSD.ORG Sun Jun 27 18:52:28 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 529D116A4CE for ; Sun, 27 Jun 2004 18:52:28 +0000 (GMT) Received: from smtp004.bizmail.sc5.yahoo.com (smtp004.bizmail.sc5.yahoo.com [66.163.175.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 4264543D1D for ; Sun, 27 Jun 2004 18:52:28 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@70.240.249.252 with login) by smtp004.bizmail.sc5.yahoo.com with SMTP; 27 Jun 2004 18:52:27 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id E8E5961A2; Sun, 27 Jun 2004 13:52:26 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09350-05; Sun, 27 Jun 2004 13:52:25 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id DADE36140; Sun, 27 Jun 2004 13:52:25 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.12.11/8.12.11) with ESMTP id i5RIqOEX003576; Sun, 27 Jun 2004 13:52:25 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <40DF1768.4060504@alumni.rice.edu> Date: Sun, 27 Jun 2004 13:52:24 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 0.7 (X11/20040624) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org References: <20040627145408.GA71410@stud.fit.vutbr.cz> <20040627170243.GA61973@dragon.nuxi.com> In-Reply-To: <20040627170243.GA61973@dragon.nuxi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: Divacky Roman Subject: Re: Suggest to upgrade some software in base X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jun 2004 18:52:28 -0000 On 06/27/04 12:02, David O'Brien wrote: > On Sun, Jun 27, 2004 at 04:54:08PM +0200, Divacky Roman wrote: >> I digged through our base system and looked for versions of >> contributed soft. I found these program which could (and I think >> should) be easily and painlessly upgraded (before 5.3 as 5-STABLE) >> because they are outdated etc... these are: >> >> file - 3.41 -> 4.09 >> Painless upgrade and the benefit is much newer magic file >> ftp://ftp.astron.com/pub/file/ > > Only semi-painless. The code and how it is built has changed around a > lot, else I would have upgraded it by now. That said, in progress; but > lower priority than my toolchain work. > > And why does this have to happen before 5-STABLE? I can certainly MFC > something like this. Don't import until FILE 4.10 is released. I've submitted a patch to Christos Zoulas for inclusion in 4.10 that *greatly* increases the accuracy of FILE for FreeBSD. As soon as I see FILE 4.10 released (with my patch), I'll be pleading for an import... Included in the patch is correct detection of 4.10+ (4.10 -> __FreeBSD_version = 491000) and printing of the __FreeBSD_version value for executable built on a development branch. Output of the patch for a wide range of test cases: http://www.noacks.org/freebsd/output.txt The submitted patch: http://www.noacks.org/freebsd/readelf.c.diff If you want to run this now (a patch against the version in tree): http://www.noacks.org/freebsd/readelf.c.diff-freebsd Note that the -freebsd version of the patch is functionally the same as the submitted patch but does not contain the updated comments. Jon