Subject: Re: pkg_chk for remote binary packages
To: Hubert Feyrer <>
From: Dieter Baron <>
List: tech-pkg
Date: 12/06/2005 10:44:28
On Tue, Dec 06, 2005 at 02:16:40AM +0100, Hubert Feyrer wrote:
> On Tue, 6 Dec 2005, Dieter Baron wrote:
> > The file can be created before uploading.  The easiest way is
> >probably to install pkg_chk at the end of a bulk build, run it with -S
> >and upload the pkg_chk-summary file together with the binary packages.
> >I'll look at implementing this (unless someone beats me to it.)
> I see... is the format of this file documented somehow?

  It's simply lines of the format
which is the format used internally by pkg_chk.

> ISTR there used to be a "make index" which created something similar that 
> was (is?) used on FreeBSD for package downloads by their installer.
> Having only one such file around may make things a lot easier, and given 
> that iMil's working on a very similar feature, working with him on the 
> format of that file would probably be good.

  Indeed, as would be working with Jeremy's index generation.  But
that takes time, and this patch works *now*.  I would like to have
that feature in the 2005Q4 branch.  We can always migrate pkg_chk to
use the common format once it is fixed.

> As well as (of course) documenting its existance and format for future 
> tools, which will likely pop up and use that file.

  It is rather pkg_chk specific.  For future tools, using Jeremy's
file format is probably better.  Documenting the file's format and
name in the pkg_chk man page is a good idea, though.