Subject: Re: creating pkg_summary after each bulk build
To: Jeremy C. Reed <reed@reedmedia.net>
From: Dieter Baron <dillo@danbala.tuwien.ac.at>
List: tech-pkg
Date: 03/19/2007 00:14:19
In article <Pine.NEB.4.64.0703171934470.2550@glacier.reedmedia.net> Jeremy wrote:
: On Sat, 17 Mar 2007, Dieter Baron wrote:

: >   pkg_chk uses it for remote packages.  And just because the result of
: > a bulk build is not uploaded does not mean they are note served via
: > ftp/http.

: Can you please share an example of using this to install a package? And to 
: upgrade some packages?

  Simply use ``-b -P URL'' where URL is where the binary packages are
(e.g. ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD-3.1/i386/All), as in

	pkg_chk -b -P URL -u

or
	pkg_chk -b -P URL -a -C pkg_chk.conf

: Can you use pkg_chk without pkgsrc tree?

  Yes, if -b and -P is given, no pkgsrc tree is used.  If packages are
on the local machine, they are scanned directly, otherwise pkg_summary
is fetched.  (Using pkg_summary for local packages is on the TODO
list).

: If you or anyone here can provide some examples with output, it would much 
: be appreciated. (And I will update the wiki page about that.)

:   Jeremy C. Reed

						yours,
						dillo