CVSROOT:        /cvs
Module name:    src
Changes by:     es...@cvs.openbsd.org   2019/12/04 03:47:38

Modified files:
        usr.sbin/pkg_add/OpenBSD: PkgAdd.pm 

Log message:
add DEBUG_PKG_CACHE functionality. Doesn't interfere with normal operation.

Basically, if you set DEBUG_PKG_CACHE to a directory, pkg_add will download
debug packages "on the sly" any time it installs packages. It is mostly
silent (apart from fetching error or directory non existent).
It *won't* download packages that are already installed, but this allows
keeping debug packages "just in case" in synch with your current snapshot,
as some people (mpi@) have worried that by the time you get to debugging
something, the snapshots will have moved too much.

Reply via email to