From owner-freebsd-ports@FreeBSD.ORG Tue Jan 17 19:04:23 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 BA50816A41F; Tue, 17 Jan 2006 19:04:23 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C3C543D46; Tue, 17 Jan 2006 19:04:23 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2]) by jengal.datamax.bg (Postfix) with SMTP id 41DC9B832; Tue, 17 Jan 2006 21:04:22 +0200 (EET) Received: (nullmailer pid 54470 invoked by uid 1002); Tue, 17 Jan 2006 19:04:22 -0000 Date: Tue, 17 Jan 2006 21:04:22 +0200 From: Vasil Dimov To: Jean-Yves Lefort Message-ID: <20060117190422.GA40220@qlovarnika.bg.datamax> References: <20060117094805.GA94247@qlovarnika.bg.datamax> <20060117154434.01ccd2ea.jylefort@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <20060117154434.01ccd2ea.jylefort@FreeBSD.org> X-OS: FreeBSD 6.0-STABLE User-Agent: Mutt/1.5.11 Cc: freebsd-ports@freebsd.org Subject: Re: portsearch: approach to finding ports that provide a given file X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@datamax.bg List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2006 19:04:23 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 17, 2006 at 03:44:34PM +0100, Jean-Yves Lefort wrote: > On Tue, 17 Jan 2006 11:48:05 +0200 > Vasil Dimov wrote: >=20 > > Some ports generate their plists after being installed, making it > > impossible to record the plist without fetching the source tarballs, > > compiling and installing the software. Currently for these ports empty > > or flawed plists are recorded. One way to fix this problem is to > > retrieve the plists for these ports from the precompiled packages > > available at ftp.freebsd.org but the whole packages need to be fetched, > > causing (large) amount of unefficient network traffic. > > Any ideas for resolving the problem are welcome. >=20 > The package building scripts (Tools/portbuild) could be modified to > create pkgname-metadata.tbz files and make them available on the > FreeBSD ftp site. An utility which would retrieve these files and > maintain a database could then be created. Said utility could be run > by end users on their home machines, as well as by some machine on the > FreeBSD cluster which would maintain a database queryable through > www.FreeBSD.org. This approach requires coordination with the package > building and www people. Here are some numbers: Currently the list of all the plist files is 64M, without any trace which port each file belongs to. When each plist file is prepended with port number (1-14004) the list becomes 72M, when bzip2ed it becomes 6M, but then split into 14000 separate files and each one bzip2ed separately then all 14000 archives are 28M. --=20 Vasil Dimov --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFDzT+2Fw6SP/bBpCARAqbPAJwI7byZ9Bkm2d/DPvukeiY8n5nrlACeNRXU ltmhSQccstDGsCa8S1OJvVQ= =92Y4 -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--