From owner-freebsd-ports@FreeBSD.ORG Sun May 6 07:46:11 2007 Return-Path: X-Original-To: freebsd-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 DB22116A400 for ; Sun, 6 May 2007 07:46:11 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by mx1.freebsd.org (Postfix) with ESMTP id BA10513C465 for ; Sun, 6 May 2007 07:46:11 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l467kB23014263 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 6 May 2007 00:46:11 -0700 X-Auth-Received: from [192.168.10.45] (c-67-187-164-17.hsd1.ca.comcast.net [67.187.164.17]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l467k9r1015781 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 6 May 2007 00:46:10 -0700 Message-ID: <463D87E7.9080903@u.washington.edu> Date: Sun, 06 May 2007 00:46:47 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: freebsd-ports Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.6.2436 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __STOCK_SYMBOL1 0, __STOCK_SYMBOL_X1 0, __USER_AGENT 0' Subject: Question about fields in INDEX files 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: Sun, 06 May 2007 07:46:11 -0000 Hello all, As part of my Google SoC project I'm taking a look at INDEX-{ver} and revising it to fit Berkeley DB objects combined with pkg_*, much like pkgdb does. I have a few questions about the meanings of the fields though and their use. I'm using net/DarwinStreamingServer as an example, because it's short, and contains all of the fields I could find present in all of the INDEX entries, and this comes from INDEX-7, not INDEX-5 or INDEX-6. ======= Entry: ======= DarwinStreamingServer-5.5.4_1|/usr/ports/net/DarwinStreamingServer|/usr/local|Darwin Streaming Server, a MP3, MPEG4 and QuickTime streaming server|/usr/ports/net/DarwinStreamingServer/pkg-descr|nork@FreeBSD.org|net||p5-Net-SSLeay-1.30_1 perl-5.8.8|http://developer.apple.com/darwin/projects/streaming/||| ======= The fields are as following (separated by pipes): 1. [Port name (without category)]-[version][{:_revision}] 2. Full path to port. 3. Installation prefix (?) 4. Comment 5. Full path to pkg-descr file 6. Maintainer 7. Category 8. [unknown] -- blank field 9. Direct dependencies 10. Developer's / Project's Webpage 11., 12. [unknown] (x2) -- blank fields ======= If someone can correct me on the meanings of these fields, that would be fantastic. Also, if someone can help me discover the secret identities of some of the unknown fields (in particular the last 2 blank fields), that would be helpful as well. I understand that the majority of these lines do come from the Makefiles, but I'm not sure what additional fields could be involved in this. Also, I was wondering if fields 3. and 5. are really necessary in the INDEX file. 3. can be user specified, or default to a particular value. Also, 5. can be automatically assumed to {2.}/pkg-descr in all cases that I've seen. So, given this observation is there any real case that this assumption would be false? Thanks for any and all help! -Garrett