From owner-freebsd-ports@FreeBSD.ORG Mon May 24 06:32:16 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7978316A4CE for ; Mon, 24 May 2004 06:32:16 -0700 (PDT) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B108543D31 for ; Mon, 24 May 2004 06:32:15 -0700 (PDT) (envelope-from danfe@regency.nsu.ru) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.30) id 1BSFYI-0004pT-OU; Mon, 24 May 2004 20:31:38 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.12.10/8.12.10) with ESMTP id i4ODXqAT042651; Mon, 24 May 2004 20:33:52 +0700 (NOVST) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.12.10/8.12.10/Submit) id i4ODXqFB042579; Mon, 24 May 2004 20:33:52 +0700 (NOVST) (envelope-from danfe) Date: Mon, 24 May 2004 20:33:52 +0700 From: Alexey Dokuchaev To: Garance A Drosihn Message-ID: <20040524133351.GA36711@regency.nsu.ru> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: freebsd-ports@freebsd.org Subject: Re: Third "RFC" on on pkg-data ideas for ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2004 13:32:16 -0000 On Mon, May 24, 2004 at 12:07:34AM -0400, Garance A Drosihn wrote: > c) [minor] in the pkg-data section for distinfo, I'd > like to change the format for each file from, eg: > MD5 (bash-2.05b.tar.gz) = 5238251b4926d778dfe162f6ce729733 > SIZE (bash-2.05b.tar.gz) = 1956216 > to > 5238251b4926d778dfe162f6ce729733 1956216 bash-2.05b.tar.gz Hmm, this is gonna be hard for possible usage of non-MD5 hashing schemes. See NetBSD pkgsrc collection for examples. I personally see nothing wrong with current format of ``distinfo''. It is readable, easily extendible, and compact at the same time. Plus, it's coherent with md5(1) output. > > So it collapses most standard files into the pkg-data file, and > collapses the patch-related files for a given port into files > such as: ports/Patches/shells/patches-bash2. This will not ^^^^^^^^ Do you really need this ``patches-'' prefix here? This way you spell out ``[Pp]atches'' twice in a path. Thanks for doing this. Keep up a good work. ./danfe