man, misc, and text sets (i.e. all non-X11 sets).
This support currently allows two make(1) targets to be executed from
src/distrib/syspkg/sets:
a.) `make register' will register the existing system as packages.
This willl allow the version of software on the current system
to be queried with
PKG_DBDIR=/var/db/syspkg pkg_info
and individual packages to be deleted with
PKG_DBDIR=/var/db/syspkg pkg_delete <pkgname>
b.) `make package' will create binary packages from the existing
system (or from the contents of ${DESTDIR}, if ${DESTDIR} is
set). These packages can be taken to another system, and
installed with
PKG_DBDIR=/var/db/syspkg pkg_add <pkgname>
to update or install specific packages.
The need to explicitly specify the syspkg PKG_DBDIR will be replaced with a
flag for the various pkg tools in the next few days.
This is the latest version of <bsd.syspkg.mk>, and forms the basis of
NetBSD System Packages (syspkg). Further development of this codebase
will occur within TNF's cvs repository, and copyright will be assigned
to TNF when the relevant paperwork is complete.