From owner-freebsd-ports@FreeBSD.ORG Wed Jan 18 17:31:44 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 3D0BD16A41F for ; Wed, 18 Jan 2006 17:31:44 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from centrmmtao03.cox.net (centrmmtao03.cox.net [70.168.83.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C85043D53 for ; Wed, 18 Jan 2006 17:31:43 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by centrmmtao03.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060118173142.KNGT613.centrmmtao03.cox.net@mezz.mezzweb.com>; Wed, 18 Jan 2006 12:31:42 -0500 To: vd@datamax.bg References: <20060118095742.GA1854@qlovarnika.bg.datamax> Message-ID: From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Wed, 18 Jan 2006 11:33:06 -0600 In-Reply-To: <20060118095742.GA1854@qlovarnika.bg.datamax> User-Agent: Opera M2/8.51 (Linux, build 1462) Cc: freebsd-ports@freebsd.org Subject: Re: Add distinfo in +CONTENTS? 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, 18 Jan 2006 17:31:44 -0000 On Wed, 18 Jan 2006 03:57:42 -0600, Vasil Dimov wrote: > On Tue, Jan 17, 2006 at 09:25:23PM -0600, Jeremy Messenger wrote: >> Hello folks, >> >> What do anyone think of add distinfo (filename, md5, sha256 and size) in >> the +CONTENTS? > > As I see the idea of the +CONTENTS file is to store what the port has > installed, but the original archive has nothing to do with that. So I > guess +CONTENTS is not the appropriate place for this. Good point, go with +DISTINFO. Cheers, Mezz >> I think it will gaining more features for our third party apps to use it >> such as portupgrade, portmaster, and etc can clean the old or un-use >> tarballs in the distfiles more correct. Also, maybe add a new flag in >> pkg_add that can display the full info that look like distinfo, so if >> author, developer or whatever want to know what kind of tarball you have >> used in case if they re-rolled tarball w/out have your or maintainer >> knowledge. > > It seems a good idea to have the distinfo stored somewhere in > /var/db/pkg/appname/ -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org