Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2006 21:04:22 +0200
From:      Vasil Dimov <vd@datamax.bg>
To:        Jean-Yves Lefort <jylefort@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: portsearch: approach to finding ports that provide a given file
Message-ID:  <20060117190422.GA40220@qlovarnika.bg.datamax>
In-Reply-To: <20060117154434.01ccd2ea.jylefort@FreeBSD.org>
References:  <20060117094805.GA94247@qlovarnika.bg.datamax> <20060117154434.01ccd2ea.jylefort@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <vd@datamax.bg> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060117190422.GA40220>