From owner-freebsd-arch Sat Aug 31 0:27:15 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34B5937B4D0; Sat, 31 Aug 2002 00:27:10 -0700 (PDT) Received: from jkh-gw.queasyweasel.com (adsl-64-173-3-158.dsl.sntc01.pacbell.net [64.173.3.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9027943E42; Sat, 31 Aug 2002 00:27:09 -0700 (PDT) (envelope-from jkh@queasyweasel.com) Received: from adsl-64-173-15-99.dsl.sntc01.pacbell.net (jkh@mango.freebsd.com [64.173.15.99]) by jkh-gw.queasyweasel.com (8.12.5/8.12.5) with ESMTP id g7V7QiWh025208; Sat, 31 Aug 2002 00:26:48 -0700 (PDT) (envelope-from jkh@queasyweasel.com) Date: Sat, 31 Aug 2002 00:26:51 -0700 Subject: Re: pkg-routines ignore the recorded md5 checksums Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v543) Cc: Mikhail Teterin , arch@FreeBSD.org, jkh@FreeBSD.org To: Kris Kennaway From: Jordan K Hubbard In-Reply-To: <20020831070918.GA72640@xor.obsecurity.org> Message-Id: <049EDAFB-BCB3-11D6-A85D-0003938C7B7E@queasyweasel.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.543) Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hysterical Raisins. We didn't even think of adding md5 checksums until about a year or so after the pkg_install tools were done, and there was concern at that point that adding another @foo directive would create a set of "new packages" which didn't work with the older package tools. So it was decided to simply make them a special type of comment, which the previous package tools would simply ignore. In hindsight, of course... - Jordan On Saturday, August 31, 2002, at 12:09 AM, Kris Kennaway wrote: > On Thu, Aug 29, 2002 at 08:54:22PM -0700, Jordan K Hubbard wrote: >> I'm not sure these diffs are entirely correct. For one thing, they >> make >> some rather broad assumptions about the contents of @comment fields, >> MD5 checksums being only *one* possible type of data stored there. >> Also, the indentation style doesn't come close to matching that of the >> surrounding code. :) > > Why are md5 checksums stored in @comment in the first place, instead > of in a @md5 directive? > > Kris > -- Jordan K. Hubbard Engineering Manager, BSD technology group Apple Computer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message