From owner-freebsd-ports@FreeBSD.ORG Wed Dec 6 18:24:19 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2619C16A415 for ; Wed, 6 Dec 2006 18:24:19 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.FreeBSD.org (Postfix) with SMTP id 083CE440C9 for ; Wed, 6 Dec 2006 18:15:00 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 7968 invoked by uid 399); 6 Dec 2006 18:15:01 -0000 Received: from localhost (HELO ?192.168.0.7?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 6 Dec 2006 18:15:01 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <457708A3.3080306@FreeBSD.org> Date: Wed, 06 Dec 2006 10:14:59 -0800 From: Doug Barton Organization: http://www.freebsd.org/ User-Agent: Thunderbird 1.5.0.8 (X11/20061125) MIME-Version: 1.0 To: Ade Lovett References: <17771.24717.95357.989644@jerusalem.litteratus.org> <456B70E9.4030408@FreeBSD.org> <20061204213106.GA42084@atarininja.org> <45749998.3070308@FreeBSD.org> <20061204232125.GA42307@atarininja.org> <790a9fff0612050838s66c655fapfde80d4038f64ca2@mail.gmail.com> <20061205172803.GA51892@atarininja.org> <4575C568.70905@FreeBSD.org> <20061205194146.GC52966@atarininja.org> <20061205203120.GA53894@atarininja.org> <4575EBA8.3020601@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: distfile belongs to? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 18:24:19 -0000 Ade Lovett wrote: > > On Dec 05, 2006, at 13:59 , Doug Barton wrote: > >> Wesley Shields wrote: >>>> @comment DISTFILE:$filename:$size:$md5:$sha256 >> >> I think that's good, the other information might come in handy down >> the road. One thing you might want to consider is to put the md5 sum >> at the end, since at some point down the road (maybe years from now, >> but still ...) we're likely to drop md5 altogether. > > Better still would be: > > @comment DISTFILE:[':' =]* > > eg: DISTFILE:foo:SIZE=1234:MD5=...:SHA256=... > > Relying on the specific position of an item in a delimited list almost > always comes back and bites in painful spots later on down the way. > Minimal extra parsing required by consumers, and bits and pieces can be > added/removed almost at will. Personally I think this is overkill, but I won't argue against it. Doug -- This .signature sanitized for your protection