Subject: Re: pkg_chk for remote binary packages
To: Hubert Feyrer <>
From: Dieter Baron <>
List: tech-pkg
Date: 12/06/2005 00:08:47
On Mon, Dec 05, 2005 at 11:46:03PM +0100, Hubert Feyrer wrote:
> On Mon, 5 Dec 2005, Dieter Baron wrote:
> >the attached patch allows pkg_chk to work on remote binary packages.
> >On the machine that holds the packages, run
> >	pkg_chk -S -b <binary_package_directory>
> >to create a summary file, which is fetched by pkg_chk when working
> >with remote packages.
> >
> > Please review and test.  I would like to get this committed before
> >the branch.
> Er, how does this interact with bulk building and uploading?
> While I think this is a very important thing to have (what you did),
> it has to be integrated into the bulk build & upload process
> somehow to make it easy to use.
> The "machine with the binary pkgs" is most likely
> What modifications do you suggest for pkgsrc/mk/bulk/*upload* and 
> pkgsrc/doc/guide/files/* to integrate this properly?
> Will that version of pkg_chk will be available on the NetBSD FTP server 
> (which may be a problem and need further communication between bulk 
> builders and admins), or can the file be created before uploading (see 
> pkgsrc/mk/bulk/*upload*)?

  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.)